Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 65659 invoked from network); 6 May 2010 15:22:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 May 2010 15:22:09 -0000 Received: (qmail 18479 invoked by uid 500); 6 May 2010 15:22:09 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 18385 invoked by uid 500); 6 May 2010 15:22:09 -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 18378 invoked by uid 99); 6 May 2010 15:22:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 May 2010 15:22:09 +0000 X-ASF-Spam-Status: No, hits=-1397.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 May 2010 15:22:08 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o46FLmX4014303 for ; Thu, 6 May 2010 15:21:48 GMT Message-ID: <25419368.12131273159308222.JavaMail.jira@thor> Date: Thu, 6 May 2010 11:21:48 -0400 (EDT) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2558) JQOM DescendantNode Factory Method Node Path Handling In-Reply-To: <1475527044.187091268255307258.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864793#action_12864793 ] Marcel Reutegger commented on JCR-2558: --------------------------------------- Can you please provide a test case? I'm fairly confident that we covered this with several test cases in jackrabbit-jcr-tests. > JQOM DescendantNode Factory Method Node Path Handling > ------------------------------------------------------ > > Key: JCR-2558 > URL: https://issues.apache.org/jira/browse/JCR-2558 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: query > Affects Versions: 2.0.0 > Reporter: chad davis > > I believe there are behavioral issues in the DescendantNode factory creation method. > In this case, the factory method requires that a absolute path end with a slash, despite the fact that the specification indicates this is not the form of an absolute path. > In other words: > qomFactory.descendantNode("mySelector","/documents/myFolder" ); > does not work, but the following does work: > qomFactory.descendantNode("mySelector","/documents/myFolder/" ); > NOTE: session.getNode( ) works with both path forms. For the record, > the JCR specification doesn't show a trailing slash on absolute paths > ( Sect. 3.4.4 Absolute and Relative Paths ) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.