Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 32725 invoked from network); 1 Feb 2006 13:56:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Feb 2006 13:56:04 -0000 Received: (qmail 7535 invoked by uid 500); 1 Feb 2006 13:56:01 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 7408 invoked by uid 99); 1 Feb 2006 13:56:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 05:55:59 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 936B8E0 for ; Wed, 1 Feb 2006 14:55:38 +0100 (CET) Message-ID: <1688096771.1138802138600.JavaMail.jira@ajax.apache.org> Date: Wed, 1 Feb 2006 14:55:38 +0100 (CET) From: "Tobias Bocanegra (JIRA)" To: jackrabbit-dev@incubator.apache.org Subject: [jira] Assigned: (JCR-312) CompactNodeTypeDefReader adds nt:base as declared supertype even if already extending In-Reply-To: <620196805.1138802136789.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JCR-312?page=all ] Tobias Bocanegra reassigned JCR-312: ------------------------------------ Assign To: Tobias Bocanegra > CompactNodeTypeDefReader adds nt:base as declared supertype even if already extending > ------------------------------------------------------------------------------------- > > Key: JCR-312 > URL: http://issues.apache.org/jira/browse/JCR-312 > Project: Jackrabbit > Type: Bug > Environment: nt-ns-util r374055 > Reporter: Tobias Bocanegra > Assignee: Tobias Bocanegra > > (reported to the list by michael singer) > I wrote a simple program which uses the nt-ns-util contribution to > register custom node types written in CND language. > I defined the following (very simple) custom node types: > > [test:firstnodetype] > + test:secondnodetype mandatory > > [test:secondnodetype] > test:firstnodetype > + test:thirdnodetype > > [test:thirdnodetype] > test:secondnodetype > - test:catalog (string) < 'URI', 'URN', 'DOI', 'ISBN', 'ISSN' > - test:entry (string) m > In the resulting custom_nodetypes.xml each of the custom nodes has a > supertype of "nt:base" but I didn't explicitely define a supertype of > "nt:base" for [test:secondnodetype] and [test:thirdnodetype]. > I think this behavior is wrong since the method getDeclaredSupertypes() > of class NodeType always returns "nt:base" plus the explicitely declared > Supertype (which it e.g. does not for "nt:folder"). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira