jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-283) NamespaceRegistry.registerNamespace(pre, uri) might accidentally remove namespace in certain situations
Date Wed, 30 Nov 2005 11:33:30 GMT
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
 Assigned to: 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


Mime
View raw message