[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: saxon: docbookV4.5/docbookx.dtd (No such file or directory)
Hi there, I am trying to understand what so different in how catalog are handled in between xsltproc and saxon (I need to be able to use one or the other). Basically is the following legal: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "docbookV4.5/docbookx.dtd" []> <article> ... I cannot make it work using saxon 6.5.5 on a debian machine. It fails with: java -cp /etc/xml/resolver:/usr/share/java/xml-commons-resolver-1.1.jar:/usr/share/java/docbook-xsl-saxon.jar:/usr/share/java/saxon.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 -u -o toto in2.xml /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl Error Failure reading file:////tmp/in2.xml: /tmp/docbookV4.5/docbookx.dtd (No such file or directory) Transformation failed: Run-time errors were reported However the following is working: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> <article> ... Looking at the catalog I have: $ grep "//OASIS//DTD DocBook XML" /etc/xml/catalog <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML" catalog="file:///etc/xml/docbook-xml.xml"/> $ grep http://www.oasis-open.org/docbook/xml /etc/xml/catalog <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/" catalog="file:///etc/xml/docbook-xml.xml"/> Does this means Saxon does not take into account 'delegatePublic' ? Thanks, -- Mathieu
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]