> Thanks for the links Tom - I knew that there were open-source
> EntityResolver implementations that supported OASIS catalogs but didn't
> know one was at Apache!
> 
> It should be noted, though, that writing a trivial EntityResolver to
> simply ignore external entities is only about 10 lines, which might be
> better than introducing an external dependency. Of course for more
> flexibility the xml.apache.org classes look to be the way to go..

and about the reinvention of the wheel ;-)

> However ignoring the DTD can potentially change the meaning of a
> document, and so should only be done when the DTD is known to have
> nothing but validation rules in it.

The main reason for the xml-resolver component is AFAIK to allow the
bundling of the DTD while maintaining the full URL i.e. for offline
mode. At least that's what Forrest uses it for.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to