Runs the test case.
Document doc;
DOMImplementation domImpl;
Document newDoc;
String namespaceURI = "http://www.w3.org/xml/1998/namespace";
String qualifiedName = "xml: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("domimplementationcreatedocument05", success);
}