Hey Michael,
Sure - that's true for validating.
But I'm talking about non-validating processing.
For example, Xerces is a dual mode parser: it can operate in validating
mode, or in non-validating (well-formedness checking) mode.
In non-validating mode, if standalone='yes' there is by definition
no
On February 16, 2005, Gareth Reakes wrote:
>> In a standalone='yes' case with an external DTD, the author(s)
>> are implicitly saying:
>> 1) the DTD is useful for validation
>> 2) the DTD is not required for well-formedness checking
>>and its processing would not modify document inf
Hey,
When standalone='yes', there can be no declarations in the external
subset that (as you say) would [allow Xerces to] "detect
well-formedness
errors that it might otherwise miss and supply the same document
information
to the application that a validating parser would."
Presumably the DTD is
[WRT Gareth Reakes' original observation "XML Parsers still have to resolve
the DTD for entities, even if you don't want to do validation."]
Jesse Pelton wrote on January 28, 2005:
> I think that's correct. Non-validating parsers are allowed to process
> external entities; they're just not requi
iday, January 28, 2005 3:20 AM
> To: xerces-c-dev@xml.apache.org
> Subject: Re: How can I ignore DTD in an XML file
>
> On Thu, Jan 27, 2005 at 10:05:15AM +, Gareth Reakes wrote:
> > XML Parsers still have to resolve the DTD for entities, even if you
> > don't want to do
On Thu, Jan 27, 2005 at 10:05:15AM +, Gareth Reakes wrote:
> XML Parsers still have to resolve the DTD for entities, even if you
> don't want to do validation.
Why? If I want to validate using a W3C XML Schema, why do I have to
read the DTD? Are you suggesting that Xerces will read the exte
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? Th