[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] saxon: docbookV4.5/docbookx.dtd (No such file or directory)
On Wed, Mar 17, 2010 at 5:40 PM, Keith Fahlgren <abdelazer@gmail.com> wrote: > On Wed, Mar 17, 2010 at 9:30 AM, Mathieu Malaterre > <mathieu.malaterre@gmail.com> wrote: >> 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 > > Do you have a CatalogManager.properties file in your CLASSPATH that > points to your XML Catalog? IIRC, xsltproc always checks > /etc/xml/catalog by default, but Saxon needs to have it specified. > More in Bob Stayton's book: > http://www.sagehill.net/docbookxsl/UseCatalog.html#UsingCatalogsSaxon I believe the file is loaded properly, except the matching does not work in one case. Here is the output when I set verbosity: # cat /etc/xml/resolver/CatalogManager.properties catalogs=/etc/xml/catalog relative-catalogs=yes verbosity=99 prefer=system static-catalog=yes allow-oasis-xml-catalog-pi=yes This leads to: Parse catalog: /etc/xml/catalog Loading catalog: /etc/xml/catalog Default BASE: file:/etc/xml/catalog delegatePublic: ISO 8879:1986//ENTITIES file:///etc/xml/sgml-data.xml DELEGATE_PUBLIC: ISO 8879:1986//ENTITIES file:/etc/xml/sgml-data.xml delegateSystem: /usr/share/sgml/dtd/svg file:///etc/xml/sgml-data.xml DELEGATE_SYSTEM: /usr/share/sgml/dtd/svg file:/etc/xml/sgml-data.xml delegateSystem: http://docbook.org/xml/ file:///etc/xml/docbook-xml.xml DELEGATE_SYSTEM: http://docbook.org/xml/ file:/etc/xml/docbook-xml.xml delegatePublic: -//OASIS//ELEMENTS DocBook file:///etc/xml/docbook-xml.xml DELEGATE_PUBLIC: -//OASIS//ELEMENTS DocBook file:/etc/xml/docbook-xml.xml delegateSystem: http://docbook.org/xml/5 file:///etc/xml/docbook5-xml.xml DELEGATE_SYSTEM: http://docbook.org/xml/5 file:/etc/xml/docbook5-xml.xml delegatePublic: -//OASIS//DTD DocBook XML file:///etc/xml/docbook-xml.xml DELEGATE_PUBLIC: -//OASIS//DTD DocBook XML file:/etc/xml/docbook-xml.xml delegateSystem: /usr/share/sgml/dtd/qaml-xml.dtd file:///etc/xml/sgml-data.xml DELEGATE_SYSTEM: /usr/share/sgml/dtd/qaml-xml.dtd file:/etc/xml/sgml-data.xml delegatePublic: -//GlobalTransCorp//DTD XML Catalogs V1.0-Based Extension V1.0//EN file:///etc/xml/xml-core.xml DELEGATE_PUBLIC: -//GlobalTransCorp//DTD XML Catalogs V1.0-Based Extension V1.0//EN file:/etc/xml/xml-core.xml delegatePublic: -//OASIS//DTD XML Exchange Table Model 19990315 file:///etc/xml/docbook-xml.xml DELEGATE_PUBLIC: -//OASIS//DTD XML Exchange Table Model 19990315 file:/etc/xml/docbook-xml.xml delegateURI: http://docbook.sourceforge.net/release/xsl/ file:///etc/xml/docbook-xsl.xml DELEGATE_URI: http://docbook.sourceforge.net/release/xsl/ file:/etc/xml/docbook-xsl.xml delegateSystem: http://globaltranscorp.org/oasis/catalog/xml/tr9401.dtd file:///etc/xml/xml-core.xml DELEGATE_SYSTEM: http://globaltranscorp.org/oasis/catalog/xml/tr9401.dtd file:/etc/xml/xml-core.xml delegatePublic: -//W3C//DTD SVG file:///etc/xml/sgml-data.xml DELEGATE_PUBLIC: -//W3C//DTD SVG file:/etc/xml/sgml-data.xml delegateSystem: http://docbook.sourceforge.net/release/xsl-ns/ file:///etc/xml/docbook-xsl-ns.xml DELEGATE_SYSTEM: http://docbook.sourceforge.net/release/xsl-ns/ file:/etc/xml/docbook-xsl-ns.xml delegatePublic: -//Norman Walsh//DTD DocBook XML file:///etc/xml/docbook-xml.xml DELEGATE_PUBLIC: -//Norman Walsh//DTD DocBook XML file:/etc/xml/docbook-xml.xml delegatePublic: -//OASIS//DTD DocBook XML 5 file:///etc/xml/docbook5-xml.xml DELEGATE_PUBLIC: -//OASIS//DTD DocBook XML 5 file:/etc/xml/docbook5-xml.xml delegateSystem: http://xml.ascc.net/xml/resource/qaml-xml file:///etc/xml/sgml-data.xml DELEGATE_SYSTEM: http://xml.ascc.net/xml/resource/qaml-xml file:/etc/xml/sgml-data.xml delegatePublic: -//OASIS//ENTITIES DocBook file:///etc/xml/docbook-xml.xml DELEGATE_PUBLIC: -//OASIS//ENTITIES DocBook file:/etc/xml/docbook-xml.xml delegatePublic: +//ISBN 82-7640-023//DTD Frequently Asked Questions//EN file:///etc/xml/sgml-data.xml DELEGATE_PUBLIC: +//ISBN 82-7640-023//DTD Frequently Asked Questions//EN file:/etc/xml/sgml-data.xml delegateURI: http://docbook.sourceforge.net/release/xsl-ns/ file:///etc/xml/docbook-xsl-ns.xml DELEGATE_URI: http://docbook.sourceforge.net/release/xsl-ns/ file:/etc/xml/docbook-xsl-ns.xml delegatePublic: +//IDN faq.org//DTD Frequently Asked Questions file:///etc/xml/sgml-data.xml DELEGATE_PUBLIC: +//IDN faq.org//DTD Frequently Asked Questions file:/etc/xml/sgml-data.xml delegateSystem: http://www.w3.org/Graphics/SVG/1.1/ file:///etc/xml/sgml-data.xml DELEGATE_SYSTEM: http://www.w3.org/Graphics/SVG/1.1/ file:/etc/xml/sgml-data.xml delegatePublic: -//Norman Walsh//DTD CALS Table Model XML file:///etc/xml/docbook-xml.xml DELEGATE_PUBLIC: -//Norman Walsh//DTD CALS Table Model XML file:/etc/xml/docbook-xml.xml delegatePublic: -//Norman Walsh//ELEMENTS DocBk XML file:///etc/xml/docbook-xml.xml DELEGATE_PUBLIC: -//Norman Walsh//ELEMENTS DocBk XML file:/etc/xml/docbook-xml.xml delegateSystem: http://docbook.sourceforge.net/release/xsl/ file:///etc/xml/docbook-xsl.xml DELEGATE_SYSTEM: http://docbook.sourceforge.net/release/xsl/ file:/etc/xml/docbook-xsl.xml delegatePublic: -//OASIS//DTD XML Catalogs V1.0//EN file:///etc/xml/xml-core.xml DELEGATE_PUBLIC: -//OASIS//DTD XML Catalogs V1.0//EN file:/etc/xml/xml-core.xml delegateSystem: http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd file:///etc/xml/xml-core.xml DELEGATE_SYSTEM: http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd file:/etc/xml/xml-core.xml delegateSystem: http://www.w3.org/TR/2001/REC-SVG-20010904/ file:///etc/xml/sgml-data.xml DELEGATE_SYSTEM: http://www.w3.org/TR/2001/REC-SVG-20010904/ file:/etc/xml/sgml-data.xml delegatePublic: -//Norman Walsh//DTD DocBk XML file:///etc/xml/docbook-xml.xml DELEGATE_PUBLIC: -//Norman Walsh//DTD DocBk XML file:/etc/xml/docbook-xml.xml delegatePublic: -//Norman Walsh//ENTITIES DocBk XML file:///etc/xml/docbook-xml.xml DELEGATE_PUBLIC: -//Norman Walsh//ENTITIES DocBk XML file:/etc/xml/docbook-xml.xml delegatePublic: -//Normal Walsh//Exchange Table Model 19960430 file:///etc/xml/docbook-xml.xml DELEGATE_PUBLIC: -//Normal Walsh//Exchange Table Model 19960430 file:/etc/xml/docbook-xml.xml delegateSystem: http://www.oasis-open.org/docbook/xml/ file:///etc/xml/docbook-xml.xml DELEGATE_SYSTEM: http://www.oasis-open.org/docbook/xml/ file:/etc/xml/docbook-xml.xml delegateSystem: http://www.oasis-open.org/docbook/xml/5 file:///etc/xml/docbook5-xml.xml DELEGATE_SYSTEM: http://www.oasis-open.org/docbook/xml/5 file:/etc/xml/docbook5-xml.xml delegatePublic: -//OASIS//DTD DocBook CALS Table Model file:///etc/xml/docbook-xml.xml DELEGATE_PUBLIC: -//OASIS//DTD DocBook CALS Table Model file:/etc/xml/docbook-xml.xml resolveURI(in2.xml) resolveURI(in2.xml) Resolved URI: in2.xml file:////tmp/in2.xml resolveURI(/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl) resolveURI(/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl) Resolved URI: /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl resolveURI(../VERSION) Resolved URI: ../VERSION file:/usr/share/xml/docbook/stylesheet/docbook-xsl/VERSION resolveURI(param.xsl) Resolved URI: param.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/param.xsl resolveURI(../lib/lib.xsl) Resolved URI: ../lib/lib.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/lib/lib.xsl resolveURI(../common/l10n.xsl) Resolved URI: ../common/l10n.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/l10n.xsl resolveURI(../common/common.xsl) Resolved URI: ../common/common.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/common.xsl resolveURI(../common/utility.xsl) Resolved URI: ../common/utility.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/utility.xsl resolveURI(../common/labels.xsl) Resolved URI: ../common/labels.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/labels.xsl resolveURI(../common/titles.xsl) Resolved URI: ../common/titles.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/titles.xsl resolveURI(../common/subtitles.xsl) Resolved URI: ../common/subtitles.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/subtitles.xsl resolveURI(../common/gentext.xsl) Resolved URI: ../common/gentext.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/gentext.xsl resolveURI(../common/olink.xsl) Resolved URI: ../common/olink.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/olink.xsl resolveURI(../common/targets.xsl) Resolved URI: ../common/targets.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/targets.xsl resolveURI(../common/pi.xsl) Resolved URI: ../common/pi.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/pi.xsl resolveURI(autotoc.xsl) Resolved URI: autotoc.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/autotoc.xsl resolveURI(autoidx.xsl) Resolved URI: autoidx.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/autoidx.xsl resolveSystem(file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/entities.ent) resolveURI(lists.xsl) Resolved URI: lists.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/lists.xsl resolveURI(callout.xsl) Resolved URI: callout.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/callout.xsl resolveURI(verbatim.xsl) Resolved URI: verbatim.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/verbatim.xsl resolveURI(graphics.xsl) Resolved URI: graphics.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/graphics.xsl resolveURI(xref.xsl) Resolved URI: xref.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/xref.xsl resolveURI(formal.xsl) Resolved URI: formal.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/formal.xsl resolveURI(table.xsl) Resolved URI: table.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/table.xsl resolveURI(../common/table.xsl) Resolved URI: ../common/table.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/table.xsl resolveURI(htmltbl.xsl) Resolved URI: htmltbl.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/htmltbl.xsl resolveURI(sections.xsl) Resolved URI: sections.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/sections.xsl resolveURI(inline.xsl) Resolved URI: inline.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/inline.xsl resolveSystem(file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/entities.ent) resolveURI(footnote.xsl) Resolved URI: footnote.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/footnote.xsl resolveURI(fo.xsl) Resolved URI: fo.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/fo.xsl resolveURI(fo-rtf.xsl) Resolved URI: fo-rtf.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/fo-rtf.xsl resolveURI(info.xsl) Resolved URI: info.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/info.xsl resolveURI(keywords.xsl) Resolved URI: keywords.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/keywords.xsl resolveURI(division.xsl) Resolved URI: division.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/division.xsl resolveURI(index.xsl) Resolved URI: index.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/index.xsl resolveURI(toc.xsl) Resolved URI: toc.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/toc.xsl resolveURI(refentry.xsl) Resolved URI: refentry.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/refentry.xsl resolveURI(math.xsl) Resolved URI: math.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/math.xsl resolveURI(admon.xsl) Resolved URI: admon.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/admon.xsl resolveURI(component.xsl) Resolved URI: component.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/component.xsl resolveURI(biblio.xsl) Resolved URI: biblio.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/biblio.xsl resolveURI(biblio-iso690.xsl) Resolved URI: biblio-iso690.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/biblio-iso690.xsl resolveURI(glossary.xsl) Resolved URI: glossary.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/glossary.xsl resolveSystem(file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/entities.ent) resolveURI(block.xsl) Resolved URI: block.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/block.xsl resolveURI(task.xsl) Resolved URI: task.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/task.xsl resolveURI(qandaset.xsl) Resolved URI: qandaset.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/qandaset.xsl resolveURI(synop.xsl) Resolved URI: synop.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/synop.xsl resolveURI(titlepage.xsl) Resolved URI: titlepage.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/titlepage.xsl resolveURI(titlepage.templates.xsl) Resolved URI: titlepage.templates.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/titlepage.templates.xsl resolveURI(pagesetup.xsl) Resolved URI: pagesetup.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/pagesetup.xsl resolveURI(pi.xsl) Resolved URI: pi.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/pi.xsl resolveURI(spaces.xsl) Resolved URI: spaces.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/spaces.xsl resolveURI(ebnf.xsl) Resolved URI: ebnf.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/ebnf.xsl resolveURI(../html/chunker.xsl) Resolved URI: ../html/chunker.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunker.xsl resolveURI(annotations.xsl) Resolved URI: annotations.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/annotations.xsl resolveURI(../common/stripns.xsl) Resolved URI: ../common/stripns.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/common/stripns.xsl resolveURI(fop.xsl) Resolved URI: fop.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/fop.xsl resolveURI(fop1.xsl) Resolved URI: fop1.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/fop1.xsl resolveURI(passivetex.xsl) Resolved URI: passivetex.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/passivetex.xsl resolveURI(xep.xsl) Resolved URI: xep.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/xep.xsl resolveURI(axf.xsl) Resolved URI: axf.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/axf.xsl resolveURI(ptc.xsl) Resolved URI: ptc.xsl file:/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/ptc.xsl resolveSystem(file:////tmp/docbookV4.5/docbookx.dtd) resolvePublic(-//OASIS//DTD DocBook XML V4.5//EN,file:////tmp/docbookV4.5/docbookx.dtd) Thx -- Mathieu
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]