Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 87625 invoked from network); 1 Mar 2007 13:39:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 13:39:59 -0000 Received: (qmail 96614 invoked by uid 500); 1 Mar 2007 13:40:06 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 96597 invoked by uid 500); 1 Mar 2007 13:40:06 -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 96588 invoked by uid 99); 1 Mar 2007 13:40:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 05:40:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of julian.reschke@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Mar 2007 05:39:55 -0800 Received: (qmail invoked by alias); 01 Mar 2007 13:39:33 -0000 X-Provags-ID: V01U2FsdGVkX19NEX4zOABNXcxv8S6RWowxaOZClzRc8Pdf76G1Pw G8ww== Message-ID: <45E6D791.5040500@gmx.de> Date: Thu, 01 Mar 2007 14:39:29 +0100 From: Julian Reschke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: how can I escape invalid chars in node name? References: <1172743028.13812.1.camel@antares> <510143ac0703010234k71403942j6b601f8baa80b4ad@mail.gmail.com> In-Reply-To: <510143ac0703010234k71403942j6b601f8baa80b4ad@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Jukka Zitting schrieb: > Hi, > > On 3/1/07, Paco Avila wrote: >> Can I escape invalid chars as : and * to be included in a node name? > > You can, for example by using URI encoding or some similar mechanism. > > There is a slow ongoing debate about how to best handle such names, > and whether there should be some standard escaping mechanism. My best > advice would be to use a string property if you want to avoid any > restrictions on illegal characters. Nit: but even with a string property there some characters will be illegal, right? Or wasn't that the agreed-upon answer on what to do with string properties that contain characters not allowed in XML (1.0) content (such as most control characters)? Best regards, Julian