jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Created] (JCR-3415) XPathQueryEvaluator generates incorrect XPath query
Date Wed, 22 Aug 2012 08:03:38 GMT
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

       

Mime
View raw message