[ 
https://issues.apache.org/jira/browse/OAK-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491471#comment-13491471
 ] 

Michael Dürig commented on OAK-426:
-----------------------------------

I changed this to "new feature" since currently {{TreeLocation}} works as 
specified: "A relative path consists of a possibly empty lists of names 
separated by forward slashes". Both "." and ".." are valid names for items in 
{{Tree}}. 

However, any additional semantics of paths strings would better be handled 
above this layer since {{TreeLocation}} already provides sufficient means for 
navigating trees without having to rely on a certain interpretation of a 
string. 
                
> TreeLocation: Add support for relative paths containing current or parent 
> element
> ---------------------------------------------------------------------------------
>
>                 Key: OAK-426
>                 URL: https://issues.apache.org/jira/browse/OAK-426
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core
>            Reporter: angela
>
> i just run into another place where i would need to work around
> missing support for the current (".") and parent ("..") element
> in the TreeLocation.
> IMO it would make sense to add this to TreeLocation#getChild... maybe
> even rename it to TreeLocation#getLocation(String relativePath)?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to