W3C home > Mailing lists > Public > www-ql@w3.org > January to March 2004

Re: XQuey

From: hidders <Jan.Hidders@ua.ac.be>
Date: Thu, 11 Mar 2004 03:23:12 +0100
To: Mary Fernandez <mff@research.att.com>, Jan Paredaens <Jan.Paredaens@ua.ac.be>
Cc: Jerome Simeon <simeon@us.ibm.com>, www-ql@w3.org, Jan Hidders <jan.hidders@ua.ac.be>, Philippe Michiels <philippe.michiels@ua.ac.be>
Message-id: <404fcd90.4256.16380@uia.ua.ac.be>

> My email from yesterday was incorrect.  It turns out
> that, indeed, the children following an attribute
> are included in the following:: axis applied to that
> attribute.  The root of the problem is that the XPath 2.0
> data model does not specify the following constraint
> (which is specified in the XPath 1.0 data model):
>
>   "The attribute nodes and namespace nodes of an element
>    occur before the children of the element."

Doesn't the following in 2.4 imply this constraint?

> Within a tree, document order satisfies the following
> constraints:
> * [...]
> * Namespace nodes immediately follow the element node with
>   which they are associated. The relative order of
>   namespace nodes is stable but implementation-dependent.
> * Attribute nodes immediately follow the namespace nodes
>   of the element with which they are associated. The
>   relative order of attribute nodes is stable but
>   implementation-dependent.
> * [...]

-- Jan Hidders
Received on Wednesday, 10 March 2004 21:24:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:19 GMT