[
Lists Home |
Date Index |
Thread Index
]
One thing you can try is:
java -cp .;c:\lib\resolver.jar org.apache.xml.resolver.apps.xparse
Usage: org.apache.xml.resolver.apps.xparse [opts] xmlfile
It knows what to do with XML Catalogs. It's part of the XML commons project
at http://xml.apache.org. After you download and unbundle, look in the
source under the apps directory where you will find xparse.
Mike
> -----Original Message-----
> From: Richard Bourner [mailto:rbourner@OpTechSoftware.com]
> Sent: Tuesday, April 01, 2003 7:58 PM
> To: xml-dev@lists.xml.org
> Subject: [xml-dev] oasis xml catalog. how to use?
>
>
> hi,
>
> does someone have an idea why the line defining my catalog
> is not read?
> My catalog file is located in the same directory as my sample.xml
>
> I am using Xerces SAXParser 2.4.0
>
> Is there something special to do so that the catalog declaration
> is taken into account when the parser is in action?
>
>
>
> <!-- Content of sample.xml -->
> <?xml version="1.0"?>
> <?oasis-xml-catalog catalog="./catalog.xml"?>
>
> <!DOCTYPE Book SYSTEM "http://www.site.com/Book.dtd">
> <Book>
> ...
> </Book>
>
>
> Thanks for your help.
>
>
>
> Richard
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
>
|