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

    XMLWordPrintable

Details

    • b01
    • generic
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: