From users-return-1029-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Mon Oct 16 15:32:08 2006 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 94665 invoked from network); 16 Oct 2006 15:32:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Oct 2006 15:32:08 -0000 Received: (qmail 7067 invoked by uid 500); 16 Oct 2006 15:32:07 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 7058 invoked by uid 500); 16 Oct 2006 15:32:07 -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 7049 invoked by uid 99); 16 Oct 2006 15:32:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 08:32:07 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of the.mindstorm.mailinglist@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 08:32:06 -0700 Received: by ug-out-1314.google.com with SMTP id m3so6710231uge for ; Mon, 16 Oct 2006 08:31:45 -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=ExYCIeAMTP6EmpO2CPV0sLaHUmXXfCZQBVIbg9yyIZFeqFOdm8HqIgqbemwyG3l4IVGmDEQuMBEVe9+Lt72gLPu36/OUogACbzty1m9Y4Q0JnBvn7imx5CCMXWsktZhyT9vlRlQ/GuzhzSDTk3QI98pkf8UD6W4PNdivuSlGoJg= Received: by 10.78.150.7 with SMTP id x7mr7803076hud; Mon, 16 Oct 2006 08:31:45 -0700 (PDT) Received: by 10.78.81.11 with HTTP; Mon, 16 Oct 2006 08:31:44 -0700 (PDT) Message-ID: Date: Mon, 16 Oct 2006 18:31:44 +0300 From: "Alexandru Popescu" To: userJackrabbit Subject: Re: Node names In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 It looks it was too Monday morning when posting about this one, as the 2nd part is wrong. On 10/16/06, Alexandru Popescu wrote: > Hi! > > I am a bit confused by the specification for the node names. According > to the spec (page 26-27), a node name can be: > > name ::= simplename | prefixedname > > simplename ::= onecharsimplename | > twocharsimplename | > threeormorecharname > > and then: > > onecharsimplename ::= (* Any Unicode character except: '.', '/', ':', > '[', ']', '*', ''', '"', '|' or any whitespace character *) > > twocharsimplename ::= '.' onecharsimplename | > onecharsimplename '.' | > onecharsimplename onecharsimplename > > > According to the above it looks like I can have node names like: > .metadata or metadata. And according to the threeormorecharname I can > also have metadata.metadata. Is this correct? > This is correct. > Also, by reading the definition of threeormorecharname it looks like I > can have node names with only spaces. Is this really possible? > No, this is not possible. According to the definition: threeormorecharname ::= nonspace string nonspace. ./alex -- .w( the_mindstorm )p. PS: thanks Jukka for the wake up call :-) > thanks in advance, > > ./alex > -- > .w( the_mindstorm )p. >