Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 51024 invoked from network); 17 Jun 2009 11:56:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jun 2009 11:56:19 -0000 Received: (qmail 70272 invoked by uid 500); 17 Jun 2009 11:56:30 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 70211 invoked by uid 500); 17 Jun 2009 11:56:29 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 70203 invoked by uid 99); 17 Jun 2009 11:56:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 11:56:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 11:56:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A6D9D234C044 for ; Wed, 17 Jun 2009 04:56:07 -0700 (PDT) Message-ID: <1121661689.1245239767682.JavaMail.jira@brutus> Date: Wed, 17 Jun 2009 04:56:07 -0700 (PDT) From: "Tobias Bocanegra (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-2154) Use expanded form for Path.getString() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Use expanded form for Path.getString() -------------------------------------- Key: JCR-2154 URL: https://issues.apache.org/jira/browse/JCR-2154 Project: Jackrabbit Content Repository Issue Type: Improvement Components: jackrabbit-spi Affects Versions: 2.0-alpha1 Reporter: Tobias Bocanegra Fix For: 2.0.0 Currently the internal string representation of a path consists of extended path segments which are tab (\t) delimited. since JCR2.0, JCR input names can also be specified in an expanded form (see JCR 2.0, 3.2.5.1). i think it would make sense to use the expanded form also for internal string representation of paths, which is defined by the spec, is more natural and more readable current: {} {http://www.apache.org/jackrabbit/test}testPath suggested: /{http://www.apache.org/jackrabbit/test}testPath of course, the PathFactory needs to be backward compatible, since the path property values are persisted in the current toString() representation. if this is too much of a change, or if there are any valid reasons why the tab-delimited form is needed, we should at least add a new method to Path: String getExpandedString() that returns the expanded form representation of the path. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.