Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 12169 invoked from network); 21 Oct 2005 14:33:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Oct 2005 14:33:35 -0000 Received: (qmail 63449 invoked by uid 500); 21 Oct 2005 14:33:31 -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 63407 invoked by uid 99); 21 Oct 2005 14:33:31 -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; Fri, 21 Oct 2005 07:33:30 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 834DA591 for ; Fri, 21 Oct 2005 16:33:09 +0200 (CEST) Message-ID: <1559821779.1129905189534.JavaMail.jira@ajax.apache.org> Date: Fri, 21 Oct 2005 16:33:09 +0200 (CEST) From: "Stefan Guggisberg (JIRA)" To: jackrabbit-dev@incubator.apache.org Subject: [jira] Closed: (JCR-242) registration of new namespace does not respect existing session mappings In-Reply-To: <1154112813.1128531467865.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-242?page=all ] Stefan Guggisberg closed JCR-242: --------------------------------- Resolution: Fixed fixed in svn r327199 > registration of new namespace does not respect existing session mappings > ------------------------------------------------------------------------ > > Key: JCR-242 > URL: http://issues.apache.org/jira/browse/JCR-242 > Project: Jackrabbit > Type: Bug > Environment: r295031 > Reporter: Tobias Strasser > Assignee: Stefan Guggisberg > Priority: Minor > Fix For: 1.0 > > consider the following (starting with a default namespace registry): > // remap nt namespace > Session.setNamespacePrefix("foobar", "http://www.jcp.org/jcr/nt/1.0"); > // create new namespace > NamespaceRegistry.registerNamespace("foobar", "http://www.foo.org/bar/1.0"); > now the session used above that remapped the nt namespace has an ambigous namespace mapping: > foobar --> "http://www.jcp.org/jcr/nt/1.0" > "http://www.jcp.org/jcr/nt/1.0" --> foobar > "http://www.foo.org/bar/1.0" --> foobar > i.e. the new foobar namespace is hidden for this session. either the registration should not work, or an automatic prefix is to be defined in all local session mappings. -- 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