[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: ANNOUNCEMENT: Proposed SAX Revisions

  • From: "David G. Durand" <dgd@c...>
  • To: xml-dev@i..., Peter Murray-Rust <peter@u...>
  • Date: Mon, 23 Mar 1998 12:33:03 -0400

mapa de sax
	From: Peter Murray-Rust <peter@u...>

	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@c...| david@d...
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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.