jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edgar Poce (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-231) [jcr-rmi] xpath queries don't work when the underlying QueryResult doesn't return the rows/nodes size
Date Sat, 01 Oct 2005 17:57:47 GMT
[jcr-rmi] xpath queries don't work when the underlying QueryResult doesn't return the rows/nodes
size
-----------------------------------------------------------------------------------------------------

         Key: JCR-231
         URL: http://issues.apache.org/jira/browse/JCR-231
     Project: Jackrabbit
        Type: Bug
    Reporter: Edgar Poce
    Priority: Minor


o.a.j.rmi.server.ServerQueryResult assumes the underlying NodeIterator always return the number
of elements, but it migth return -1 in some cases [1], AFAIK depending on the jcr impl. When
-1 is returned jcr-rmi fails to return the QueryResult. 

e.g. it fails with the following xpath query //*

[1] http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/RangeIterator.html#getSize()

-- 
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