Description of Problem: The return code of xsltproc is often zero even when there is an error. Version-Release number of selected component (if applicable): libxml2-2.4.10-2 libxslt-1.0.7-4 How Reproducible: 100% For example: 1. xsltproc no-file no-file; echo $? 2. xsltproc \ http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl \ no-file; echo $? There are many other cases too. This makes it hard to use xsltproc from a script.
Okay I commited a fix to this. The list of xsltproc return codes are now the following: 0: normal 1: no argument 2: too many parameters 3: unknown option 4: failed to parse the stylesheet 5: error in the stylesheet 6: error in one of the documents 7: unsuppoted xsl:output method http://cvs.gnome.org/bonsai/cvsquery.cgi?module=libxslt&branch=HEAD&branchtype=match&dir=libxslt&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=11%2F26%2F01+15%3A45&maxdate=11%2F26%2F01+15%3A47&cvsroot=%2Fcvs%2Fgnome I will push a package with this update soon, Daniel
Great, work fine. Thanks.
Okay, will close when John Fleck will have updated the man page (expected today), Daniel
Okay next version will have complete fix and docs for this The current rawhide has the fix thanks ! Daniel