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

RE: data model: parent of namespace nodes

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Sat, 10 May 2003 19:20:37 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106073DCE1A@daemsg02.software-ag.de>
To: Per Bothner <per@bothner.com>, public-qt-comments@w3.org

The intention is that the model is the same as the XPath 1.0 model, i.e.
there is a one-to-many relationship between element nodes and namespace
nodes, this relationship is called "dm:namespaces" in one direction and
"dm:parent" in the other.

You are right that this isn't clearly expressed in the current document.

Michael Kay

> -----Original Message-----
> From: Per Bothner [mailto:per@bothner.com] 
> Sent: 10 May 2003 05:56
> To: public-qt-comments@w3.org
> Subject: data model: parent of namespace nodes
> 
> 
> 
> DM 4.5.2 and G.4 say that dm:parent of a namespace node
> is "the parent element node".  It does not define
> what this means.
> 
> However, none of the namespace nodes in D Example
> show a value for dm:parent, though dm:parent is
> shown for other nodes.
> 
> Should there be a constraint in 4.3.1 and/or 4.5.1 that
> is a namespace node has a parent, then it should be among
> the namespace of its parent?  The converse constraint would 
> prohibit sharing of namespace nodes, as in D example. The 
> issue should at least be mentioned.
> 
> One solution is to just define dm:parent of a namespace as ().
> -- 
> 	--Per Bothner
> per@bothner.com   http://per.bothner.com/
> 
> 
Received on Saturday, 10 May 2003 13:20:47 GMT

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