ANNOUNCEMENT: Proposed SAX Revisions

Peter Murray-Rust peter at ursus.demon.co.uk
Sat Mar 21 12:54:13 GMT 1998


David G. Durand wrote:
 > 
 > Please, please, please, allow me a way to find out if an element was
 > "empty". (i.e. written <e/>). I use this information when I write DTDs, and
 > intend to continue doing so. I also know, from the long discussions in the
 > XML-SIG that I am not alone in using this syntax to represent a distinction
 > that I want preserved and detectable by applications.
 > 
Whatever the desirability of this - and I'm neutral - my understanding is
that currently the spec makes no distinction between <e></e> and </e>. IOW
documents differ only in the byte stream and not in the result of parsing.
An analogy is that
Lord's and Lord&apos;s
are completely equivalent. I therefore think it would be incorrect and
misleading for SAX to implement this - sorry.

	P.


                          
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg

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