[ 
https://issues.apache.org/jira/browse/JCR-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481922
 ] 

Jukka Zitting commented on JCR-777:
-----------------------------------

> Hi, instead of throwing an exception, wouldn't it be nice to support child 
> axis in order by clause?

Good idea! However, let's leave this issue as the bug report for not throwing 
the appropriate exception, and you can file a separate feature request issue 
for actually supporting that feature.

> Order by clause using child axis does not throw InvalidQueryException
> ---------------------------------------------------------------------
>
>                 Key: JCR-777
>                 URL: https://issues.apache.org/jira/browse/JCR-777
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: xpath
>    Affects Versions: 0.9, 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> When the following query is created, the query manager should throw an 
> InvalidQueryException:
> //element(*, type) order by foo/@bar

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to