OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: ANNOUNCEMENT: Proposed SAX Revisions

[ Lists Home | Date Index | Thread Index ]
  • From: "David G. Durand" <dgd@cs.bu.edu>
  • To: xml-dev@ic.ac.uk, Peter Murray-Rust <peter@ursus.demon.co.uk>
  • Date: Mon, 23 Mar 1998 12:33:03 -0400

	From: Peter Murray-Rust <peter@ursus.demon.co.uk>

	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.

Since the spec. explicitly allows this (though under the IMO
misleading name of a "for compatibility" feature) it can't be
"incorrect and misleading" for SAX to implement it. It also means that
SAX is not _required_ to implement it, but then, my plea wasn't
phrased in those terms.

The fact that this is an implementor option does not remove my need to
have the information available. Since this is instance-only
information, I see no reason that SAX can't easily provide it. In
fact, I proposed a simple way to support it that doesn't prevent other
applications from ignoring the distinction.

  -- David
------------------------------------------+----------------------------
David Durand                 dgd@cs.bu.edu| david@dynamicDiagrams.com
Boston University Computer Science        | Dynamic Diagrams
http://www.cs.bu.edu/students/grads/dgd/  | http://dynamicDiagrams.com/
                                          | MAPA: mapping for the WWW



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS