You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by "Christina Pavlopoulou (JIRA)" <ji...@apache.org> on 2016/09/09 18:13:21 UTC

[jira] [Resolved] (VXQUERY-184) Unordered result of order-by

     [ https://issues.apache.org/jira/browse/VXQUERY-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christina Pavlopoulou resolved VXQUERY-184.
-------------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Preston Carman
>            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)