[
https://issues.apache.org/jira/browse/OAK-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272306#comment-13272306
]
Michael Dürig commented on OAK-95:
----------------------------------
The proposed patch normalizes paths as much as possible. Such a path has no
current elements (.) and parent elements (..) only in leading position.
Some Examples:
a/./b -> a/b
../a/b -> ../a/b
a/../b -> b
/a/../../b -> ../b
> path mapping needs to deal with relative paths
> ----------------------------------------------
>
> Key: OAK-95
> URL: https://issues.apache.org/jira/browse/OAK-95
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: Julian Reschke
> Priority: Minor
> Attachments: OAK-95.patch
>
>
> Persisting paths in properties of type "path" requires that we can round-trip
> relative JCR paths through the oak-core persistence, such as
> ../foobar
> or
> .
> Note that these paths still need prefix remapping so that they are stable
> with respect to session prefix remappings.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira