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

Element.getAttributeNode is throwing DOM Exception which it supposed not to

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • deploy
    • x86
    • windows_nt

      Element.getAttributeNode(name) is throwing DOM Exception while accoring to Java Docs & also according to the source file, it is not supposed to throw any such Exception. This method returns an attribute node by name & it's supposed to return null if the specified attribute is not there.
      Even Element.removeAttribute() is throwing the same exception as it might be giving call to getAttributeNode() internally to get the requested attribute to be removed.
      Run the attached file & if you find "sun.plugin.dom.exception.NotSupportedException: Element.getAttributeNode() is not supported
      " displayed on the loaded applet than the bug is reproduced

            zgu Zhengyu Gu
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: