jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Wehrens (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-392) Accessing element by number does not work
Date Tue, 11 Apr 2006 11:13:19 GMT
Accessing element by number does not work

         Key: JCR-392
         URL: http://issues.apache.org/jira/browse/JCR-392
     Project: Jackrabbit
        Type: Bug

  Components: query  
 Environment: svn version 393179M
    Reporter: Oliver Wehrens

I have a bunch of wiki:entries stored in my workspace. If I create the following code:

            q = qm.createQuery("//wiki:entry[5]", Query.XPATH);
            qr = q.execute();
            NodeIterator it = qr.getNodes();

The Nodeiterator reports all entries back, bot just the 5th.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message