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 2013/09/04 14:06:52 UTC
[jira] [Updated] (OAK-994) XPath to SQL-2 conversion error for
"element(..)"
[ https://issues.apache.org/jira/browse/OAK-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Mueller updated OAK-994:
-------------------------------
Component/s: query
> 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
> Components: query
> 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