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

Re: Why the Infoset?

  • From: John Cowan <jcowan@r...>
  • To: Jonathan Borden <jborden@m...>, "xml-dev@x..." <xml-dev@x...>
  • Date: Thu, 03 Aug 2000 15:47:20 -0400

Re: Why the Infoset?
Jonathan Borden wrote:

> What we mean by "high fidelity" is simply this: the *parsed* model,  what is
> also called a grove, has the capability of saving the document *exactly*,
> character for character, from what it was parsed.

Okay, this is the one that cares about the 74 occurrences of S, which Simon
insists on calling a red herring?

> But it is not hard to describe, that is my point. The XML 1.0 production
> rules create a parse tree which exactly describes the source document, down
> to the byte. This is what I would call the XML property set, and from this
> one can subset to one's desire.

Okay, I understand now.  Actually the production-rule level is *not* the
bottom parsing level, because for the most part PE-references have already
been removed.  Internal PEs are not really structural in XML;
it is a mere validity constraint that requires DTD constructs to begin
and end in the same PE, and

	<!ENTITY % element "<!ELEMENT">
	%element; FOO EMPTY>

is a well-formed though not valid external subset.

> Doesn't it make the most sense to subset from the full description, rather
> than both add to and subtract from a partial description?

IMHO no.  The correct level to aim at, when doing the job for the first
time for the benefit of the SGML-naive, is the middle useful level, what
you call "structure sensitive".  The question then remains, just what is
useful structure and what is not?  I have done my best to answer that
question.

-- 

Schlingt dreifach einen Kreis um dies! || John Cowan <jcowan@r...>
Schliesst euer Aug vor heiliger Schau,  || http://www.reutershealth.com
Denn er genoss vom Honig-Tau,           || http://www.ccil.org/~cowan
Und trank die Milch vom Paradies.            -- Coleridge (tr. Politzer)

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.