[
https://issues.apache.org/jira/browse/OAK-11450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923044#comment-17923044
]
Konrad Windszus commented on OAK-11450:
---------------------------------------
The only implication right now seems to be that
https://github.com/apache/jackrabbit-oak/blob/ad3254e47477bd7a79f053c913f3771c8742f5f6/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/impl/LocalNameMapper.java#L59
doesn't throw an exception for those expanded names (which are invalid Oak
names).
> GlobalNameMapper.isExpandedName() does sometimes return incorrect results
> -------------------------------------------------------------------------
>
> Key: OAK-11450
> URL: https://issues.apache.org/jira/browse/OAK-11450
> Project: Jackrabbit Oak
> Issue Type: Bug
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
>
> The method
> https://github.com/apache/jackrabbit-oak/blob/6acf9ec31646cb6b4d7b8cec8553945210a5617e/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/impl/GlobalNameMapper.java#L67
> does incorrectly return false for
> # The empty namespace URL, e.g.
> {code}
> {}something
> {code}
> # The internal namespace URL, e.g.
> {code}
> {internal}something
> {code}
> Both are valid (at least for Oak) expanded names and therefore should return
> {{true}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)