lakeview ok % xsltproc \
-o html/lot.001/lot.001-a.html \
--param annotate 'true()' \
--stringparam db.chunk.basename lot.001-a \
--stringparam db.chunk.max_depth 0 --stringparam theme.icons.base_url ../../../../icons/hicolor/48x48/status/ --stringparam theme.icons.watermark.code ../../../../icons/hicolor/watermarks/watermark-code.png --param db.chunk.chunk_top 'false()' db2html.xsl lot.001.xml
error: file ../../xslt/docbook/common/db-label.xsl line 702 element number
xsltCompilePattern : failed to compile ' appendix db:chapter '
error: file ../../xslt/docbook/common/db-label.xsl line 702 element number
xsltCompilePattern : failed to compile ' appendix db:chapter '
Unmatched element: sidebar
error: file ../../xslt/docbook/common/db-label.xsl line 702 element number
xsltCompilePattern : failed to compile ' appendix db:chapter '
bmc@lakeview:~/checkouts/yelp-xsl/test/testdocs
(2010-03-13/19:39:02)(pts/5)(ac+98%)(ok)
lakeview ok %
Notice that the latter prompt says "(ok)" and "lakeview ok", which means
that the program exited successfully. xsltproc is documented to exit 5
in this case. It is not *as* important to me that xsltproc exits with a
specific error code as that it exits unsuccessfully; I'm testing changes
to a set of stylesheets via a makefile and need failures to be fatal.
If you need the stylesheets and testcases, please see commit
6bbe97367ddc0916db02e8825ecc0af002080ac5 from
git://castro.crustytoothpaste.net/bmc/repo/yelp-xsl.git (branch
docbook5).