Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 27850 invoked from network); 16 Nov 2006 11:05:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2006 11:05:29 -0000 Received: (qmail 48275 invoked by uid 500); 16 Nov 2006 11:05:38 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 48266 invoked by uid 500); 16 Nov 2006 11:05:38 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 48257 invoked by uid 99); 16 Nov 2006 11:05:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 03:05:38 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of tobias.strasser@gmail.com designates 64.233.162.197 as permitted sender) Received: from [64.233.162.197] (HELO nz-out-0102.google.com) (64.233.162.197) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 03:05:25 -0800 Received: by nz-out-0102.google.com with SMTP id s18so301608nze for ; Thu, 16 Nov 2006 03:05:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=KsXMTc9b4sNrMhUEciV666/RFcGrGblenMCAOm/EaA9Af1s+hOr/gd+1zyCjYoTaDolF69L0wrODgV6uu5wO6+rDsiiWLUvylG0Qh6ZyyHvbHWVbMwVTOdOg1K0/As4Ozy21RXYYfQ0YJdPKIP7vFjRHjDWxrtDJCHFoMk+BaYI= Received: by 10.65.213.13 with SMTP id p13mr66030qbq.1163675104136; Thu, 16 Nov 2006 03:05:04 -0800 (PST) Received: by 10.65.72.14 with HTTP; Thu, 16 Nov 2006 03:05:04 -0800 (PST) Message-ID: <8be731880611160305n1b2309a3r1b1a6d63c1053936@mail.gmail.com> Date: Thu, 16 Nov 2006 12:05:04 +0100 From: "Tobias Bocanegra" Reply-To: tobias.bocanegra@day.com Sender: tobias.strasser@gmail.com To: users@jackrabbit.apache.org Subject: Re: Creating NodeType with dynamic, linked properties In-Reply-To: <2f35a2640611160301h74edd4a4j2e72c50c42b92d41@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061116092828.90025.qmail@web60019.mail.yahoo.com> <90a8d1c00611160146u345d5ccfg46c88d2e359b9c00@mail.gmail.com> <2f35a2640611160156g6b6a7666qe73d10573ecde53d@mail.gmail.com> <90a8d1c00611160205q550879fj1f00199f090259f3@mail.gmail.com> <2f35a2640611160207vf65f591h1f634d46c3776e4a@mail.gmail.com> <90a8d1c00611160210u59f0820duf03582dc3b572ac2@mail.gmail.com> <2f35a2640611160245m713f881h11aede30ea5df17e@mail.gmail.com> <8be731880611160248w7e0a0862l4aa8987d6c99b3f1@mail.gmail.com> <2f35a2640611160251w5fe80ed5y9ac9159289e09f25@mail.gmail.com> <2f35a2640611160301h74edd4a4j2e72c50c42b92d41@mail.gmail.com> X-Google-Sender-Auth: fff792ec1f24ae8c X-Virus-Checked: Checked by ClamAV on apache.org yes, but the CND parser automatically adds nt:base as supertype, if needed. for jackrabbit 1.1, this is automatically done when registering the nodetype. see: http://issues.apache.org/jira/browse/JCR-433 regards, toby On 11/16/06, Ted Roeloffzen wrote: > But when we extend from mix:referenceable we also have to extend from > nt:base, right? Because every primarytype should directly or indirectly > extend from nt:base and mix:referenceable has no supertype. > > Ted > > 2006/11/16, Ted Roeloffzen : > > > > I copied it from the jackrabbit example on the site. > > So the example on the site should be altered, because it isn't correct. > > > > Ted > > > > 2006/11/16, Tobias Bocanegra < tobias.bocanegra@day.com>: > > > > > > > mix:referencable > > > < mix:referenceable > > > > > > :-) > > > > > > On 11/16/06, Ted Roeloffzen wrote: > > > > When I extend my nodetype from mix:referencable I get an exception. > > > > Invalid supertype. > > > > > > > > Do you have any idea what this could be? > > > > > > > > Ted > > > > > > > > 2006/11/16, Stefan Guggisberg : > > > > > > > > > > On 11/16/06, Ted Roeloffzen wrote: > > > > > > So that would mean that those nodetype are referenceable by > > > default? > > > > > > > > > > yes > > > > > > > > > > > > > > > > > Ted > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > -----------------------------------------< tobias.bocanegra@day.com >--- > > > Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel > > > T +41 61 226 98 98, F +41 61 226 98 97 > > > -----------------------------------------------< http://www.day.com >--- > > > > > > > > > -- -----------------------------------------< tobias.bocanegra@day.com >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---