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

Konrad Windszus commented on OAK-11450:
---------------------------------------

Currently the test 
https://github.com/apache/jackrabbit-oak/blob/6acf9ec31646cb6b4d7b8cec8553945210a5617e/oak-core/src/test/java/org/apache/jackrabbit/oak/namepath/impl/GlobalNameMapperTest.java#L33
 does not at all check the special namespace "rep:internal"

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

Reply via email to