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

David Megginson david at megginson.com
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
elaborate?


Thanks, and 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