Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6475032

Regression: declaring a a duplicate Namespace mapping to an exisitng prefix:URI throws an Exception

    Details

    • Subcomponent:
    • Introduced In Version:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic

      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

        Attachments

          Activity

            People

            • Assignee:
              asaha Abhijit Saha
              Reporter:
              jsuttorsunw Jeff Suttor (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: