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

Re: Why the Infoset?

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: xml-dev@l...
  • Date: Tue, 01 Aug 2000 11:21:35 -0400

Re: Why the Infoset?
At 07:48 AM 8/1/00 -0700, Joe English wrote:
>It seems to me that we already have a 100% complete abstract
>model for XML: the formal grammar in the XML 1.0 Recommendation.
>This assigns a role to every character in the input sequence
>via grammar productions.  A parse tree derived from this grammar
>is also the *minimal* complete representation -- any model that
>doesn't account for every character is by necessity incomplete.

The problem I have with that is that the Infoset isn't just describing a
subset of XML syntax - it's creating an abstract representation of that
syntax.  To keep that abstraction from strangling the potential of the
syntax, I'd much rather see the abstraction provide a full representation
of the syntactic constructs _before_ subsetting it down to 'what comes out
of the parser'.

Too much gets lost in that transition, and leaving it entirely out of the
Infoset will mean it's basically lost for good.

Maybe it's time to strip XML down to the items listed in the Infoset, and
discard everything else, but that seems like a more ambitious idea than the
Infoset is supposed to be.
Simon St.Laurent
XML Elements of Style / XML: A Primer, 2nd Ed.
http://www.simonstl.com - XML essays and books

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.