Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-392

Querying element by number does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9, 1.0, 1.0.1
    • None
    • jackrabbit-core, query
    • None
    • svn version 393179M

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            owehrens Oliver Wehrens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: