RE: XML Path Language (XPath) Version 1.0 Specification Errata

> Section 2.4 - Predicates in the XML Path Language 
> Recommendation Version 1.0 specifies that
> 
> [..], the ancestor, ancestor-or-self, preceding, and 
> preceding-sibling axes are reverse axes; all other axes are 
> forward axes.
> 
> As a consequence, this means that the parent axis is a 
> forward axis, which is not correct.

The parent axis contains zero or one nodes. As a consequence, the sequence
of nodes on the parent axis is identical whether they are in document order
or reverse document order. It therefore makes no difference to the
observable behavior of the language whether the parent axis is classified as
a forwards or a reverse axis.

Michael Kay

Received on Tuesday, 17 September 2002 04:27:19 UTC