Hello everyone!

I would like to register a custom nodetype with my own namespace, e.g. 
my:nodetype - I have created an XML file with nodetype definition:

[code]<nodeTypes xmlns:rep="internal" xmlns:nt="http://www.jcp.org/jcr/nt/1.0";
        xmlns:mix="http://www.jcp.org/jcr/mix/1.0"; 
xmlns:mgnl="http://www.magnolia.info/jcr/mgnl";
        xmlns:jcr="http://www.jcp.org/jcr/1.0"; 
xmlns:my="http://www.openinteractive.ch/jcr/my";>

        <!-- SHOWING -->
        <nodeType name="my:nodetype" isMixin="false" 
hasOrderableChildNodes="true" primaryItemName="">
                <supertypes>
                        <supertype>mgnl:content</supertype>
                </supertypes>
        </nodeType>

</nodeTypes>[/code]

But I am getting the following exception on Magnolia startup:

[code]javax.jcr.NamespaceException: http://www.openinteractive.ch/jcr/my: is 
not a registered namespace uri.[/code]


Is there any possibility to register such namespace, or do I have to keep using 
[b]mgnl:[/b] prefix?


Thanks,

Jozef.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=7e98abbf-bff5-4620-b4e1-e53e8489330a


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to