Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8899F107C7 for ; Wed, 11 Sep 2013 08:09:00 +0000 (UTC) Received: (qmail 20091 invoked by uid 500); 11 Sep 2013 08:08:59 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 19708 invoked by uid 500); 11 Sep 2013 08:08:59 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 19648 invoked by uid 99); 11 Sep 2013 08:08:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Sep 2013 08:08:51 +0000 Date: Wed, 11 Sep 2013 08:08:51 +0000 (UTC) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (JCR-392) Querying element by number does not work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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