jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Jäggi (JIRA) <j...@apache.org>
Subject [jira] [Closed] (OAK-4523) Query: first selector should be main selector
Date Mon, 11 Jul 2016 12:43:12 GMT

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

Mime
View raw message