[ https://issues.apache.org/jira/browse/OAK-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496225#comment-13496225 ]
angela commented on OAK-426: ---------------------------- i know that we discussed that before... but this was also before we actually started using the oak-api. that that i use it, it seems to me that not preventing a tree to have the name "." or ".." and subsequently preventing TreeLocation from taking relative paths containing a parent or current element looks like the wrong decision to me because i realized that i just need to add extra checks and extra handling from those cases everywhere i used the oak-api to manipulate content. > 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