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

Re: Principles of XML design


mandatory in xml
On Thu, May 05, 2005 at 04:13:44PM -0700, Joe English wrote:
> Not so weird.  As far as I can tell, other than well-formedness
> and validity errors the XML Rec places no constraints at all on
> what data a processor must report.  That's what the Infoset Rec
> is for.

This is a widely held view of the Infoset.  Officially, however,
the XML Information Set specification only defines a vocabulary:
that is, "if an XML processer returns the name of an element,
this is what you should call the thing that's returned", and so
on for many other items.  The XML Information Set is not exhaustive:
there are XML processors that return things to which the spec has
not assigned a name.  Neither is it mandatory: many XML processors
return a subset of the items listed there.

The informal term "an infoset" meaning "the result of parsing an
XML document and building some sort of different representation,
such as an in-memory graph" is not explicitly licensed by the
Infoset specification, but has led to some people imagining that
the Infoset is intended to define some sort of data model or API.

This is not the case.

Best,

Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/

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.