[xquery-talk] Order of results
vyacheslav.zholudev at gmail.com
Fri Nov 5 01:07:16 PST 2010
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
for $i in 1 to 2 return ($seq[$i], $seq[$i]/*)
(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?
More information about the talk