Chetan Mehrotra created OAK-268: ----------------------------------- Summary: XPathQueryEvaluator generates incorrect XPath query Key: OAK-268 URL: https://issues.apache.org/jira/browse/OAK-268 Project: Jackrabbit Oak Issue Type: Bug Components: jcr Affects Versions: 0.5 Reporter: Chetan Mehrotra Priority: Minor
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(),'%%') [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