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.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers

Reply via email to