Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 61354 invoked from network); 9 May 2006 07:56:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 May 2006 07:56:39 -0000 Received: (qmail 52829 invoked by uid 500); 9 May 2006 07:56:38 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 52811 invoked by uid 500); 9 May 2006 07:56:38 -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 52802 invoked by uid 99); 9 May 2006 07:56:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2006 00:56:37 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of the.mindstorm.mailinglist@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2006 00:56:37 -0700 Received: by nf-out-0910.google.com with SMTP id m18so82799nfc for ; Tue, 09 May 2006 00:56:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k1L85m5m/0evsYIkk+Ho1PVwVEIIE5x7xMFPMmjwcvVF5q3+5u9aUnDFsW/nW8PXqrtUi1CtqjIGUluU8vv8KGeGRY1e64xOewXRL2nF6gKheEFKJOtJKVhEsaRPejxnmTivPSFAuE/d2JvA6D46GI/y+C1GNxBKJQbfpw8wBqI= Received: by 10.49.32.9 with SMTP id k9mr1880340nfj; Tue, 09 May 2006 00:56:16 -0700 (PDT) Received: by 10.49.66.14 with HTTP; Tue, 9 May 2006 00:56:16 -0700 (PDT) Message-ID: Date: Tue, 9 May 2006 10:56:16 +0300 From: "Alexandru Popescu" To: userJackrabbit Subject: Re: usage of jcr:path allowed in XPath? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have re-read the passages from the JCR spec and what I have found so far: [quote] PATH supports only =3D and !=3D [/quote] Also, by searching the ML, I have read that UNION is not supported yet. Are these the solid arguements prooving that I will not be able to perform the previously described type of query? Please help me out. Any hints and help is highly appreciated. ./alex -- .w( the_mindstorm )p. On 5/8/06, Alexandru Popescu wrote: > Hi! > > I am wondering if the usage of jcr:path property is allowed in XPath? > Considering that jcr:path is a synthetic property, I guess this is not > possible. > > The next question would be: having the following structure: > > /AAA > /BBB > /CCC > > is it possible to write an XPath that will consider only nodes from > below /AAA and /BBB? (to exclude /CCC and its children). > > Your comments and ideas are highly appreciated. > > thanks in advance, > > ./alex > -- > .w( the_mindstorm )p. >