ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: XML Catalog, DTDs and Schema stuff
Date Sun, 24 Mar 2002 11:07:57 GMT
Peter Donald <peter@apache.org> wrote on 24/03/2002 09:35:46 PM:

> On Sun, 24 Mar 2002 20:01, dion@multitask.com.au wrote:
> > I originally looked at the xml-commons resolver, but it was more 
effort to
> > integrate than the existing code.....feel free anyone!
> 
> Isn't it just
> 
> CatalogResolver catalogResolver = new CatalogResolver();
> 
> catalogResolver.getCatalog().parseCatalog(myCatalogLocation);
> 
> InputSource inputSource = catalogResolver.resolveEntity( publicId, 
systemId );

Nope. If you want to support nested dtd and entities like the existing 
tasks do, first you'll need to build a catalog.

> 
> Seems fairly simple to me ;)

Feel free to patch the existing code. Don't let me stop you :)

> -- 
> Cheers,
> 
> Pete

--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://www.multitask.com.au/developers

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message