You can write a class that implements org.xml.sax.EntityResolver and returns
an InputSource that "points" to your local DTD copies. Pass this object to
the SAX parser using setEntityResolver.

Elliotte Rusty Harold wrote:

> Is there any way in Xerces I can easily choose a specific DTD/schema to
> validate documents against from within the parser?
>

Reply via email to