Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 90417 invoked from network); 2 Dec 2005 23:46:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Dec 2005 23:46:27 -0000 Received: (qmail 98070 invoked by uid 500); 2 Dec 2005 23:46:12 -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 96330 invoked by uid 99); 2 Dec 2005 23:46:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2005 15:46:02 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 193.19.192.5 is neither permitted nor denied by domain of the.mindstorm.mailinglist@gmail.com) Received: from [193.19.192.5] (HELO mail.evolva.ro) (193.19.192.5) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2005 14:47:27 -0800 Received: (qmail 4919 invoked by uid 1013); 2 Dec 2005 22:38:06 -0000 Received: from 86.55.40.139 by mail.evolva.ro (envelope-from , uid 89) with qmail-scanner-1.25 (clamdscan: 0.87.1/1167. Clear:RC:1(86.55.40.139):. Processed in 0.046806 secs); 02 Dec 2005 22:38:06 -0000 Received: from unknown (HELO ?192.168.62.51?) (alexandru.popescu@evolva.ro@86.55.40.139) by mail.evolva.ro with AES256-SHA encrypted SMTP; 2 Dec 2005 22:38:05 -0000 Message-ID: <4390CC8E.8010204@gmail.com> Date: Sat, 03 Dec 2005 00:37:02 +0200 From: Alexandru Popescu User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: node definition that allows both single and multi properties References: <43906BDF.8070104@gmail.com> In-Reply-To: <43906BDF.8070104@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 #: Alexandru Popescu changed the world a bit at a time by saying on 12/2/2005 5:44 PM :# > Hi! > > Is it possible to define a node that would allow both single and multi-value properties, in a > generic way? > > By taking a look at the nodeTypes definition it looks like when defining a property you are required > to specify if it is either single or multi-valued. This lead me to the conclusion that there is not > possible to define a generic node accepting any properties that may be either single or > multi-valued. Am I wrong? > > ./alex > -- > .w( the_mindstorm )p. > Is it possible to define 2 residual property types 1 as single and 1 as multiple? Something like: I am supposing that this should work, cause I guess this is the way nt:unstructured is defined. Am I getting things wrong? ./alex -- .w( the_mindstorm )p.