[
https://issues.apache.org/jira/browse/OAK-11683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986137#comment-17986137
]
Konrad Windszus commented on OAK-11683:
---------------------------------------
Will check again for multithreading of tests, seems like a race condition.
> Prevent registration of invalid namespace URIs
> ----------------------------------------------
>
> Key: OAK-11683
> URL: https://issues.apache.org/jira/browse/OAK-11683
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
>
> In OAK-10304 additional logging was added whenever
> {{NamespaceRegistry.registerNamespace(...)}} was called with an invalid URI.
> However registering such invalid mapping was still supported and was leading
> to subtle issues whenever the expanded name form was used as JCR method
> argument (OAK-9584).
> To prevent this violation of the JCR spec (i.e. only supporting using
> qualified node names for illegal namespace URIs) I would opt for explicitly
> throwing an exception whenever an invalid URI is registered as namespace.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)