Runs the test case.
Document doc;
DOMImplementation domImpl;
Document newDoc;
String namespaceURI = null;
String qualifiedName = "dom:root";
DocumentType docType = null;
doc = (Document) load("staffNS", false);
domImpl = doc.getImplementation();
{
boolean success = false;
try {
newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
} catch (DOMException ex) {
success = (ex.code == DOMException.NAMESPACE_ERR);
}
assertTrue("domimplementationcreatedocument04", success);
}