Highlighted

Include New Namespace in CRX package

James_R_Green

21-06-2019

Has anyone got an example of including a new namespace in a CRX package.

I have tried adding a cnd to:

ui.apps/src/main/content/META-INF/vault/abc.cnd

<abc='def'>

but this doesn't work.

The only way to get the new namespace to register seems to be to import a node that includes the name space e.g.

<jcr:root xmlns:abc="def" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dam="http://www.day.com/dam/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"

Has anyone got an example package that includes a new namespace?