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

Thomas Mueller commented on OAK-426:
------------------------------------

The query engine will also need to understand "." and "..". 

For some paths a utility would work (for example "./test" and "/test/.." can be 
normalized to "test"), but in some cases it's a bit more complicated (for 
example "../test"), at least within the query engine.
                
> OAK-API: Deal with names and relativePaths consisting/containing "." and ".."
> -----------------------------------------------------------------------------
>
>                 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