jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alvaro Gonzalez (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-338) Quey Builder and jcr:deref problem. Can't add predicate after jcr:deref
Date Fri, 10 Mar 2006 08:44:40 GMT
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 [@property = '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)[@member]/jcr:deref(@member, '*')[@property='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


Mime
View raw message