[xml/sgml-pkgs] Bug#573769: xsltproc: exits successfully on stylesheet error

brian m. carlson sandals at crustytoothpaste.ath.cx
Sat Mar 13 19:50:07 UTC 2010


Package: xsltproc
Version: 1.1.26-2
Severity: normal
File: /usr/bin/xsltproc

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 at 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).

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xsltproc depends on:
ii  libc6                    2.10.2-6        Embedded GNU C Library: Shared lib
ii  libgcrypt11              1.4.5-2         LGPL Crypto library - runtime libr
ii  libxml2                  2.7.6.dfsg-2+b1 GNOME XML library
ii  libxslt1.1               1.1.26-2        XSLT processing library - runtime 

xsltproc recommends no packages.

xsltproc suggests no packages.

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20100313/1fc1d3ff/attachment.pgp>


More information about the debian-xml-sgml-pkgs mailing list