You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by "Preston Carman (JIRA)" <ji...@apache.org> on 2016/03/05 01:48:40 UTC

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

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

Preston Carman reassigned VXQUERY-184:
--------------------------------------

    Assignee: Preston Carman

> 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)