Hi,

I am trying to understand a problem with an application where a
namespace prefix seems to be re-registered with a different URI.

I have a FileVault content package which contains both content.xml
files and a Sling repoinit file.

The content.xml files have declarations like

  <jcr:root xmlns:foo="http://foo.com"; ...

and the repoinit statements contain

  register namespace ( foo ) uri:http://foo.com

Obviously the 'uri:' prefix is not needed, but I am not sure where the
duplication is coming from. Hence the question - does FileVault
automatically register the namespaces when importing content? I found
some code hinting at that at [1], but I was unable to follow the
complete flow.

Thanks,
Robert

[1]: 
https://github.com/apache/jackrabbit-filevault/blob/70dfb76e5c5aef46866b6e31570ce6cea9c9ccd7/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/io/DocViewSAXImporter.java

Reply via email to