From dev-return-31668-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Fri Jun 24 11:33:12 2011 Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E3D786ECC for ; Fri, 24 Jun 2011 11:33:11 +0000 (UTC) Received: (qmail 3935 invoked by uid 500); 24 Jun 2011 11:33:11 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 3820 invoked by uid 500); 24 Jun 2011 11:33:10 -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 3806 invoked by uid 99); 24 Jun 2011 11:33:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 11:33:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 11:33:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8FDC442D10A for ; Fri, 24 Jun 2011 11:32:47 +0000 (UTC) Date: Fri, 24 Jun 2011 11:32:47 +0000 (UTC) From: "Alex Parvulescu (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1026427550.36357.1308915167586.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (JCR-2559) JQOM DescendentNode Constraint Factory Method doesn't work with paths with spaces 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 [ https://issues.apache.org/jira/browse/JCR-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu resolved JCR-2559. ---------------------------------- Resolution: Duplicate Assignee: Alex Parvulescu > JQOM DescendentNode Constraint Factory Method doesn't work with paths with spaces > --------------------------------------------------------------------------------- > > Key: JCR-2559 > URL: https://issues.apache.org/jira/browse/JCR-2559 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: query > Affects Versions: 2.0.0 > Reporter: chad davis > Assignee: Alex Parvulescu > > The descendent node factory method doesn't work if the path of the node contains spaces, even those these are legal and work just fine in the session.getNode() node retrieval api. See my code snippets: > NOTE: As per JCR-2558, the following code snippets use a slash at the end of the absolute path. > DescendantNode constraint factory method doesn't work: > qomFactory.descendantNode("mySelector","/documents/My Folder/" ); > However the following node retrieval works just fine: > session.getNode("mySelector","/documents/My Folder/"); -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira