[Monetdb-developers] preceding-sibling

Djoerd Hiemstra hiemstra at cs.utwente.nl
Tue Feb 19 23:55:26 CET 2008


Hi there MonetDBs,

The results for the following query changed between v0.18 and v0.22:

let $list :=
<list>
  <item>1</item>
  <item>2</item>
  <item>3</item>
  <item>4</item>
</list>
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 document order.
The result in version 0.18 is item 1.

Best,  Djoerd.




More information about the developers-list mailing list