[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

Subject: Re: Catalog file to use local version of dtd
From: Mark <charltonrainbird@xxxxxxxxxxxxxx>
Date: Tue, 18 Nov 2008 18:19:59 +0000
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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.