W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2002

RE: Data Model - 4. Nodes

From: Paul Cotton <pcotton@microsoft.com>
Date: Wed, 15 May 2002 19:15:55 -0400
Message-ID: <E7AC4500EAB7A442ABA7521D18814397032F959D@tor-msg-01.northamerica.corp.microsoft.com>
To: <AndrewWatt2001@aol.com>
Cc: <public-qt-comments@w3.org>, <marton.nagy@saic.com>
> Since XPath/XQuery operate on the infoset

This is not a correct assertion.  XPath/XQuery operate on the Data Model
which can be constructed from an Infoset (and PSVI).  They do not
actually operator on the Infoset since the Data Model is not isomorphic
to the Infoset.

Note as well that XQuery/XPath operators can change the Data Model
instance and we do not define the reverse mappings to an Infoset
representation of these modified Data Model instances.  Eventually we
will define how to serialize a Data Model instance into XML and this
will in affect indirectly define the Infoset representation of the
instance.

/paulc
Chair, XML Query WG

Paul Cotton, Microsoft Canada 
17 Eleanor Drive, Nepean, Ontario K2E 6A3 
Tel: (613) 225-5445 Fax: (425) 936-7329 
<mailto:pcotton@microsoft.com> 


> -----Original Message-----
> From: AndrewWatt2001@aol.com [mailto:AndrewWatt2001@aol.com]
> Sent: Monday, May 13, 2002 9:25 AM
> To: public-qt-comments@w3.org
> Subject: Data Model - 4. Nodes
> 
> The final part of Chapter 4, Nodes, reads as follows:
> "Every node belongs to exactly one tree, and every tree has exactly
one
> root
> node. A tree whose root node is a document node is referred to as a
> document.
> A tree whose root node is some other kind of node is referred to as a
> fragment.".
> 
> Since XPath/XQuery operate on the infoset and the infoset is only
defined
> for
> the scenario where there is a document node since according to the
Infoset
> Rec it applies only to well-formed XML documents, I don't see where
these
> sentences are leading.
> 
> Andrew Watt
Received on Wednesday, 15 May 2002 19:16:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:22 GMT