[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] catalog file runaround
I had a similar error which with a previous version of DocBook, and it required the following fix (no longer needed though): <!-- Error in DocBook 4.3 requires this. Should be fixed in 4.4 This tag can be modified in case another element from the catalog can't be resolved <public publicId="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4CR2//EN" uri="docbook-xml-4.3/htmltblx.mod"/> --> I had this uncommented in my catalog file, and it took care of things. Not needed with 4.4CR2 and XSL 1.67.2. Not sure if this is your problem but seemed related. Cheers, Tristan --- Tristan J. Fiedler Postdoctoral Fellow - Stein Lab Cold Spring Harbor Laboratory On Apr 8, 2005, at 1:03 PM, Webmaster wrote: > I've been playing around alot to try to get my catalog file to work. > Finally > got somewhere and have been able to narrow it down to one problem: > > "Error on line 66 column 1 of file://C:/XML/SDK/default.xml: > Error reported by XML parser: Cannot read from > file://C:/XML/SDK/dbnotnx.mod (C) > Transformation failed: Run-time errors were reported" > > I don't know why it thinks that dbnotnx.mod should be in that > directory, the > docbook is in c:/docbook/docbookx.dtd... dbnotnx.mod is in > c:/docbook/ent/dbnotnx.mod > > <onemoretest> > If I change my catalogmanager.properities: > from > catalogs=catalog.xml > to > catalogs=catalog.xml;../docbook/docbook.cat > > Then I get the error: > > "Error on line 56 column 1 of file://C:/XML/SDK/default.xml: > Error reported by XML parser: Cannot read from > file://C:/XML/SDK/ent/iso-amsa.ent (C) > Transformation failed: Run-time errors were reported" > </onemoretest> > > > LN > > docbook. 4.1.2 (unmodified), stylesheets 1.68.1, saxon 653 > > ======================================= > DEFAULT.XML FILE: (located in C:\XML\SDK\) > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE book SYSTEM "file:///C:/bogus/docbookx.dtd" [ > > ======================================= > CATALOG FILE: (located in c:\saxon) > > <?xml version="1.0"?> > <!DOCTYPE catalog > PUBLIC "-//OASIS/DTD Entity Resolution XML Catalog V1.0//EN" > > "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> > > <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> > > <!-- $STRUCTDIR$ --> > <rewriteSystem > systemIdStartString="file:///C:/bogus" > rewritePrefix="file:/C:/bogus" /> > > <group prefer="system" xml:base="file:///C:/"> > <system > systemId="file:/C:/bogus/docbookx.dtd" > uri="DocBook/docbookx.dtd"/> > > </group> > > </catalog> > > > ===================================================== > CATALOGMANAGER.PROPERTIES FILE: (located in c:\saxon\) > catalogs=catalog.xml > relative-catalogs=false > static-catalog=yes > catalog-class-name=org.apache.xml.resolver.Resolver > verbosity=2 > > ===================================================== > COMMAND LINE (from a batch file): > java -cp > "c:\saxon\;c:\saxon\saxon.jar;c:\docbook-xsl\extensions\saxon653.jar; > c:\saxo > n\resolver.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 %2 %STYLESHEET% >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]