ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: XML Catalog, DTDs and Schema stuff
Date Sun, 24 Mar 2002 10:35:46 GMT
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 );

Seems fairly simple to me ;)

-- 
Cheers,

Pete

*-------------------------------------*
| Does the name `Pavlov' ring a bell? |
*-------------------------------------*

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message