[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Catalog file to use local version of dtd
Owen You are absolutely correct, changing systemid to systemId does the trick. I changed other stuff along the way to get this working (which may or may not have also made the difference too) so if anyone is interested, my final catalog.xml file looked like this (covering two possible dtd locations, different to original simplified code): <?xml version="1.0" encoding="UTF-8"?> <catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <system systemId="file://nastntx95001/common/Users/data/Maryellen.Guth/My%20Documents/Temp/LTBNA/Prod%20XML%20App/group-xml.dtd" uri="file:///D:/Content/MTG/xml/group-xml.dtd"/> <system systemId="file://nastntx95001/common/Users/data/Maryellen.Guth/My%20Documents/MTG08_David/LTBNA/Prod%20XML%20App/group-xml.dtd" uri="file:///D:/Content/MTG/xml/group-xml.dtd"/> </catalog> and my final command line (character > inserted to aid readability): <!-- EXISTING COMMAND LINE --> java -Xms512m -Xmx512m -DentityExpansionLimit=100000 > <!-- ADDITION TO COMMAND LINE TO USE CATALOG.XML --> -Dxml.catalog.files=file:///D:/Content/MTG/xml/catalog.xml -Dxml.catalog.verbosity=1 > <!-- EXISTING COMMAND LINE --> net.sf.saxon.Transform <!-- ADDITION TO COMMAND LINE TO USE CATALOG.XML --> -r org.apache.xml.resolver.tools.CatalogResolver > -x org.apache.xml.resolver.tools.ResolvingXMLReader > -y org.apache.xml.resolver.tools.ResolvingXMLReader > <!-- EXISTING COMMAND LINE --> -o D:/Content/MTG/html/mtg_00.htm D:/Content/MTG/xml/mtg.xml mtg.xsl Thanks again for the help. Mark > Attribute names are case sensitive so you might try systemId instead of > systemid.
|
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
|