Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 27217 invoked from network); 30 Apr 2005 20:24:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Apr 2005 20:24:51 -0000 Received: (qmail 9266 invoked by uid 500); 30 Apr 2005 20:26:15 -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 9188 invoked by uid 99); 30 Apr 2005 20:26:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of david.nuescheler@gmail.com designates 64.233.170.206 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.206) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 30 Apr 2005 13:26:15 -0700 Received: by rproxy.gmail.com with SMTP id y7so862652rne for ; Sat, 30 Apr 2005 13:24:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hICK2EmW2mU3JbVdj6Ih6hMyQyOZhF4jgYjsgWgnsQuUV0DeSZ1X9cMS+XPokRiutPjLpiw3AJEUISugb2pUl4PJ7nyYEjuMXveUMZErUwMSt82lfmVb1HGDOfZM1uxTE14m13xPjffuIIiit8CsZFuYCFNfab/R83IZWx1o91A= Received: by 10.38.11.53 with SMTP id 53mr4002970rnk; Sat, 30 Apr 2005 13:24:47 -0700 (PDT) Received: by 10.38.11.73 with HTTP; Sat, 30 Apr 2005 13:24:47 -0700 (PDT) Message-ID: Date: Sat, 30 Apr 2005 22:24:47 +0200 From: David Nuescheler Reply-To: david.nuescheler@day.com To: jackrabbit-dev@incubator.apache.org Subject: Re: xpath property clarifications In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hi ryan, > I'm having a hard time understanding from the specification how to know w= hen > a javax.jcr.Property should be referenced in xpath as: > 1) @firstName > or > 2) firstName xpath is only used in the query section. whenever you use xpath for querying the repository you use an @ there are probably no examples that refer to using a property in xpath=20 without an @. (or can point out an example in the spec?) > Many examples in the specification seem to use one or the other other > depending on the context (can provide examples if needed), but are always > referring to a property. What is the criteria for knowing when and where= to > prefix a Property name with "@", or has this been clarified in versions > beyond the last public draft? a "content repository path" on the other hand which is used thoughout=20 the entire api to identify a single item in the content repository has very= =20 different characteristics than xpath. the repository path is comparable to a filesystem path, in which a node cou= ld be looked at as a folder and property could be looked at as a file. regards, david