[
https://issues.apache.org/jira/browse/OAK-9586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17942184#comment-17942184
]
Manfred Baedke commented on OAK-9586:
-------------------------------------
That's true. Unfortunately, Jackrabbit 2 also doesn't cut it, because it will
fail if the namespace URI isn't mapped to a prefix.
> 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
> Assignee: Manfred Baedke
> Priority: Major
> Labels: namespace
>
> 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 in system view 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.20.10#820010)