You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2016/06/30 08:48:10 UTC
[jira] [Created] (OAK-4523) Query: first selector should be main
selector
Thomas Mueller created OAK-4523:
-----------------------------------
Summary: 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
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)