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 09:52:51 UTC
[jira] [Created] (OAK-994) XPath to SQL-2 conversion error for
"element(..)"
Thomas Mueller created OAK-994:
----------------------------------
Summary: 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