DOM attributes can become unsorted

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 5.0, 6
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: