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

setAttribute,setAttributeNS,setAttributeNode,setAttributeNodeNS do not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1
    • tr3
    • xml
    • 1.1fcs
    • sparc
    • solaris_8
    • Verified

      The setAttribute,setAttributeNS,setAttributeNode,setAttributeNodeNS are not working in jaxp 1.1.

      The setAttributeNode and setAttribute work with jaxp 1.0.1 and not with jaxp1.1
      They throw the following exception
      Exception in thread "main" org.apache.crimson.tree.DomEx: The attribute is bound to a different element.
      I have attached a program to show this.

      Also the methods setAttributeNS and setAttributeNodeNS throws this exception
      org.apache.crimson.tree.DomEx: That node doesn't belong in this document.

             

            egoei Edwin Goei (Inactive)
            bhamehta Bhakti Mehta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: