Entity substition in non-validating parsers (was RE: EMBED and validation)

Tim Bray tbray at textuality.com
Mon Dec 1 20:00:34 GMT 1997


At 02:29 PM 01/12/97 -0500, Rob McDougall wrote:
>Now I understand about external entities(or at least I think I do :) ).
>This raises another question.  In using the "C" version of the MSXML
>processor, I've found 

First of all, at this point in history we should be charitable to the
various XML processors, which have had to track the successive versions
of the spec.  

Having said that, as recently reported, we changed the rules to do
two things:
(a) simplify the internal subset (only simple PE's, which can be
    ignored by a non-validating processor)
(b) require all conforming processors to use <!ATTLIST and internal
    <!ENTITY declarations in the internal subset

So, barring any last-second changes, you can send a chunk of XML
containing an internal subset to any conforming XML processor, and
expect it to do your attribute defaults and entity replacements
properly.

Lark serves as proof-by-existence that this need not slow down a
processor too drastically.   In fact, speaking from personal experience,
it's not even that hard. -T.

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/
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