[ https://issues.apache.org/jira/browse/OAK-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Mueller resolved OAK-994. -------------------------------- Resolution: Fixed Revision 1519928 > XPath to SQL-2 conversion error for "element(..)" > ------------------------------------------------- > > Key: OAK-994 > URL: https://issues.apache.org/jira/browse/OAK-994 > Project: Jackrabbit Oak > Issue Type: Bug > Reporter: Thomas Mueller > Assignee: Thomas Mueller > Priority: Minor > > The following XPath query is not converted correctly: > {code} > //element(hello, nt:base) > {code} > It should be converted to > {code} > select [jcr:path], [jcr:score], * from [nt:base] as a > where name(a) = 'hello' /* xpath: //element(hello, nt:base) */ > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira