Christina Pavlopoulou created VXQUERY-184:
---------------------------------------------

             Summary: Unordered result of order-by
                 Key: VXQUERY-184
                 URL: https://issues.apache.org/jira/browse/VXQUERY-184
             Project: VXQuery
          Issue Type: Question
            Reporter: Christina Pavlopoulou
            Priority: Minor


I tried to run the following query in VXQUERY:
for $x in doc("books.xml")/bookstore/book
order by $x/title
return $x/title
The result I got was not ordered. But if I change the second line to this:
order by data($x/title) the result is correct.
Why does this happen?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to