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

Robert Munteanu commented on JCRVLT-488:
----------------------------------------

[~kwin] - I'm sort of abusing the {{PlatformNameFormat}} to read-write an 
on-disk structure that is based on FileVault but is not a content package. So 
it's not surprising that this edge case was not considered.

I would be fine with either:
- properly supporting hidden nodes as well
- failing fast if the node name is illegal

but I would obviously prefer the first option, as it would make my life simpler.

> PlatformNameFormat incorrectly sets repository names for nodes with double 
> colons
> ---------------------------------------------------------------------------------
>
>                 Key: JCRVLT-488
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-488
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: vlt
>    Affects Versions: 3.4.6
>            Reporter: Robert Munteanu
>            Priority: Major
>             Fix For: 3.4.8
>
>
> With a node name such as ":oak:mount-libs-nodetype" the 
> {{PlatformNameFormat}} class generates a platform name of 
> {{_%3aoak_mount-libs-nodetype}}, which looks incorrect : 
> - leading underscore should not be there
> - second underscore should not be there, as it's not part of a namespace 
> declaration



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to