W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

[XPath] IBM-XP-110: Order in which predicate is applied to a sequence

From: Henry Zongaro <zongaro@ca.ibm.com>
Date: Sun, 15 Feb 2004 13:32:49 -0500
To: public-qt-comments@w3.org
Message-ID: <OF465C9CFE.8A9F3F35-ON85256E3B.00624C52-85256E3B.0065E127@ca.ibm.com>

[Speaking on behalf of reviewers from IBM, not just personally.]

Section 3.2.2

The paragraph between the two bulleted lists (which defines the terms 
"reverse axis" and "reverse document order") states, "By contrast, 
(preceding::foo)[1] returns the first foo element in document order, 
because the axis that applies to the [1] predicate is the child axis."

This reference to the child axis applying to the predicate is carried over 
from how this was described in XPath 1.0.  In XPath 2.0, this should state 
that, as described in 3.2.1, the items from a FilterStep are returned in 
the same order as the primary expression, which is document order in the 
case of an axis step.


Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
Received on Sunday, 15 February 2004 13:32:50 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:17 UTC