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

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

    Summary: Querying element by number does not work  (was: Accessing element 
by number does not work)

> Querying element by number does not work
> ----------------------------------------
>
>                 Key: JCR-392
>                 URL: http://issues.apache.org/jira/browse/JCR-392
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 0.9, 1.0, 1.0.1
>         Environment: svn version 393179M
>            Reporter: Oliver Wehrens
>         Assigned To: Marcel Reutegger
>
> 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

        

Reply via email to