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

[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.

Thanks,

Henry
------------------------------------------------------------------
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:zongaro@ca.ibm.com

Received on Sunday, 15 February 2004 13:32:50 UTC