Hi,

XML Parsers still have to resolve the DTD for entities, even if you don't want to do validation.

Cheers,

Gareth

On 26 Jan 2005, at 23:12, Xiaofan Zhou wrote:

Hi, All,

Is there a feature that I can simple set to turn off the default
behavior to resolve a DTD entity included in an XML file? The DTD is
included in an XML using:

       <!DOCTYPE l1 SYSTEM "some.dtd">

I tried setValidationScheme(DOMParser::Val_Never), but it still try to
find the DTD, which failed. I know I can implemented a EntityResolver to
ignore it, but is there a better way? I am using xerces 1.7, BTW.


Thanks in advance.

Frank




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



--
Gareth Reakes, Managing Director      Parthenon Computing
+44-1865-811184                  http://www.parthcomp.com


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



Reply via email to