Michael Dürig created JCR-3415:
----------------------------------
Summary: XPathQueryEvaluator generates incorrect XPath query
Key: JCR-3415
URL: https://issues.apache.org/jira/browse/JCR-3415
Project: Jackrabbit Content Repository
Issue Type: Bug
Components: jackrabbit-jcr-commons
Affects Versions: 2.6
Reporter: Michael Dürig
XPathQueryEvaluator generated XPath query has two issues. For more details
refer to [1]
- rep:principalName should be added as property exp.
jcr:like(rep:principalName,'%%') -> jcr:like(@rep:principalName,'%%')
- fn:name(.) should be fn:name(). jcr:like(fn:name(.),'%%') ->
jcr:like(fn:name(),'%%')
See also OAK-268
[1] http://markmail.org/thread/ygna4ld47b3wwgkc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira