jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-95) path mapping needs to deal with relative paths
Date Thu, 10 May 2012 13:07:48 GMT

    [ 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

       

Mime
View raw message