Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 4420 invoked from network); 16 Aug 2006 19:03:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Aug 2006 19:03:20 -0000 Received: (qmail 64827 invoked by uid 500); 16 Aug 2006 19:03:19 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 64803 invoked by uid 500); 16 Aug 2006 19:03:19 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 64794 invoked by uid 99); 16 Aug 2006 19:03:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 12:03:19 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of tobias.strasser@gmail.com designates 64.233.182.185 as permitted sender) Received: from [64.233.182.185] (HELO nf-out-0910.google.com) (64.233.182.185) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 12:03:18 -0700 Received: by nf-out-0910.google.com with SMTP id p77so858044nfc for ; Wed, 16 Aug 2006 12:02:57 -0700 (PDT) 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=EWT3L6cs3M0wQpCOaLTK+HtaSCfGEZOgv2cJcIOosK5eMib97rF8grON+LnpphpTmEuCnCayQw+1L8mpB1psO9Tw9DVq7IZPBl+xt9ckB+vHJiVdO61LUikSJeNww9HM4IQIMab9GkBWI7gFzGTHC0VaSFhcOMBL1LMKUJkrwTw= Received: by 10.49.91.6 with SMTP id t6mr1120452nfl; Wed, 16 Aug 2006 12:02:57 -0700 (PDT) Received: by 10.78.50.18 with HTTP; Wed, 16 Aug 2006 12:02:56 -0700 (PDT) Message-ID: <8be731880608161202y18f51687td98590ded0fd4aa8@mail.gmail.com> Date: Wed, 16 Aug 2006 21:02:56 +0200 From: "Tobias Bocanegra" Reply-To: tobias.bocanegra@day.com Sender: tobias.strasser@gmail.com To: dev@jackrabbit.apache.org Subject: Re: Multiple inheritance In-Reply-To: <20060816184649.170D712485B@ancalagon.ibest.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060816184649.170D712485B@ancalagon.ibest.com.br> X-Google-Sender-Auth: 61b3a3cbe92cdd00 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Hi; > If this question was already answered, my apologies, but I don't find such answer and need to know if Jackrabbit is ready for multiple inheritance. > For instance, if I have declared the following structure of node types: > > nt:base > | > node:base > ____|________________________ > | | | > node:file node:folder node:added > |______________| > | > node:final > > So, the xml for the node:final would be like: > > > > node:folder > node:added > > ... > > > Will it work in Jackrabbit? I saw some declarations that use two supertypes but one of them is mixin, is the same thing putting more than one supertype of custom node type? yes. this should work. > If it is ok for Jackrabbit, so when I query for node:base I will get node:final too? yes. regards, toby -- -----------------------------------------< 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 >---