XML Torture Test: Parsers Fail
David Megginson
david at megginson.com
Wed Apr 7 16:32:01 BST 1999
Richard L. Goerwitz writes:
> 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.
You could check them for well-formedness (I guess), but you could not
validate them out of context -- the contents of an external parsed
general entity might be valid at one reference point and invalid at
another.
For external parsed parameter entities, again, you could check that
the declarations are well-formed, but you cannot do much else out of
context.
All the best,
David
--
David Megginson david at megginson.com
http://www.megginson.com/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at 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 at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list