You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2006/06/30 12:52:31 UTC

[jira] Updated: (JCR-392) Accessing element by number does not work

     [ http://issues.apache.org/jira/browse/JCR-392?page=all ]

Jukka Zitting updated JCR-392:
------------------------------

    Fix Version: 1.1
        Version: 1.0.1

> 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
>     Versions: 0.9, 1.0, 1.0.1
>  Environment: svn version 393179M
>     Reporter: Oliver Wehrens
>     Assignee: Marcel Reutegger
>      Fix For: 1.1

>
> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira