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

Julian Reschke commented on OAK-9513:
-------------------------------------

trunk: (1.44.0) 
[eda02347fc|https://github.com/apache/jackrabbit-oak/commit/eda02347fc238a48b044766a3407d7ec1e2a5154]
1.22: 
[20818f2190|https://github.com/apache/jackrabbit-oak/commit/20818f2190d79aba4d460c7ff5634b5342ac3752]


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

Reply via email to