United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6475032 Regression: declaring a a duplicate Namespace mapping to an exisitng prefix:URI throws an Exception
JDK-6475032 : Regression: declaring a a duplicate Namespace mapping to an exisitng prefix:URI throws an Exception

Details
Type:
Bug
Submit Date:
2006-09-26
Status:
Resolved
Updated Date:
2012-04-24
Project Name:
JDK
Resolved Date:
2007-01-27
Component:
xml
OS:
generic
Sub-Component:
javax.xml.parsers
CPU:
generic
Priority:
P1
Resolution:
Fixed
Affected Versions:
5.0u8
Fixed Versions:
5.0u12 (b01)

Related Reports

Sub Tasks

Description
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 @:

https://jaxp-sources.dev.java.net/source/browse/jaxp-sources/jaxp-ri/src/unit-test/bug6467808/Bug.java

the fix is avialble @:

https://jaxp-sources.dev.java.net/source/browse/jaxp-sources/src/com/sun/org/apache/xalan/internal/xsltc/trax/Attic/SAX2DOM.java?only_with_tag=jaxp-1_3-j2se-5_0-branch

                                    

Comments
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.
                                     
2006-09-26



Hardware and Software, Engineered to Work Together