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

"Kay, Michael" <[email protected]> Tue, 17 Sep 2002 10:26:53 +0200
Newsgroups gmane.text.xml.xpath.general
Message-ID <[email protected]>
> 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