Validating Entities (was Re: XML Torture Test: Parsers Fail)

David Megginson david at
Wed Apr 7 22:11:53 BST 1999

Richard L. Goerwitz writes:

 > (Incidentally, does it bother anyone else that you can have valid docu-
 > ments that aren't well-formed?  Imagine an external entity used inside
 > an attribute value?  If declared in such a way that a non-validating
 > parser doesn't realize it's external, then the validating parser will
 > reject it as an error (can't have external entities in this context).
 > There are other such cases, although this is the main one that comes
 > to mind.)

This seems to be an example of a well-formed document that's not
valid, not of a valid document that's not well-formed.  Can you

Thanks, and all the best,


David Megginson                 david at

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

More information about the Xml-dev mailing list