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

Re: SAX LexicalHandler::comment issue

  • From: Richard Tobin <richard@c...>
  • To: xml-dev@l...
  • Date: Fri, 06 Jul 2001 15:23:31 +0100 (BST)

Re: SAX LexicalHandler::comment issue
> I've always been very curious to know what the rationale for that
> is. To me, a major part of what the infoset was supposed to be about
> was to draw the line between logically significant information and
> purely lexical information. The current version fails to achieve this.

(Not an official statement, just my recollection of the history.)

Some people certainly expected the Infoset to draw such a line.  On
the other hand, some people wanted it to contain all the information
that might be needed by an XML editor, much of which is certainly not
"logically significant".  This difference arose in many forms during
the development of the spec.

Eventually, we wimped out and took a more pragmatic approach, making
the usefulness of features to other specifications the primary
criterion for inclusion.  The XPath data model was particularly
important in this, since it has been incorporated either explicitly or
by "transitive closure" in other specs.

So the short answer, which is really of course just a rationalization,
is that comments are in the Infoset because they're in XPath.

-- Richard

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.