Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 25787 invoked from network); 16 Jun 2008 08:17:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jun 2008 08:17:31 -0000 Received: (qmail 56197 invoked by uid 500); 16 Jun 2008 08:17:32 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 56182 invoked by uid 500); 16 Jun 2008 08:17:32 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 56171 invoked by uid 99); 16 Jun 2008 08:17:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2008 01:17:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 16 Jun 2008 08:16:42 +0000 Received: (qmail invoked by alias); 16 Jun 2008 08:16:56 -0000 Received: from bsl-rtr.day.com (EHLO [10.0.0.89]) [62.192.10.254] by mail.gmx.net (mp044) with SMTP; 16 Jun 2008 10:16:56 +0200 X-Authenticated: #894343 X-Provags-ID: V01U2FsdGVkX18VCPVat/EVZKGu73cATAPYBDzxSi4cmeL+LwFhXG PceEVFk8G3I4hJ Message-ID: <48562177.6020807@gmx.net> Date: Mon, 16 Jun 2008 10:16:55 +0200 From: Marcel Reutegger User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: Simple Xpath Query References: <485614F1.6030306@gmail.com> In-Reply-To: <485614F1.6030306@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Emmanuel Hugonnet wrote: > This query works fine : > /jcr:root/kmelia60/* retuning my 2 child nodes whith the primaryType > my:type > > while this one : > /jcr:root/kmelia60/element(*, my:type) return no child. > > Where is my mistake ? (I am using jackrabbit 1.4 core 1.4.5) did you make sure that those nodes are saved before you execute the query? regards marcel