This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Platform: RedHat 8.0, IBM Java2 1.3.1 saxon 6.5 apache (Sun?) resolver 1.0 DocBook XML 4.1.2 (native to RedHat 8) DocBook XSL 1.60.1 (from an RPM created by myself) When I try building my documents, I get error messages about the dbnotnx.mod file not being found in the document directory. This seems to be the same problem discussed in this email thread: http://www.biglist.com/lists/xsl-list/archives/200301/threads.html#00011 However, the fix suggested by Dave Pawson in this thread doesn't work for me. Is there anything else I could try? The fix was to include the docbook.cat file with the construct <group prefer="public" xml:base="/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-14/" > <nextCatalog catalog="docbook.cat"/> </group> instead of <nextCatalog catalog="/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-14/docbook.cat"/> FWIW using saxon with XML Catalogs works for me on RedHat 7.2 and debian testing/unstable, albeit with different XML Catalog files. The current RedHat 8.0 catalog file started out as the RedHat 7.2 catalog file. I've included the error messages I get when I try to build HTML and FO from a simple document, and I've attached the catalog file I use on RedHat 7.2, the catalog file I use on RedHat 8.0, and the CatalogManager.properties file I use on RedHat. Thanx! - Steinar cd ~/cvs/projects/tps/doc/xml/simplebook/ make -k time java -cp ..:/usr/share/java/classes/saxon/saxon.jar:/usr/share/sgml/docbook/xsl-stylesheets/extensions/saxon65.jar:/usr/share/sgml/docbook/xsl-stylesheets/extensions/resolver-1.0.jar com.icl.saxon.StyleSheet -x org.apache.xml.resolver.tools.ResolvingXMLReader -y org.apache.xml.resolver.tools.ResolvingXMLReader -r org.apache.xml.resolver.tools.CatalogResolver -o simplebook.html simplebook.xml ../local-html.xsl Error on line 66 column 1 of file:/home/sba/cvs/projects/tps/doc/xml/simplebook/simplebook.xml: Error reported by XML parser: Cannot read from file:/home/sba/cvs/projects/tps/doc/xml/simplebook/dbnotnx.mod (/home/sba/cvs/projects/tps/doc/xml/simplebook/dbnotnx.mod (No such file or directory)) Transformation failed: Run-time errors were reported Command exited with non-zero status 2 12.60user 0.48system 0:19.30elapsed 67%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (2894major+14374minor)pagefaults 0swaps make: *** [simplebook.html] Error 2 time java -cp ..:/usr/share/java/classes/saxon/saxon.jar:/usr/share/sgml/docbook/xsl-stylesheets/extensions/saxon65.jar:/usr/share/sgml/docbook/xsl-stylesheets/extensions/resolver-1.0.jar com.icl.saxon.StyleSheet -x org.apache.xml.resolver.tools.ResolvingXMLReader -y org.apache.xml.resolver.tools.ResolvingXMLReader -r org.apache.xml.resolver.tools.CatalogResolver -o simplebook.fo simplebook.xml ../local-fo.xsl Error on line 66 column 1 of file:/home/sba/cvs/projects/tps/doc/xml/simplebook/simplebook.xml: Error reported by XML parser: Cannot read from file:/home/sba/cvs/projects/tps/doc/xml/simplebook/dbnotnx.mod (/home/sba/cvs/projects/tps/doc/xml/simplebook/dbnotnx.mod (No such file or directory)) Transformation failed: Run-time errors were reported Command exited with non-zero status 2 12.66user 0.41system 0:19.46elapsed 67%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (2894major+13683minor)pagefaults 0swaps make: *** [simplebook.fo] Error 2 make: Target `all' not remade because of errors. Compilation exited abnormally with code 2 at Wed Mar 12 15:03:21
Attachment:
catalog-redhat.xml
Description: XML Catalog file used on RedHat 7.2
Attachment:
catalog-redhat.xml
Description: XML Catalog file used on RedHat 8.0
Attachment:
CatalogManager.properties
Description: Catalog resolver properties used on RedHat 7.2 and 8.0
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |