- From: Mary Fernandez <mff@research.att.com>
- Date: 11 Mar 2004 09:59:18 -0500
- To: Jan Hidders <jan.hidders@ua.ac.be>
- Cc: Jan Paredaens <Jan.Paredaens@ua.ac.be>, Jerome Simeon <simeon@us.ibm.com>, www-ql@w3.org, Philippe Michiels <philippe.michiels@ua.ac.be>
On Wed, 2004-03-10 at 21:23, hidders wrote: > > 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? Yes, I guess you're right. I've been looking at these d--n documents too long and don't actually read them anymore! > > > 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 -- Mary Fernandez <mff@research.att.com> AT&T Labs - Research
Received on Thursday, 11 March 2004 09:57:06 UTC