Lists Home |
Date Index |
- To: email@example.com
- Subject: [xml-dev] "The serialization of the XML Infoset is XML" (WAS: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial))
- From: "Tomayko, Ryan" <Ryan_Tomayko@stercomm.com>
- Date: Mon, 23 Sep 2002 13:57:06 -0400
> John Cowan wrote:
> "The serialization of the XML Infoset is XML"
I think this statement holds true for the base infoset rec, but how does
everyone feel about infoset extensions? I've been going over the latest
XInclude rec and noticed that the following from section 4.5 - "Creating the
Result Infoset" could potentially be harmful to John's statement:
"Each top-level included item is assigned an extension property [included]
with the boolean value "true". Information items which were not processed as
top-level included items will have no value for the [included] property.
This property might be used by applications which require knowledge of where
inclusion has been performed."
So, assuming I've run a source infoset through an XInclude processor and now
have an augmented result infoset that I wish to serialize as XML, is there
any way to maintain the exact state of the infoset? i.e. How do I preserve
extension properties like "included"?
Or are "extension properties" to the infoset only relevant during the
lifespan of the parse?
Sorry if this has been hashed out before (maybe in regard to PSVI), but the
statement "The serialization of the XML Infoset is XML" seems only partially
true given the current state of the recs and drafts.
- Ryan Tomayko
From: John Cowan [mailto:firstname.lastname@example.org]
Sent: Sunday, September 22, 2002 11:26 AM
Cc: email@example.com; firstname.lastname@example.org
Subject: Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial)
> On Sat, 2002-09-21 at 01:07, Arjun Ray wrote:
> AFAICS, a parser should cover everything in the infoset.
Note that what got into the infoset was a purely arbitrary choice
by yours truly, with an eye to SAX, DOM (much diminished later) and
XPath. There is nothing normative about the selections, and saying
"but it's in the infoset!" is no sort of reason why a parser ought
to support something. Infoset conformance depends on documenting
what you in fact do support, neither more nor less.
> infortunate that there is no XML serialization of the XML infoset (and
The serialization of the XML Infoset is XML.
> that the PSVI wants to follow the same path -a different story and one
> of my favorite rants-).
I agree with you here.
Some people open all the Windows; John Cowan
wise wives welcome the spring email@example.com
by moving the Unix. http://www.reutershealth.com
--ad for Unix Book Units (U.K.) http://www.ccil.org/~cowan
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription