Runs the test case.
String namespaceURI = "http://www.example.org/schema";
DocumentType docType = null;
DOMImplementation domImpl;
Document aNewDoc;
String charact;
domImpl = getImplementation();
{
boolean success = false;
try {
aNewDoc = domImpl.createDocument(namespaceURI, "", docType);
} catch (DOMException ex) {
success = (ex.code == DOMException.INVALID_CHARACTER_ERR);
}
assertTrue("throw_INVALID_CHARACTER_ERR", success);
}