jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Korat (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1075) Error with predicate in query with multiple jcr:deref()
Date Wed, 22 Aug 2007 13:58:33 GMT
Error with predicate in query with multiple jcr:deref()
-------------------------------------------------------

                 Key: JCR-1075
                 URL: https://issues.apache.org/jira/browse/JCR-1075
             Project: Jackrabbit
          Issue Type: Bug
          Components: query
    Affects Versions: 1.3.1
            Reporter: Michael Korat


Using multiple jcr:deref() in a query that ends with jcr:deref() followed by a predicate always
returns an empty result. 

Here are some example queries to clarify the scope of the problem:

Empty result:
//jcr:deref()//jcr:deref()[jcr:contains(.,'someValue')]
//jcr:deref()//jdcr:deref()[@prop='someValue']

Right result:
//jcr:deref()[jcr:contains(.,'someValue')]
//jcr:deref()//jcr:deref()/element(*, nt:base)[jcr:contains(.,'someValue'] 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message