e attribute " +
   "is already present. (setAttributeNS)")

// Step 2
test(function() {
  var el = document.createElement("foo")
  for (var i = 0, il = invalid_qnames.length; i < il; ++i) {
    assert_throws_dom("INVALID_CHARACTER_ERR",
                      function() { el.setAttributeNS("a", invalid_qnames[i], "fail") },
                      "Expected exception for " + invalid_qnames[i] + ".")
  }
}, "When qualifiedName does not match the QName production, an " +
   "INVALID_CHARACTER_ERR exception is to