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

createAttributeNS of Document does not throw the DOMException(NAMESPACE_ERR)

XMLWordPrintable

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

      The createAttributeNS of Document Interface is supposed to throw an exception NAMESPACE_ERR if the qualifiedName has a prefix that is "xml" and the namespaceURI is neither null nor an empty string nor http://www.w3.org/XML/1998/namespace",
      or if the qualifiedName has a prefix that is "xmlns" but the namespaceURI is neither null nor an empty string.
      Howeer it sucessfully passes the test and does not throw this exception.
            

            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: