Runs the test case.
Document doc;
Attr attribute;
String namespaceURI = "http://www.W3.org/2000/xmlns";
String qualifiedName = "xmlns";
doc = (Document) load("staffNS", false);
{
boolean success = false;
try {
attribute = doc.createAttributeNS(namespaceURI, qualifiedName);
} catch (DOMException ex) {
success = (ex.code == DOMException.NAMESPACE_ERR);
}
assertTrue("documentcreateattributeNS07", success);
}