[ https://issues.apache.org/jira/browse/JCR-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481848 ]
Savvas Triantafillou commented on JCR-777: ------------------------------------------ Hi, instead of throwing an exception, wouldn't it be nice to support child axis in order by clause? > 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.