jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-392) Querying element by number does not work
Date Wed, 11 Sep 2013 08:08:51 GMT

     [ https://issues.apache.org/jira/browse/JCR-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Reutegger updated JCR-392:
---------------------------------

    Assignee:     (was: Marcel Reutegger)
    
> Querying element by number does not work
> ----------------------------------------
>
>                 Key: JCR-392
>                 URL: https://issues.apache.org/jira/browse/JCR-392
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, query
>    Affects Versions: 0.9, 1.0, 1.0.1
>         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, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message