XML Torture Test: Parsers Fail

David Megginson david at megginson.com
Wed Apr 7 18:56:34 BST 1999


Richard L. Goerwitz writes:

 > Also, parsers, when they check external entities, will have to make
 > temporary copies of their parents' entity tables.  Why?  Because
 > any given external entities may define more entities that it itself
 > uses.  (A typical case would be defining a parameter entity that
 > later gets ex- panded to "INCLUDE").  So we have to keep a record
 > of what's been defined.  On the other hand, if the parent entity
 > never references the external entity, we don't want definitions
 > within the external entity leaking into the parent's tables.  An
 > exception to this is the top- level external DTD entity, which is
 > always "used" and whose definitions we always want to leak back
 > into the parent's tables.

This is a bizarre reading of the spec and certainly not what was
intended.  If you have found language that supports (or even doesn't
specifically preclude) this interpretation, could you suggest what
needs to be fixed in XML 1.1 to make it clearer?


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