From jackrabbit-dev-return-3915-apmail-incubator-jackrabbit-dev-archive=www.apache.org@incubator.apache.org Sat Oct 08 13:07:08 2005 Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 92004 invoked from network); 8 Oct 2005 13:07:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Oct 2005 13:07:07 -0000 Received: (qmail 93735 invoked by uid 500); 8 Oct 2005 13:07:06 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 93724 invoked by uid 99); 8 Oct 2005 13:07:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2005 06:07:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [212.27.42.27] (HELO smtp1-g19.free.fr) (212.27.42.27) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2005 06:07:08 -0700 Received: from [127.0.0.1] (lafilaire-7-82-229-231-1.fbx.proxad.net [82.229.231.1]) by smtp1-g19.free.fr (Postfix) with ESMTP id 6535F3EEA8 for ; Sat, 8 Oct 2005 15:06:42 +0200 (CEST) Message-ID: <4347C45F.4060302@anyware-tech.com> Date: Sat, 08 Oct 2005 15:06:39 +0200 From: =?UTF-8?B?Q8OpZHJpYyBEYW1pb2xp?= User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: fr, en MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: Search on subnode properties References: <3b728ee90510070430m7764cfe7ka9693dec21865dbc@mail.gmail.com> <20051008152457.tm11rq0k435s08gc@yukatan.fi> <20051008155053.3segiyixmuiskwoc@yukatan.fi> In-Reply-To: <20051008155053.3segiyixmuiskwoc@yukatan.fi> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jukka Zitting a écrit : > Hi, > > I wrote: > >> At least the jcr:contains() function does not support child node >> queries at the moment, so I unfortunately don't think you can yet >> implement your search with just one XPath query. > > > Another alternative from "//page[jcr:contains(paragraph,'foo')]" would > of course > be "//page[paragraph[jcr:contains(.,'foo')]]" but I believe Jackrabbit > only > supports the attribute axis within predicates. I think I'll file a > separate > Jira issue on this. > > BR, > > Jukka Zitting Another request about queries would be to be able to execute queries on the name of a Node : eg. //*[jcr:like(name(.), '%foo%')] Is it actually possible ? Regards, Cédric Damioli