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

Data Model - Inconsistent?

From: <AndrewWatt2000@aol.com>
Date: Mon, 13 May 2002 10:10:21 -0400 (EDT)
Message-ID: <f6.1b27628d.2a112326@aol.com>
To: public-qt-comments@w3.org
I am currently wrestling with what the 30th April Data Model WD. It seems to 
me that there is a fundamental inconsistency in expression relating to what a 
node or information item is, as described in the WD. I hope that the 
difficulty is only in terms of how ideas have been expressed.

In 1. Introduction it is stated that "The data model is based on the 
Information Set". I took that to indicate that XPath 2.0 Data Model 
incorporates all of the Infoset REC.

However, in 4.1 the description of a document node omits several properties 
of the document information item as described in the Infoset REC.

Further, it is stated in 1. that "An item is either a node or an atomic 
value.". I read that to refer to an "information item".

If that is the case then an "information item" is essentially identical to a 
"node".

However an Infoset "information item" has a number of properties which a 
"node" at least as described in XPath 1.0 does not possess. So, it seems that 
an XPath 2.0 node is fundamentally different from an XPath 1.0 node in that 
it now possesses a full set of Infoset properties.

Yet in 4.1 it is stated "Document nodes and XPath 1.0 root nodes are 
essentially identical.".

Yet if an XPath 2.0 document node "is" (as quoted from 1. above) an "item" 
and if an "item" is intended to be the same as an Infoset "information item" 
it is not possible for an XPath 2.0 document node (which must possess Infoset 
properties) to be "essentially identical" to an XPath 1.0 root node (which 
possessed no Infoset properties).

I hope I have conveyed something coherent of what I perceive as the 
inconsistency of descriptions.

My questions now include, What did the WG intend to say about the 
relationships of an XPath 2.0 "node" and an XPath 2.0 "item"? Does an XPath 
2.0 node have (or not have) a full complement of Infoset properties? How, 
precisely, does an XPath 2.0 node differ from an XPath 1.0 node?

Andrew Watt
Received on Wednesday, 15 May 2002 16:36:29 GMT

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