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

Re: The subsetting has begun


arboretical
"Alaric B. Snell" wrote:

> It's not a DAG; you can't share subtrees. It's a tree!

[also doing too much attention-getting hand waving, I'm afraid, but anyway:]

The XML instance is neither a tree nor a directed acyclic graph. That's the
inherent point of XML as UnicodeWithAngleBrackets. You can instantiate the
output of a parse of that instance as a tree, a DAG, a full grove or any of many
arboretical forms. Parsers which presume a single particular form of concrete
instantiation following the parse of syntax are really parsers plus XML
processors. Such bundled processors first go astray in assuming that there
somehow inheres in the XML instance a model intended by the creator which must
be faithfully instantiated by the recipient. In narrow, particular applications
of XML this is in fact the premise. In the general case, however, the parse  a)
verifies that the instance as received is properly XML and  b) provides its
output as suitable input to a particular local processor which as its first task
must instantiate a data structure suited to the local use of the XML instance.

Gavin has said it in a succinct form which is hard to improve on (perhaps even
as a sutra defining the nature of XML):

    ***The generic XML processor is a myth once you get past the syntax.***

Respectfully,

Walter Pery




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.