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

DOM attributes can become unsorted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 5.0, 6
    • xml
    • 1.4
    • generic, x86
    • generic, windows_vista
    • Verified

        A call to setAttributeNS() can change the namespace prefix of an attribute. If it does, the internal list of attributes may become unsorted. A binary search is used to find attributes in that list so as soon as it becomes unsorted, some attributes become inaccessible which completely breaks the API.
        The fix is checked into java.net with a test case.

              nwalshsunw Norman Walsh (Inactive)
              nwalshsunw Norman Walsh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: