Quey Builder and jcr:deref problem. Can't add predicate after jcr:deref
-----------------------------------------------------------------------

         Key: JCR-338
         URL: http://issues.apache.org/jira/browse/JCR-338
     Project: Jackrabbit
        Type: Bug
  Components: query, xpath  
    Versions: 0.9, 1.0    
 Environment: Linux, java 1.4.2 and java 5.
    Reporter: Alvaro Gonzalez


Cannot add a predicate (like [EMAIL PROTECTED] = 'value'] after a jcr:deref 
function.
The query builder throws an "InvalidQueryException: Unsupported location for 
jcr:deref()".

So for example, the query :

//element(*,nt:category)[EMAIL PROTECTED]/jcr:deref(@member, '*')[EMAIL 
PROTECTED]'value'] 

is invalid and it should be valid.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to