Hi,

On Mon, Oct 26, 2009 at 2:55 PM, sorel <[email protected]> wrote:
> Or is it said in JCR that the result must be null rather than an empty array?

Yes:

    In implementations that support node type registration, if this
    NodeTypeDefinition object is actually a newly-created empty
    NodeTypeTemplate, then this method will return null.

http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/nodetype/NodeTypeDefinition.html

BR,

Jukka Zitting

Reply via email to