[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Catalogs with Saxon
Hi,
I'm having a spot of bother with Catalogs and Saxon. Can anyone help? The problem is that it doesn't seem to be picking up CatalogManager.properties and isn't looking for the dtds locally. Well I think that's the problem. There is no output signalling failure from resolver, no matter where the catalog path points to or whether the locations of the local DTDs are correctly specified or not. Saxon gives the same output regardless. To call Saxon this is used java net.sf.saxon.Transform -u -x org.apache.xml.resolver.tools.ResolvingXMLReader -y org.apache.xml.resolver.tools.ResolvingXMLReader -r org.apache.xml.resolver.tools.CatalogResolver Classpath is set to /opt/programming/java/resolver:/opt/programming/java/resolver/resolver-1.0.jar:/opt/programming/java/saxon/saxon-7.6.5a/saxon7.jar: CatalogManager.properties looks like catalogs=/opt/programming/java/resolver/xhtml-catalog.xml relative-catalogs=yes static-catalog=yes catalog-class-name=org.apache.xml.resolver.Resolver verbosity=4 and is located in /opt/programming/java/resolver This is the catalog
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <group prefer="public" xml:base="file:///opt/web/standards" > <public publicId="-//W3C//DTD XHTML 1.0 Strict//EN" uri="xhtml-1.0/DTD/xhtml1-strict.dtd"/> <system systemId="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" uri="xhtml-1.0/DTD/xhtml1-strict.dtd"/> <public publicId="-//W3C//DTD XHTML 1.0 Transitional//EN" uri="xhtml-1.0/DTD/xhtml1-transitional.dtd"/>
</group> </catalog> Cheers, Chris XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|