Debian Bug report logs - #573769
xsltproc: exits successfully on stylesheet error

version graph

Package: xsltproc; Maintainer for xsltproc is Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>; Source for xsltproc is src:libxslt.

Reported by: "brian m. carlson" <sandals@crustytoothpaste.net>

Date: Sat, 13 Mar 2010 19:51:02 UTC

Severity: normal

Found in version libxslt/1.1.26-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>:
Bug#573769; Package xsltproc. (Sat, 13 Mar 2010 19:51:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to "brian m. carlson" <sandals@crustytoothpaste.ath.cx>:
New Bug report received and forwarded. Copy sent to Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>. (Sat, 13 Mar 2010 19:51:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "brian m. carlson" <sandals@crustytoothpaste.ath.cx>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xsltproc: exits successfully on stylesheet error
Date: Sat, 13 Mar 2010 19:50:07 +0000
[Message part 1 (text/plain, inline)]
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@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
[signature.asc (application/pgp-signature, inline)]

Changed Bug submitter to '"brian m. carlson" <sandals@crustytoothpaste.net>' from '"brian m. carlson" <sandals@crustytoothpaste.ath.cx>' Request was from "brian m. carlson" <sandals@crustytoothpaste.net> to control@bugs.debian.org. (Thu, 03 Feb 2011 20:52:04 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 08:58:48 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.