You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Angela Schreiber (Jira)" <ji...@apache.org> on 2021/07/23 11:43:00 UTC

[jira] [Created] (OAK-9513) PrefixPattern ignores empty namespace perfix

Angela Schreiber created OAK-9513:
-------------------------------------

             Summary: PrefixPattern ignores empty namespace perfix
                 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


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.3.4#803005)