jackrabbit-oak-issues 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-108) Shortcut path conversions
Date Thu, 13 Sep 2012 09:35:07 GMT

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

Michael Dürig commented on OAK-108:
-----------------------------------

Your changes in OAK-201 at revision 1384243 revealed a problem with these short cuts: {{NamePathMapperImpl.getOakPath()}}
allows invalid paths in the case of a short cut conversion. For example {{a:b:c}} is happily
accepted. So I wouldn't fix this until we have a consensus how to handle such cases.
                
> Shortcut path conversions
> -------------------------
>
>                 Key: OAK-108
>                 URL: https://issues.apache.org/jira/browse/OAK-108
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: jcr
>            Reporter: Julian Reschke
>
> It would be nice if we could shortcut path conversions in order to minimize the cost
of converting between OAK paths and JCR paths.
> For instance, when going from OAK to JCR (assuming that the path is valid and normalized
to begin with), we should be able to avoid prefix remapping completely if there are no session
prefix remappings. To detect the latter, we'll however have to override or extend the namespace
handling inside jcr-commons abstract-session.

--
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

Mime
View raw message