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

Re: Formal definition of PSVI

psvi definition

Dare Obasanjo  wrote:

> Exactly how is the XML infoset supposed to be represented and/or accessed by
> application programmers?

It's deliberately left unspecified in the Infoset spec.
The intent is that specific APIs document what parts of the
Infoset they support and how it's supported.

> Since the infoset seems to mirror the DOM to some
> degree will the primary usage model be some sort of DOM-like API with current
> DOM implementations being given the ability to support it with certain
> extensions?

There is no more a primary usage model for the Infoset
than there is for XML itself;  DOM, SAX, and XSLT all
support the Infoset, but in very different ways.

> Or is the XML Infoset recommendation supposed to exist merely as
> reference for use in discussions between experts and others with domain
> knowledge without it actually having any implementation impact on users of XM
> in general?

More or less.  The Infoset REC is mostly for design
and documentation purposes.  It provides a common vocabulary
so programmers can tell (for example) that what the SAX
documentation calls an "element information item" is the
same thing as what the DOM documentation calls an "element
information item".

> Finally, the XML infoset is particularly DTD centric with little if any
> mention of XML schemas but on the other hand I keep hearing about the PSVI
> with regards to schema awareness and data types, is there any reason for this
> disjointedness or is there some discussion or document I can be pointed to
> that clarifies the issue?

REC-xml-infoset includes a [document type declaration] information
item because <!DOCTYPE ...> declarations are part of XML 1.0.
REC-xmlschema-* defines new information items that schema-aware
processors must also support (i.e., a PSVI).  These new information
items aren't part of REC-xml-infoset because they aren't part of
XML 1.0.  Does that clarify things?

--Joe English



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.
First Name
Last Name
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.