Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 79443 invoked from network); 16 Mar 2005 15:53:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Mar 2005 15:53:50 -0000 Received: (qmail 95638 invoked by uid 500); 16 Mar 2005 15:53:49 -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 95623 invoked by uid 99); 16 Mar 2005 15:53:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from pop.gmx.de (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 16 Mar 2005 07:53:47 -0800 Received: (qmail invoked by alias); 16 Mar 2005 15:53:45 -0000 Received: from bsl-rtr.day.com (EHLO [10.0.0.86]) (212.249.34.130) by mail.gmx.net (mp019) with SMTP; 16 Mar 2005 16:53:45 +0100 X-Authenticated: #894343 Message-ID: <42385688.10909@gmx.net> Date: Wed, 16 Mar 2005 16:53:44 +0100 From: Marcel Reutegger User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: namespaces References: <423835EC.6010802@wyona.com> <8be73188050316053744daf9e4@mail.gmail.com> <42384E5C.3020808@wyona.com> <90a8d1c0050316072428cc4324@mail.gmail.com> <423852E9.4040706@wyona.com> In-Reply-To: <423852E9.4040706@wyona.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Michi, Michael Wechner wrote: > What about a utility class translating XPath into JCR Path syntax? > Does something like that exist yet? It seems to me that would be quite nice > to have, but I understand that the question does it actually make sense > needs > to be answered or found out first. You probably found out already that that a jcr path is not the same as a XPath expression, so this is just for all the other lazy ones ;) A jcr path will always point to only one single item (node or property). whereas a XPath expression may select a set of items. that's actually the main difference with the two paths. which makes it obvious that XPath cannot be translated into a jcr path. cheers marcel