[
https://issues.apache.org/jira/browse/OAK-9513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Reschke updated OAK-9513:
--------------------------------
Summary: PrefixPattern ignores empty namespace prefix (was: PrefixPattern
ignores empty namespace perfix)
> PrefixPattern ignores empty namespace prefix
> --------------------------------------------
>
> Key: OAK-9513
> URL: https://issues.apache.org/jira/browse/OAK-9513
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, security
> Reporter: Angela Schreiber
> Assignee: Angela Schreiber
> Priority: Minor
> Fix For: 1.42.0, 1.22.15
>
>
> JCR defines an empty namespace with an empty prefix which applies to all item
> names that just consist of a local name:
> {quote}
> 3.2.5.3 Qualified Form with the Empty Namespace
> The qualified form of a name (““, L) (i.e., with the empty string as
> namespace) is not written as :L but simply as L. The former is not a valid
> qualified JCR name.
> {quote}
> while the {{PrefixPattern}} doesn't prevent the empty prefix to be defined as
> a prefix, it currently skips evaluation if prefix of the name to be evaluated
> is empty.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)