there's empty, and then there's REALLY empty

Henry S. Thompson ht at cogsci.ed.ac.uk
Thu Oct 29 14:49:30 GMT 1998


I'd be interested in reports from validating parsers wrt the
following:

<!DOCTYPE foo [
<!ELEMENT foo (a+)>
<!ENTITY empty ''>
<!ENTITY space ' '>
<!ELEMENT a EMPTY>]>
<foo>
&empty;
<a/>
&space;
<a/>
<![CDATA[]]>
<a/>
<![CDATA[ ]]>
<a/>
</foo>

You might be interested in trying to predict the results BEFORE
running the parser.

nsgmls -wxml -c .../xml.soc

gives a surprising answer, which I'll post tomorrow.

ht

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