Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 29479 invoked from network); 30 Nov 2005 13:09:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Nov 2005 13:09:55 -0000 Received: (qmail 61634 invoked by uid 500); 30 Nov 2005 13:09:53 -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 61623 invoked by uid 99); 30 Nov 2005 13:09:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2005 05:09:52 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 7B6C7CB for ; Wed, 30 Nov 2005 14:09:31 +0100 (CET) Message-ID: <926532262.1133356171503.JavaMail.jira@ajax.apache.org> Date: Wed, 30 Nov 2005 14:09:31 +0100 (CET) From: "Stefan Guggisberg (JIRA)" To: jackrabbit-dev@incubator.apache.org Subject: [jira] Closed: (JCR-283) NamespaceRegistry.registerNamespace(pre, uri) might accidentally remove namespace in certain situations In-Reply-To: <2010489145.1133350410980.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 [ http://issues.apache.org/jira/browse/JCR-283?page=all ] Stefan Guggisberg closed JCR-283: --------------------------------- Resolution: Fixed fixed in svn r349939 > NamespaceRegistry.registerNamespace(pre, uri) might accidentally remove namespace in certain situations > -------------------------------------------------------------------------------------------------------- > > Key: JCR-283 > URL: http://issues.apache.org/jira/browse/JCR-283 > Project: Jackrabbit > Type: Bug > Components: API > Environment: svn r349905 > Reporter: Stefan Guggisberg > Assignee: Stefan Guggisberg > Fix For: 1.0 > > assume the following mappings exist in the global NamespaceRegistry: > pre1 <-> uri1 > pre2 <-> uri2 > the following stmt correclty throws a NamespaceException, complaining that an existing prefix can not be remapped: > nsReg.registerNamespace("pre2", "uri1") > but, as a sideeffect, it has also removed the mapping pre1 <-> uri1. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira