JDK-6475032 : Regression: declaring a a duplicate Namespace mapping to an exisitng prefix:URI throws an Exception
  • Type: Bug
  • Component: xml
  • Sub-Component: javax.xml.parsers
  • Affected Version: 5.0u8
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-09-26
  • Updated: 2012-04-24
  • Resolved: 2007-01-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
5.0u12 b01Fixed
if a prefix:NamespaceURI mapping already exists, an attempt to re-declare the prefix:Namespace mapping with the same value throws an Exception.

a unit test is available @:


the fix is avialble @:


EVALUATION the fix is available from the the JAXP project @ java.net. see CR description. also be sure to see CR 6467808 for more information.