Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 86452 invoked from network); 16 Nov 2009 12:50:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Nov 2009 12:50:14 -0000 Received: (qmail 71563 invoked by uid 500); 16 Nov 2009 12:50:13 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 71515 invoked by uid 500); 16 Nov 2009 12:50:13 -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 71504 invoked by uid 99); 16 Nov 2009 12:50:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 12:50:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 16 Nov 2009 12:50:11 +0000 Received: (qmail 86391 invoked by uid 99); 16 Nov 2009 12:49:49 -0000 Received: from localhost.apache.org (HELO mail-fx0-f224.google.com) (127.0.0.1) (smtp-auth username bdelacretaz, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 12:49:49 +0000 Received: by fxm24 with SMTP id 24so416041fxm.11 for ; Mon, 16 Nov 2009 04:49:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.7.21 with SMTP id b21mr1192475fab.104.1258375787807; Mon, 16 Nov 2009 04:49:47 -0800 (PST) In-Reply-To: References: Date: Mon, 16 Nov 2009 13:49:47 +0100 Message-ID: Subject: Re: David's Model question : nt:unstructured and SNS From: Bertrand Delacretaz To: users@jackrabbit.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Nov 13, 2009 at 11:21 PM, Tobias Bocanegra wrote: > 2009/11/13 Fran=C3=A7ois Cassistat : >> ...Is there an easy way to disallow SNS other than defining a new node t= ype and setting all > new nodes in this type, so I can get ItemExistException on save to preven= t SNS > from happening? > > unfortunately not an easy one like changing the configuration.... Although that would be non-standard w.r.t JCR, I think such a "don't accept same-name siblings" configuration flag might be useful. It is relatively easy to end up with same-name siblings without really meaning to. -Bertrand