Peter Donald <[EMAIL PROTECTED]> wrote on 24/03/2002 09:35:46 PM: > On Sun, 24 Mar 2002 20:01, [EMAIL PROTECTED] 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
