[ 
https://issues.apache.org/jira/browse/OAK-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chetan Mehrotra updated OAK-268:
--------------------------------

    Attachment: OAK-268.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
>            Priority: Minor
>         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

        

Reply via email to