[ https://issues.apache.org/jira/browse/OAK-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke updated OAK-4376: -------------------------------- Fix Version/s: 1.6 > XPath: queries starting with "//" are not always converted correctly > -------------------------------------------------------------------- > > Key: OAK-4376 > URL: https://issues.apache.org/jira/browse/OAK-4376 > Project: Jackrabbit Oak > Issue Type: Bug > Reporter: Thomas Mueller > Assignee: Thomas Mueller > Fix For: 1.6, 1.5.3 > > > XPath queries starting with "//" are not always converted to the expected > SQL-2 query. Examples: > {noformat} > //element(*, oak:QueryIndexDefinition)/* > select [jcr:path], [jcr:score], * from [oak:QueryIndexDefinition] as a > //element(*, oak:QueryIndexDefinition)//* > select [jcr:path], [jcr:score], * from [oak:QueryIndexDefinition] as a > {noformat} > This is wrong. Instead, a join should be used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)