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

Tobias Bocanegra commented on JCRVLT-303:
-----------------------------------------

the importer is based on URIs and does ignore the prefixes. eg:
https://github.com/apache/jackrabbit-filevault/blob/92ca7ec8b873c804d1e398d6207bd9a9b7e8caf8/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/io/DocViewSAXImporter.java#L496

[~marett] can you provide a test that shows the problem?

> Register namespace under a unique prefix in case of clash
> ---------------------------------------------------------
>
>                 Key: JCRVLT-303
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-303
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: Packaging, vlt
>    Affects Versions: 3.1.44
>            Reporter: Timothee Maret
>            Priority: Major
>
> With AEM DAM system, some parts of XMP metadata are backed by JCR namespaces.
> An asset may contain metadata which namespace conflicts with already 
> registered JCR namespace.
> Those conflict prevent content packages to be imported, which is a functional 
> issue for DAM system aiming at ingesting any asset.
> This issue is about mitigating namespace conflicts, by generating new 
> namespaces when they occur.
> Assuming a namespace with prefix {{N1}} and URI {{U1}} is already registered.
> When importing a content package containing a conflicting namespace with 
> prefix {{N1}} and URI {{U2}}, instead of failing, we would import the content 
> with a new namespace prefix {{N1_1}} and URI {{U2}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to