It will handle the DTD when not validating. The issue is whether the DTD is
actually available to parse or not. Is it? The parse will try to open the
DTD even if not validating, because DTDs often have information not related
to validation.

--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
[EMAIL PROTECTED]
http://www.charmedquark.com

"Why put off until tomorrow what you can
put off until the day after tomorrow?"

----- Original Message -----
From: "Fred 17" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 2:26 PM
Subject: Xerces 1.4.0 DOMParser: non-validating parse of an XML doc with a
DOCTYPE line


> I have a document with a DOCTYPE line. I'm trying to parse this doc (using
> DOMParser) to get some values from it. However, for reasons I won't go
into,
> the doc has already been validated, so I'm doing a non-validating parse
> (setDoValidation(false)). The parser seems to get very confused by the
> DOCTYPE, and won't find the rest of the document.
>
> Is there a method on the parser to get it to ignore or otherwise correctly
> handle the DOCTYPE on a non-validating parse?
>
> Thanks.
>
>
> Doug
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to