jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-433) NodeTypeRegistry could auto-subtype from nt:base
Date Sat, 13 May 2006 11:21:08 GMT
NodeTypeRegistry could auto-subtype from nt:base

         Key: JCR-433
         URL: http://issues.apache.org/jira/browse/JCR-433
     Project: Jackrabbit
        Type: Improvement

  Components: nodetype  
    Versions: 1.0, 0.9    
    Reporter: Tobias Bocanegra
 Assigned to: Stefan Guggisberg 

when tying to register a (primary) nodetype that does not extend from nt:base the following
error is

"all primary node types except nt:base itself must be (directly or indirectly) derived from

since the registry is able to detect this error, it would be easy to auto-subtype all nodetypes
from nt:base. imo it's pointless to explzitely add the nt:base to every supperclass set. as
an analogy, you don't need to 'extend from java.lang.Object' explicitely - the compiler does
that automatically for your.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message