[
https://issues.apache.org/jira/browse/OAK-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491483#comment-13491483
]
Michael Dürig commented on OAK-426:
-----------------------------------
{{Tree}} does not (and should not) limit the set of valid names provided
through the underlying {{NodeStore}}. Currently it all comes down to the set of
valid names for items in the Microkernel. AFAIK {{NameValidator}} takes care of
validating names and it should exclude "." and ".." as names.
I think we should come up with a utility for handling these cases. This utility
should then be used by {{NameValidator}}, oak-jcr path handling/mapping and by
whatever other code that needs to deal with this.
> 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