[
https://issues.apache.org/jira/browse/OAK-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dürig resolved OAK-268.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.5
Fixed at revision 1375928
Thanks Chetan Mehrotra for the patch
> 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
> Assignee: Michael Dürig
> Priority: Minor
> Fix For: 0.5
>
> Attachments: OAK-268.patch
>
>
> 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