The resolver does support XCatalogs [1] though I don't think it's well documented how to use it for that purpose. If you have questions about using it you should ask them on [EMAIL PROTECTED]
Thanks. [1] http://xml.apache.org/commons/components/apidocs/resolver/org/apache/xml/resolver/readers/XCatalogReader.html Subbarao Cheekatimarla <[EMAIL PROTECTED]> wrote on 10/13/2005 01:13:31 AM: > Hi all > > I am upgrading my application from Xerces 1.4.4 to Xerces 2.7. > 0. As part of that I am using XML Commons for Catalog reslovers > (because Xerces 2.7.0 is not providing API to load the XML Catalog). > Previously my application support XCatalogs (by using "org.apache. > xerces.readers.XCatalog" loading the catalogs) and I want to make > the upgrading application also supports XCatalogs. > > > The XCatalog file looks like > <XCatalog Version = "1.0"> > <Remap SystemID = http://www.bbc.co. > uk1/syndication/feeds/news/rss-0.91.dtd HRef = "file:/E: > /Repackage/rss-0.91.dtd" /> > </XCatalog> > > I am trying to load the above file by using XML Commons and unable > to load. But I wrote the equal "oasis" catalog file and able to load it. > > The XCatalog file looks like > > <?xml version="1.0" encoding="UTF-8"?> > <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> > <system systemId=http://www.bbc.co. > uk1/syndication/feeds/news/rss-0.91.dtd uri="./rss-0.91.dtd"/> > </catalog> > > Is there any way to load the XCatalogs using XML Commons? > > Thanks, > chvsr Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
