Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 19420 invoked from network); 10 Mar 2010 21:09:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Mar 2010 21:09:21 -0000 Received: (qmail 95595 invoked by uid 500); 10 Mar 2010 21:08:50 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 95557 invoked by uid 500); 10 Mar 2010 21:08:50 -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 95550 invoked by uid 99); 10 Mar 2010 21:08:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Mar 2010 21:08:50 +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, 10 Mar 2010 21:08:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3F480234C4C1 for ; Wed, 10 Mar 2010 21:08:27 +0000 (UTC) Message-ID: <1475527044.187091268255307258.JavaMail.jira@brutus.apache.org> Date: Wed, 10 Mar 2010 21:08:27 +0000 (UTC) From: "chad davis (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-2558) JQOM DescendantNode Factory Method Node Path Handling 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 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.