org.w3c.domts.level2.core
Class createElementNS04
public final class createElementNS04
The "createElementNS(namespaceURI,qualifiedName") method for
a Document should raise NAMESPACE_ERR DOMException if the
qualifiedName has an "xml" prefix and the namespaceURI is different
from http://www.w3.org/XML/1998/namespace".
Invoke method createElementNS(namespaceURI,qualifiedName) on this document
with qualifiedName being "xml:element1" and namespaceURI equals the string
"http://www.w3.org/XML/1997/namespace" (which differs from the required
string "http://www.w3.org/XML/1998/namespace").
Method should raise NAMESPACE_ERR DOMException.
String | getTargetURI()- Gets URI that identifies the test.
|
static void | main(String[] args)- Runs this test from the command line.
|
void | runTest()- Runs the test case.
|
assertEqualAutoCase, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsAutoCase, assertEqualsAutoCase, assertEqualsIgnoreCase, assertEqualsIgnoreCase, assertEqualsIgnoreCase, assertFalse, assertFalse, assertInstanceOf, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEqualsAutoCase, assertNotEqualsIgnoreCase, assertNotNull, assertNull, assertSame, assertSize, assertSize, assertSize, assertTrue, assertTrue, assertURIEquals, doMain, equals, equals, equals, equals, equals, equalsAutoCase, equalsAutoCase, equalsAutoCase, equalsIgnoreCase, equalsIgnoreCase, equalsIgnoreCase, fail, runTest, same, setFramework, size, size, size, wait |
createStream, createTempURI, createXPathEvaluator, getContentType, getFactory, getImplementation, getMutationCount, getResourceURI, getTargetURI, hasFeature, hasSetting, isCoalescing, isExpandEntityReferences, isHasNullString, isIgnoringElementContentWhitespace, isNamespaceAware, isSigned, isValidating, load, preload, setFactory |
getTargetURI
public String getTargetURI()
Gets URI that identifies the test.
- getTargetURI in interface DOMTest
main
public static void main(String[] args)
Runs this test from the command line.
args - command line arguments
runTest
public void runTest()
throws Throwable Runs the test case.
- runTest in interface DOMTestCase