Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9513

PrefixPattern ignores empty namespace prefix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.42.0, 1.22.15
    • core, security
    • None

    Description

      JCR defines an empty namespace with an empty prefix which applies to all item names that just consist of a local name:

      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.

      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.

      Attachments

        Issue Links

          Activity

            People

              angela Angela Schreiber
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: