[xquery-talk] Order of results
Vyacheslav Zholudev
vyacheslav.zholudev at gmail.com
Fri Nov 5 01:07:16 PST 2010
Hi all,
Using one of the XQuery processors I encountered the following situation:
Assume I have a sequence of 2 XML elements: $seq := (A, B)
"A" contains 2 element children: a1, a1; "B" contains one element child b1
Query:
for $i in 1 to 2 return ($seq[$i], $seq[$i]/*)
returns
(A, b1, B, a1, a2)
That is for A it returns children of B, and for B it returns children of A.
Is it somehow explainable or it's a definitely a bug in the XQuery processor?
Thanks,
Vyacheslav
More information about the talk
mailing list