Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 90678 invoked from network); 7 Sep 2009 11:56:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Sep 2009 11:56:20 -0000 Received: (qmail 96170 invoked by uid 500); 7 Sep 2009 11:56:20 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 96107 invoked by uid 500); 7 Sep 2009 11:56:20 -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 96099 invoked by uid 99); 7 Sep 2009 11:56:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 11:56:20 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 11:56:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CC27D234C044 for ; Mon, 7 Sep 2009 04:55:57 -0700 (PDT) Message-ID: <76529476.1252324557821.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 04:55:57 -0700 (PDT) From: =?utf-8?Q?S=C3=A9bastien_Launay_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-2297) Registering multiple node types with the same name in a single file must fail In-Reply-To: <1976496605.1252324078409.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2297?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] S=C3=A9bastien Launay updated JCR-2297: ---------------------------------- Attachment: JCR-2297-same-nt-name-must-fail-2009-09-07.patch The attached patch fixes the issue and add a test case for reproducing it. > Registering multiple node types with the same name in a single file must = fail > -------------------------------------------------------------------------= ---- > > Key: JCR-2297 > URL: https://issues.apache.org/jira/browse/JCR-2297 > Project: Jackrabbit Content Repository > Issue Type: Bug > Affects Versions: 1.6.0, 2.0-alpha9 > Reporter: S=C3=A9bastien Launay > Assignee: S=C3=A9bastien Launay > Priority: Minor > Attachments: JCR-2297-same-nt-name-must-fail-2009-09-07.patch > > > Registering node types from a file (XML or CND) containing multiple defin= itions with the same name will succeed and only the last definition will be= used. > The right behavior is to throw an exception as this kind of file is well-= formed but invalid. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.