Re: [Monetdb-developers] preceding-sibling

2008-02-19 Thread Stefan Manegold
Hi Djoerd, from http://www.w3.org/TR/xpath20/ [...] 3.2.2 Predicates [...] Note: When using predicates with a sequence of nodes selected using a reverse axis, it is important to remember that the the context positions for such a sequence are assigned in reverse document order. For example

[Monetdb-developers] preceding-sibling

2008-02-19 Thread Djoerd Hiemstra
Hi there MonetDBs, The results for the following query changed between v0.18 and v0.22: let $list := 1 2 3 4 return $list//item[. = "4"]/preceding-sibling::*[1] It now gives item 3, which I think is wrong since the results of any axis step (also preceding-sibling), should be in documen