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

Dominique Jäggi closed OAK-4523.
--------------------------------

bulk close after 1.5.5 release

> Query: first selector should be main selector
> ---------------------------------------------
>
>                 Key: OAK-4523
>                 URL: https://issues.apache.org/jira/browse/OAK-4523
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 1.5.5
>
>
> Some applications and tools expect that the first selector is the "main" 
> selector. This is not a bug (violation of the JCR spec or contrary to the 
> documentation) but a compatibility issue with Jackrabbit 2.x. So for the 
> XPath query
> {noformat}
> //a[@x]/b[@y]
> {noformat}
> the expectation is that the path of the first selector is "/a/b" and not 
> "/a". The XPath query is converted to SQL-2 join, that has two selectors.



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

Reply via email to