Greg Hess wrote:
I had always thought that by simply using a non-validating parser I
could avoid the overhead of fetching the remote dtd and such. But it
Nope. Even if a parser is non-validating, it must do things
like normalize attribute values according to their type. It
can't do this without reading the DTD declarations.
However, there are Xerces-specific features that you can
set that will prevent the external DTD from being fetched
and processed. Specifically, you want the feature:
http://apache.org/xml/features/nonvalidating/load-external-dtd
Please refer to the Features page in the documentation for
information.
--
Andy Clark * [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]