[ 
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

        

Reply via email to