OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML Torture Test: Parsers Fail

[ Lists Home | Date Index | Thread Index ]
  • From: roddey@us.ibm.com
  • To: xml-dev@ic.ac.uk
  • Date: Mon, 19 Apr 1999 15:49:25 -0600




>> I don't see anything in the spec that says "don't read and validate
>> external parsed entities if they're not used."  And in fact, the spec
>> seems to say that, in order to be valid, they must (whether used or not)
>> match certain productions in the grammar.
>
>Surely the question a validating parser is supposed to answer is not
>whether the external parsed entities are valid, but whether the
>*document* is valid.
>

I agree with the latter myself. Once again, sorry for the late
contributions, I just got back from my so called vacation (in which the
weather totally sucked until I came back :-)

I could see the utility in having a specific flag on your implementation to
force such 'heavy' validation, but I would argue against being forced to
scan it if its not even referenced in all cases. It would be  a nice tool
for DTD developers to use before putting out the DTD.

But I probably wouldn't want my file, which only used 10% of some heavy
duty DTD/Schema, to have to pay the cost to fully validate the DTD/Schema
every time I used it, just to make sure for the one millionth time today
that it was fully correct.



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS