org.w3c.domts.level2.core
Class createAttributeNS04
public final class createAttributeNS04
The "createAttributeNS(namespaceURI,qualifiedName)" method for a
Document should raise NAMESPACE_ERR DOMException
if qualifiedName has the "xml" prefix and namespaceURI is different
from "http://www.w3.org/XML/1998/namespace".
Invoke method createAttributeNS(namespaceURI,qualifiedName) on this document
with qualifiedName being "xml:attr1 and namespaceURI equals
the string "http://www.w3.org/XML/1998/namespaces" (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