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 "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/09/28 07:53:00 UTC

[jira] [Created] (OAK-9586) SysViewImportHandler does not support expanded names in sv:name attributes

Konrad Windszus created OAK-9586:
------------------------------------

             Summary: SysViewImportHandler does not support expanded names in sv:name attributes
                 Key: OAK-9586
                 URL: https://issues.apache.org/jira/browse/OAK-9586
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: jcr
    Affects Versions: 1.40.0
            Reporter: Konrad Windszus


According to [JCR 2.0 7.2|https://docs.adobe.com/content/docs/en/spec/jcr/2.0/7_Export.html#7.2%20System%20View] there is no special rules for item names therefore according to https://docs.adobe.com/content/docs/en/spec/jcr/2.0/3_Repository_Model.html#3.2.6%20Use%20of%20Qualified%20and%20Expanded%20Names I would assume that both qualified and expanded names should be fine. 

But actually parsing of {{sv:name}} attributes (https://github.com/apache/jackrabbit-oak/blob/c6ddcc55bee3de915459af01e91edad32d538f3d/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/xml/SysViewImportHandler.java#L126) only supports qualified names (https://github.com/apache/jackrabbit-oak/blob/c6ddcc55bee3de915459af01e91edad32d538f3d/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/xml/TargetImportHandler.java#L137). 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)