Below you will find a description of and pointer to each test in the DOM TS categorized under interface, attribute and method,
sorted alphabetically.
| Attribute | Tests |
| data |
| cdataSectionGetValue (XML Java)
The DOMString attribute of the Text node holds the text
that is contained by the CDATA section.
Retrieve the last CDATASection node located inside the
second child of the second employee and examine its
content. Since the CDATASection interface inherits
from the CharacterData interface(via the Text node),
the "getData()" method can be used to access the
CDATA content.
|
| characterdataAppendData (XML Java)
The "appendData(arg)" method appends a string to the end
of the character data of the node.
Retrieve the character data from the second child
of the first employee. The appendData(arg) method is
called with arg=", Esquire". The method should append
the specified data to the already existing character
data. The new value return by the "getLength()" method
should be 24.
|
| characterdataAppendDataGetData (XML Java)
On successful invocation of the "appendData(arg)"
method the "getData()" method provides access to the
concatentation of data and the specified string.
Retrieve the character data from the second child
of the first employee. The appendData(arg) method is
called with arg=", Esquire". The method should append
the specified data to the already existing character
data. The new value return by the "getData()" method
should be "Margaret Martin, Esquire".
|
| characterdataDeleteDataEnd (XML Java)
The "deleteData(offset,count)" method removes a range of
characters from the node. Delete data at the end
of the character data.
Retrieve the character data from the last child of the
first employee. The "deleteData(offset,count)"
method is then called with offset=30 and count=5.
The method should delete the characters from position
30 thru position 35. The new value of the character data
should be "1230 North Ave. Dallas, Texas".
|
| characterdataDeleteDataExceedsLength (XML Java)
If the sum of the offset and count used in the
"deleteData(offset,count) method is greater than the
length of the character data then all the characters
from the offset to the end of the data are deleted.
Retrieve the character data from the last child of the
first employee. The "deleteData(offset,count)"
method is then called with offset=4 and count=50.
The method should delete the characters from position 4
to the end of the data since the offset+count(50+4)
is greater than the length of the character data(35).
The new value of the character data should be "1230".
|
| characterdataDeleteDataGetLengthAndData (XML Java)
On successful invocation of the "deleteData(offset,count)"
method, the "getData()" and "getLength()" methods reflect
the changes.
Retrieve the character data from the last child of the
first employee. The "deleteData(offset,count)"
method is then called with offset=30 and count=5.
The method should delete the characters from position
30 thru position 35. The new value of the character data
should be "1230 North Ave. Dallas, Texas" which is
returned by the "getData()" method and "getLength()"
method should return 30".
|
| characterdataDeleteDataMiddle (XML Java)
The "deleteData(offset,count)" method removes a range of
characters from the node. Delete data in the middle
of the character data.
Retrieve the character data from the last child of the
first employee. The "deleteData(offset,count)"
method is then called with offset=16 and count=8.
The method should delete the characters from position
16 thru position 24. The new value of the character data
should be "1230 North Ave. Texas 98551".
|
| characterdataGetData (XML Java)
The "getData()" method retrieves the character data
currently stored in the node.
Retrieve the character data from the second child
of the first employee and invoke the "getData()"
method. The method returns the character data
string.
|
| characterdataGetLength (XML Java)
The "getLength()" method returns the number of characters
stored in this nodes data.
Retrieve the character data from the second
child of the first employee and examine the
value returned by the getLength() method.
|
| characterdataInsertDataEnd (XML Java)
The "insertData(offset,arg)" method will insert a string
at the specified character offset. Insert the data at
the end of the character data.
Retrieve the character data from the second child of
the first employee. The "insertData(offset,arg)"
method is then called with offset=15 and arg=", Esquire".
The method should insert the string ", Esquire" at
position 15. The new value of the character data should
be "Margaret Martin, Esquire".
|
| characterdataInsertDataMiddle (XML Java)
The "insertData(offset,arg)" method will insert a string
at the specified character offset. Insert the data in
the middle of the character data.
Retrieve the character data from the second child of
the first employee. The "insertData(offset,arg)"
method is then called with offset=9 and arg="Ann".
The method should insert the string "Ann" at position 9.
The new value of the character data should be
"Margaret Ann Martin".
|
| characterdataReplaceDataEnd (XML Java)
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string. Test for replacement at the
end of the data.
Retrieve the character data from the last child of the
first employee. The "replaceData(offset,count,arg)"
method is then called with offset=30 and count=5 and
arg="98665". The method should replace characters 30
thru 34 of the character data with "98665".
|
| characterdataReplaceDataExceedsLengthOfArg (XML Java)
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string. Test the situation where the length
of the arg string is greater than the specified offset.
Retrieve the character data from the last child of the
first employee. The "replaceData(offset,count,arg)"
method is then called with offset=0 and count=4 and
arg="260030". The method should replace characters one
thru four with "260030". Note that the length of the
specified string is greater that the specified offset.
|
| characterdataReplaceDataExceedsLengthOfData (XML Java)
If the sum of the offset and count exceeds the length then
all the characters to the end of the data are replaced.
Retrieve the character data from the last child of the
first employee. The "replaceData(offset,count,arg)"
method is then called with offset=0 and count=50 and
arg="2600". The method should replace all the characters
with "2600". This is because the sum of the offset and
count exceeds the length of the character data.
|
| characterdataReplaceDataMiddle (XML Java)
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string. Test for replacement in the
middle of the data.
Retrieve the character data from the last child of the
first employee. The "replaceData(offset,count,arg)"
method is then called with offset=5 and count=5 and
arg="South". The method should replace characters five
thru 9 of the character data with "South".
|
| characterdataSetDataNoModificationAllowedErr (XML Java)
The "setData(data)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
Obtain the children of the THIRD "gender" element. The elements
content is an entity reference. Get the FIRST item
from the entity reference and execute the "setData(data)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| characterdataSetDataNoModificationAllowedErrEE (XML Java)
The "setData(data)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
Obtain the children of the THIRD "gender" element. The elements
content is an entity reference. Get the FIRST item
from the entity reference and execute the "setData(data)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| characterdataSetNodeValue (XML Java)
The "setNodeValue()" method changes the character data
currently stored in the node.
Retrieve the character data from the second child
of the first employee and invoke the "setNodeValue()"
method, call "getData()" and compare.
|
|
| length |
| characterdataDeleteDataGetLengthAndData (XML Java)
On successful invocation of the "deleteData(offset,count)"
method, the "getData()" and "getLength()" methods reflect
the changes.
Retrieve the character data from the last child of the
first employee. The "deleteData(offset,count)"
method is then called with offset=30 and count=5.
The method should delete the characters from position
30 thru position 35. The new value of the character data
should be "1230 North Ave. Dallas, Texas" which is
returned by the "getData()" method and "getLength()"
method should return 30".
|
| characterdataGetLength (XML Java)
The "getLength()" method returns the number of characters
stored in this nodes data.
Retrieve the character data from the second
child of the first employee and examine the
value returned by the getLength() method.
|
|
| Method | Tests |
| appendData |
| characterdataAppendData (XML Java)
The "appendData(arg)" method appends a string to the end
of the character data of the node.
Retrieve the character data from the second child
of the first employee. The appendData(arg) method is
called with arg=", Esquire". The method should append
the specified data to the already existing character
data. The new value return by the "getLength()" method
should be 24.
|
| characterdataAppendDataGetData (XML Java)
On successful invocation of the "appendData(arg)"
method the "getData()" method provides access to the
concatentation of data and the specified string.
Retrieve the character data from the second child
of the first employee. The appendData(arg) method is
called with arg=", Esquire". The method should append
the specified data to the already existing character
data. The new value return by the "getData()" method
should be "Margaret Martin, Esquire".
|
| characterdataAppendDataNoModificationAllowedErr (XML Java)
The "appendData(arg)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
Obtain the children of the THIRD "gender" element. The elements
content is an entity reference. Get the FIRST item
from the entity reference and execute the "appendData(arg)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| characterdataAppendDataNoModificationAllowedErrEE (XML Java)
The "appendData(arg)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
Add an entity reference to the THIRD "gender" element. The elements
content is an entity reference. Get the FIRST item
from the entity reference and execute the "appendData(arg)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
|
| deleteData |
| characterdataDeleteDataBeginning (XML Java)
The "deleteData(offset,count)" method removes a range of
characters from the node. Delete data at the beginning
of the character data.
Retrieve the character data from the last child of the
first employee. The "deleteData(offset,count)"
method is then called with offset=0 and count=16.
The method should delete the characters from position
0 thru position 16. The new value of the character data
should be "Dallas, Texas 98551".
|
| characterdataDeleteDataEnd (XML Java)
The "deleteData(offset,count)" method removes a range of
characters from the node. Delete data at the end
of the character data.
Retrieve the character data from the last child of the
first employee. The "deleteData(offset,count)"
method is then called with offset=30 and count=5.
The method should delete the characters from position
30 thru position 35. The new value of the character data
should be "1230 North Ave. Dallas, Texas".
|
| characterdataDeleteDataExceedsLength (XML Java)
If the sum of the offset and count used in the
"deleteData(offset,count) method is greater than the
length of the character data then all the characters
from the offset to the end of the data are deleted.
Retrieve the character data from the last child of the
first employee. The "deleteData(offset,count)"
method is then called with offset=4 and count=50.
The method should delete the characters from position 4
to the end of the data since the offset+count(50+4)
is greater than the length of the character data(35).
The new value of the character data should be "1230".
|
| characterdataDeleteDataGetLengthAndData (XML Java)
On successful invocation of the "deleteData(offset,count)"
method, the "getData()" and "getLength()" methods reflect
the changes.
Retrieve the character data from the last child of the
first employee. The "deleteData(offset,count)"
method is then called with offset=30 and count=5.
The method should delete the characters from position
30 thru position 35. The new value of the character data
should be "1230 North Ave. Dallas, Texas" which is
returned by the "getData()" method and "getLength()"
method should return 30".
|
| characterdataDeleteDataMiddle (XML Java)
The "deleteData(offset,count)" method removes a range of
characters from the node. Delete data in the middle
of the character data.
Retrieve the character data from the last child of the
first employee. The "deleteData(offset,count)"
method is then called with offset=16 and count=8.
The method should delete the characters from position
16 thru position 24. The new value of the character data
should be "1230 North Ave. Texas 98551".
|
| characterdataDeleteDataNoModificationAllowedErr (XML Java)
The "deleteData(offset,count)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
Obtain the children of the THIRD "gender" element. The elements
content is an entity reference. Get the FIRST item
from the entity reference and execute the "deleteData(offset,count)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| characterdataDeleteDataNoModificationAllowedErrEE (XML Java)
The "deleteData(offset,count)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
Obtain the children of the THIRD "gender" element. Add an reference to ent4.
Get the FIRST item from the entity reference and execute the
"deleteData(offset,count)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| characterdataIndexSizeErrDeleteDataOffsetGreater (XML Java)
The "deleteData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is greater that the number of characters in the string.
Retrieve the character data of the last child of the
first employee and invoke its "deleteData(offset,count)"
method with offset=40 and count=3. It should raise the
desired exception since the offset is greater than the
number of characters in the string.
|
| characterdataIndexSizeErrDeleteDataOffsetNegative (XML Java)
The "deleteData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is negative.
Retrieve the character data of the last child of the
first employee and invoke its "deleteData(offset,count)"
method with offset=-5 and count=3. It should raise the
desired exception since the offset is negative.
|
| characterdataIndexSizeErrInsertDataOffsetGreater (XML Java)
The "insertData(offset,arg)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is greater than the number of characters in the string.
Retrieve the character data of the last child of the
first employee and invoke its insertData"(offset,arg)"
method with offset=40 and arg="ABC". It should raise
the desired exception since the offset is greater than
the number of characters in the string.
|
| characterdataIndexSizeErrReplaceDataOffsetGreater (XML Java)
The "replaceData(offset,count,arg)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is greater than the length of the string.
Retrieve the character data of the last child of the
first employee and invoke its
"replaceData(offset,count,arg) method with offset=40
and count=3 and arg="ABC". It should raise the
desired exception since the offset is greater than the
length of the string.
|
|
| insertData |
| characterdataInsertDataBeginning (XML Java)
The "insertData(offset,arg)" method will insert a string
at the specified character offset. Insert the data at
the beginning of the character data.
Retrieve the character data from the second child of
the first employee. The "insertData(offset,arg)"
method is then called with offset=0 and arg="Mss.".
The method should insert the string "Mss." at position 0.
The new value of the character data should be
"Mss. Margaret Martin".
|
| characterdataInsertDataEnd (XML Java)
The "insertData(offset,arg)" method will insert a string
at the specified character offset. Insert the data at
the end of the character data.
Retrieve the character data from the second child of
the first employee. The "insertData(offset,arg)"
method is then called with offset=15 and arg=", Esquire".
The method should insert the string ", Esquire" at
position 15. The new value of the character data should
be "Margaret Martin, Esquire".
|
| characterdataInsertDataMiddle (XML Java)
The "insertData(offset,arg)" method will insert a string
at the specified character offset. Insert the data in
the middle of the character data.
Retrieve the character data from the second child of
the first employee. The "insertData(offset,arg)"
method is then called with offset=9 and arg="Ann".
The method should insert the string "Ann" at position 9.
The new value of the character data should be
"Margaret Ann Martin".
|
| characterdataInsertDataNoModificationAllowedErr (XML Java)
The "insertData(offset,arg)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
Obtain the children of the THIRD "gender" element. The elements
content is an entity reference. Get the FIRST item
from the entity reference and execute the "insertData(offset,arg)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| characterdataInsertDataNoModificationAllowedErrEE (XML Java)
The "insertData(offset,arg)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
Create an entity reference and execute the "insertData(offset,arg)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
|
| replaceData |
| characterdataIndexSizeErrInsertDataOffsetNegative (XML Java)
The "insertData(offset,arg)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is negative.
Retrieve the character data of the last child of the
first employee and invoke its insertData"(offset,arg)"
method with offset=-5 and arg="ABC". It should raise
the desired exception since the offset is negative.
|
| characterdataIndexSizeErrReplaceDataOffsetNegative (XML Java)
The "replaceData(offset,count,arg)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is negative.
Retrieve the character data of the last child of the
first employee and invoke its
"replaceData(offset,count,arg) method with offset=-5
and count=3 and arg="ABC". It should raise the
desired exception since the offset is negative.
|
| characterdataReplaceDataBeginning (XML Java)
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string. Test for replacement in the
middle of the data.
Retrieve the character data from the last child of the
first employee. The "replaceData(offset,count,arg)"
method is then called with offset=5 and count=5 and
arg="South". The method should replace characters five
thru 9 of the character data with "South".
|
| characterdataReplaceDataEnd (XML Java)
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string. Test for replacement at the
end of the data.
Retrieve the character data from the last child of the
first employee. The "replaceData(offset,count,arg)"
method is then called with offset=30 and count=5 and
arg="98665". The method should replace characters 30
thru 34 of the character data with "98665".
|
| characterdataReplaceDataExceedsLengthOfArg (XML Java)
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string. Test the situation where the length
of the arg string is greater than the specified offset.
Retrieve the character data from the last child of the
first employee. The "replaceData(offset,count,arg)"
method is then called with offset=0 and count=4 and
arg="260030". The method should replace characters one
thru four with "260030". Note that the length of the
specified string is greater that the specified offset.
|
| characterdataReplaceDataExceedsLengthOfData (XML Java)
If the sum of the offset and count exceeds the length then
all the characters to the end of the data are replaced.
Retrieve the character data from the last child of the
first employee. The "replaceData(offset,count,arg)"
method is then called with offset=0 and count=50 and
arg="2600". The method should replace all the characters
with "2600". This is because the sum of the offset and
count exceeds the length of the character data.
|
| characterdataReplaceDataMiddle (XML Java)
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string. Test for replacement in the
middle of the data.
Retrieve the character data from the last child of the
first employee. The "replaceData(offset,count,arg)"
method is then called with offset=5 and count=5 and
arg="South". The method should replace characters five
thru 9 of the character data with "South".
|
| characterdataReplaceDataNoModificationAllowedErr (XML Java)
The "replaceData(offset,count,arg)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
Obtain the children of the THIRD "gender" element. The elements
content is an entity reference. Get the FIRST item
from the entity reference and execute the "replaceData(offset,count,arg)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| characterdataReplaceDataNoModificationAllowedErrEE (XML Java)
The "replaceData(offset,count,arg)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
Add an entity reference tp the THIRD "gender" element. Get the FIRST item
from the entity reference and execute the "replaceData(offset,count,arg)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
|
| substringData |
| characterdataIndexSizeErrDeleteDataCountNegative (XML Java)
The "deleteData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified count
is negative.
Retrieve the character data of the last child of the
first employee and invoke its "deleteData(offset,count)"
method with offset=10 and count=-3. It should raise the
desired exception since the count is negative.
|
| characterdataIndexSizeErrReplaceDataCountNegative (XML Java)
The "replaceData(offset,count,arg)" method raises an
INDEX_SIZE_ERR DOMException if the specified count
is negative.
Retrieve the character data of the last child of the
first employee and invoke its
"replaceData(offset,count,arg) method with offset=10
and count=-3 and arg="ABC". It should raise the
desired exception since the count is negative.
|
| characterdataIndexSizeErrSubstringCountNegative (XML Java)
The "substringData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified count
is negative.
Retrieve the character data of the last child of the
first employee and invoke its "substringData(offset,count)
method with offset=10 and count=-3. It should raise the
desired exception since the count is negative.
|
| characterdataIndexSizeErrSubstringNegativeOffset (XML Java)
The "substringData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is negative.
Retrieve the character data of the last child of the
first employee and invoke its "substringData(offset,count)
method with offset=-5 and count=3. It should raise the
desired exception since the offset is negative.
|
| characterdataIndexSizeErrSubstringOffsetGreater (XML Java)
The "substringData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is greater than the number of characters in the string.
Retrieve the character data of the last child of the
first employee and invoke its "substringData(offset,count)
method with offset=40 and count=3. It should raise the
desired exception since the offsets value is greater
than the length.
|
| characterdataSubStringExceedsValue (XML Java)
If the sum of the "offset" and "count" exceeds the
"length" then the "substringData(offset,count)" method
returns all the characters to the end of the data.
Retrieve the character data from the second child
of the first employee and access part of the data
by using the substringData(offset,count) method
with offset=9 and count=10. The method should return
the substring "Martin" since offset+count > length
(19 > 15).
|
| characterdataSubStringValue (XML Java)
The "substringData(offset,count)" method returns the
specified string.
Retrieve the character data from the second child
of the first employee and access part of the data
by using the substringData(offset,count) method. The
method should return the specified substring starting
at position "offset" and extract "count" characters.
The method should return the string "Margaret".
|
|
| Attribute | Tests |
| attributes |
| attrDefaultValue (XML Java)
If there is not an explicit value assigned to an attribute
and there is a declaration for this attribute and that
declaration includes a default value, then that default
value is the attributes default value.
Retrieve the attribute named "street" from the last
child of of the first employee and examine its
value. That value should be the value given the
attribute in the DTD file. The test uses the
"getNamedItem(name)" method from the NamedNodeMap
interface.
|
| attrEffectiveValue (XML Java)
If an Attr is explicitly assigned any value, then that value is the attributes effective value.
Retrieve the attribute named "domestic" from the last child of of the first employee
and examine its nodeValue attribute. This test uses the "getNamedItem(name)" method
from the NamedNodeMap interface.
|
| elementAssociatedAttribute (XML Java)
Elements may have attributes associated with them.
Retrieve the first attribute from the last child of
the first employee and invoke the "getSpecified()"
method. This test is only intended to show that
Elements can actually have attributes. This test uses
the "getNamedItem(name)" method from the NamedNodeMap
interface.
|
| elementRetrieveAllAttributes (XML Java)
The "getAttributes()" method(Node Interface) may
be used to retrieve the set of all attributes of an
element.
Create a list of all the attributes of the last child
of the first employee by using the "getAttributes()"
method. Examine the length of the attribute list.
This test uses the "getLength()" method from the
NameNodeMap interface.
|
| namednodemapChildNodeRange (XML Java)
The range of valid child node indices is 0 to Length -1.
Create a NamedNodeMap object from the attributes of the
last child of the third employee and traverse the
list from index 0 thru length -1. All indices should
be valid.
|
| namednodemapNumberOfNodes (XML Java)
The "getLength()" method returns the number of nodes
in the map.
Retrieve the second employee and create a NamedNodeMap
listing of the attributes of the last child. Once the
list is created an invocation of the "getLength()"
method is executed. The number of nodes should be 2.
|
| namednodemapReturnAttrNode (XML Java)
The "getNamedItem(name)" method returns a node of any
type specified by name.
Retrieve the second employee and create a NamedNodeMap
listing of the attributes of the last child. Once the
list is created an invocation of the "getNamedItem(name)"
method is done with name="street". This should result
in the method returning an Attr node.
|
| characterdataDeleteDataEnd (XML Java)
The "getAttributes()" method invoked on an Attribute
Node returns null.
Retrieve the first attribute from the last child of the
first employee and invoke the "getAttributes()" method
on the Attribute Node. It should return null.
|
| nodeCDATASectionNodeAttribute (XML Java)
The "getAttributes()" method invoked on a CDATASection
Node returns null.
Retrieve the CDATASection node contained inside the
second child of the second employee and invoke the
"getAttributes()" method on the CDATASection node.
It should return null.
|
| nodeCloneAttributesCopied (XML Java)
If the "cloneNode(deep)" method was used to clone an
Element node, all the attributes of the Element are
copied along with their values.
Retrieve the last child of the second employee and inoke
the "cloneNode(deep)" method with deep=true. The
duplicate node returned by the method should copy the
attributes associated with this node.
|
| nodeCommentNodeAttributes (XML Java)
The "getAttributes()" method invoked on a Comment
Node returns null.
Retrieve the Comment Node(third child) of the DOM
document and invoke the "getAttributes()" method on the
Comment Node. It should return null.
|
| nodeDocumentFragmentNodeValue (XML Java)
The string returned by the "getNodeValue()" method for a
DocumentFragment Node is null.
Retrieve the DOM document and invoke the
"createDocumentFragment()" method and check the string
returned by the "getNodeValue()" method. It should be
equal to null.
|
| nodedocumentnodeattribute (XML Java)
The "getAttributes()" method invoked on a Document
Node returns null.
Retrieve the DOM Document and invoke the
"getAttributes()" method on the Document Node.
It should return null.
|
| nodeElementNodeAttributes (XML Java)
The "getAttributes()" method invoked on an Element
Node returns a NamedNodeMap containing the attributes
of this node.
Retrieve the last child of the third employee and
invoke the "getAttributes()" method. It should return
a NamedNodeMap containing the attributes of the Element
node.
|
| nodeEntityNodeAttributes (XML Java)
The "getAttributes()" method invoked on an Entity
Node returns null.
Retrieve the first Entity declaration in the "DOCTYPE"
section of the XML file and invoke the "getAttributes()"
method on the Entity Node. It should return null.
|
| nodeEntityReferenceNodeAttributes (XML Java)
The "getAttributes()" method invoked on an EntityReference
Node returns null.
Retrieve the first Entity Reference node from the last
child of the second employee and invoke the
"getAttributes()" method on the EntityReference node.
It should return null.
|
| nodeNotationNodeAttributes (XML Java)
The "getAttributes()" method invoked on a Notation
Node returns null.
Retrieve the Notation declaration inside the DocumentType
node and invoke the "getAttributes()" method on the
Notation Node. It should return null.
|
| nodeProcessingInstructionNodeAttributes (XML Java)
The "getAttributes()" method invoked on a Processing
Instruction Node returns null.
Retrieve the Processing Instruction node and invoke
the "getAttributes()" method. It should return null.
|
| nodeTextNodeAttribute (XML Java)
The "getAttributes()" method invoked on a Text
Node returns null.
Retrieve the Text node from the last child of the
first employee and invoke the "getAttributes()" method
on the Text Node. It should return null.
|
|
| childNodes |
| nodeChildNodes (XML Java)
The "getChildNodes()" method returns a NodeList
that contains all children of this node.
Retrieve the second employee and check the NodeList
returned by the "getChildNodes()" method. The
length of the list should be 13.
|
| nodeChildNodesAppendChild (XML Java)
The NodeList returned by the "getChildNodes()" method
is live. Changes on the node's children are immediately
reflected on the nodes returned in the NodeList.
Create a NodeList of the children of the second employee
and then add a newly created element that was created
by the "createElement()" method(Document Interface) to
the second employee by using the "appendChild()" method.
The length of the NodeList should reflect this new
addition to the child list. It should return the value 14.
|
| nodeChildNodesEmpty (XML Java)
The "getChildNodes()" method returns a NodeList
that contains all children of this node. If there
are not any children, this is a NodeList that does not
contain any nodes.
Retrieve the Text node from the second child of the second
employee and invoke the "getChildNodes()" method. The
NodeList returned should not have any nodes.
|
| nodeHasChildNodesFalse (XML Java)
The "hasChildNodes()" method returns false if the node
does not have any children.
Retrieve the Text node inside the first child of the
second employee and invoke the "hasChildNodes()" method.
It should return the boolean value "false".
|
| textParseIntoListOfElements (XML Java)
If there is markup inside the Text element content
then the text is parsed into a list of elements and
text that forms the list of children of the element.
Retrieve the textual data from the last child of the
second employee. That node is composed of two
EntityReference nodes and two Text nodes. After
the content node is parsed, the "address" Element
should contain four children with each one of the
EntityReferences containing one child.
|
|
| firstChild |
| nodeGetFirstChild (XML Java)
The "getFirstChild()" method returns the first child
of this node.
Retrieve the second employee and invoke the
"getFirstChild()" method. The NodeName returned
should be "#text".
|
| nodeGetFirstChildNull (XML Java)
If there is not a first child then the "getFirstChild()"
method returns null.
Retrieve the Text node form the second child of the first
employee and invoke the "getFirstChild()" method. It
should return null.
|
|
| lastChild |
| nodeGetLastChild (XML Java)
The "getLastChild()" method returns the last child
of this node.
Retrieve the second employee and invoke the
"getLastChild()" method. The NodeName returned
should be "#text".
|
| nodeGetLastChildNull (XML Java)
If there is not a last child then the "getLastChild()"
method returns null.
Retrieve the Text node from the second child of the first
employee and invoke the "getLastChild()" method. It
should return null.
|
|
| nextSibling |
| attrNextSiblingNull (XML Java)
The "getNextSibling()" method for an Attr node should return null.
Retrieve the attribute named "domestic" from the last child of of the
first employee and examine its NextSibling node. This test uses the
"getNamedItem(name)" method from the NamedNodeMap interface.
|
| nodeGetNextSibling (XML Java)
The "getNextSibling()" method returns the node immediately
following this node.
Retrieve the first child of the second employee and
invoke the "getNextSibling()" method. It should return
a node with the NodeName of "#text".
|
| nodeGetNextSiblingNull (XML Java)
If there is not a node immediately following this node the
"getNextSibling()" method returns null.
Retrieve the first child of the second employee and
invoke the "getNextSibling()" method. It should
be set to null.
|
|
| nodeName |
| attrName (XML Java)
The getNodeName() method of an Attribute node.
Retrieve the attribute named street from the last
child of of the second employee and examine its
NodeName. This test uses the getNamedItem(name) method from the NamedNodeMap
interface.
|
| commentGetComment (XML Java)
A comment is all the characters between the starting
'<!--' and ending '-->'
Retrieve the nodes of the DOM document. Search for a
comment node and the content is its value.
|
| elementRetrieveTagName (XML Java)
The "getElementsByTagName()" method returns a NodeList
of all descendant elements with a given tagName.
Invoke the "getElementsByTagName()" method and create
a NodeList of "position" elements. Retrieve the second
"position" element in the list and return the NodeName.
|
| entityGetEntityName (XML Java)
The nodeName attribute that is inherited from Node
contains the name of the entity.
Retrieve the entity named "ent1" and access its name by
invoking the "getNodeName()" method inherited from
the Node interface.
|
| nodeAppendChildGetNodeName (XML Java)
The "appendChild(newChild)" method returns the node
added.
Append a newly created node to the child list of the
second employee and check the NodeName returned. The
"getNodeName()" method should return "newChild".
|
| nodeAttributeNodeName (XML Java)
The string returned by the "getNodeName()" method for an
Attribute Node is the name of the Attribute.
Retrieve the Attribute named "domestic" from the last
child of the first employee and check the string returned
by the "getNodeName()" method. It should be equal to
"domestic".
|
| nodeCDATASectionNodeName (XML Java)
The string returned by the "getNodeName()" method for a
CDATASection Node is #cdata-section".
Retrieve the CDATASection node inside the second child
of the second employee and check the string returned
by the "getNodeName()" method. It should be equal to
"#cdata-section".
|
| nodeCommentNodeName (XML Java)
The string returned by the "getNodeName()" method for a
Comment Node is "#comment".
Retrieve the Comment node in the XML file
and check the string returned by the "getNodeName()"
method. It should be equal to "#comment".
|
| nodeDocumentFragmentNodeName (XML Java)
The string returned by the "getNodeName()" method for a
DocumentFragment Node is "#document-frament".
Retrieve the DOM document and invoke the
"createDocumentFragment()" method and check the string
returned by the "getNodeName()" method. It should be
equal to "#document-fragment".
|
| nodeDocumentNodeName (XML Java)
The string returned by the "getNodeName()" method for a
Document Node is "#document".
Retrieve the DOM document and check the string returned
by the "getNodeName()" method. It should be equal to
"#document".
|
| nodeDocumentTypeNodeName (XML Java)
The string returned by the "getNodeName()" method for a
DocumentType node is the name of the document type.
Retrieve the DOCTYPE declaration from the XML file and
check the string returned by the "getNodeName()"
method. It should be equal to "staff".
|
| nodeElementNodeName (XML Java)
The string returned by the "getNodeName()" method for an
Element Node is its tagName.
Retrieve the first Element Node(Root Node) of the
DOM object and check the string returned by the
"getNodeName()" method. It should be equal to its
tagName.
|
| nodeEntityNodeName (XML Java)
The string returned by the "getNodeName()" method for an
Entity Node is the Entity name.
Retrieve the first Entity declaration in the "DOCTYPE"
section of the XML file and check the string returned
by the "getNodeName()" method. It should be equal to
"ent1".
|
| nodeEntityReferenceNodeName (XML Java)
The string returned by the "getNodeName()" method for an
EntityReference Node is the name of the entity referenced.
Retrieve the first Entity Reference node from the last
child of the second employee and check the string
returned by the "getNodeName()" method. It should be
equal to "ent2".
|
| nodeInsertBeforeNodeName (XML Java)
The "insertBefore(newChild,refchild)" method returns
the node being inserted.
Insert an Element node before the fourth
child of the second employee and check the node
returned from the "insertBefore(newChild,refChild)"
method. The node returned should be "newChild".
|
| nodeNotationNodeName (XML Java)
The string returned by the "getNodeName()" method for a
Notation Node is the name of the notation.
Retrieve the Notation declaration inside the
DocumentType node and check the string returned
by the "getNodeName()" method. It should be equal to
"notation1".
|
| nodeProcessingInstructionNodeName (XML Java)
The string returned by the "getNodeName()" method for a
Processing Instruction Node is the target.
Retrieve the Processing Instruction Node in the XML file
and check the string returned by the "getNodeName()"
method. It should be equal to "XML-STYLE".
|
| nodeRemoveChildGetNodeName (XML Java)
The "removeChild(oldChild)" method returns
the node being removed.
Remove the first child of the second employee
and check the NodeName returned by the
"removeChild(oldChild)" method. The returned node
should have a NodeName equal to "#text".
|
| nodeReplaceChildNodeName (XML Java)
The "replaceChild(newChild,oldChild)" method returns
the node being replaced.
Replace the second Element of the second employee with
a newly created node Element and check the NodeName
returned by the "replaceChild(newChild,oldChild)"
method. The returned node should have a NodeName equal
to "employeeId".
|
| nodeTextNodeName (XML Java)
The string returned by the "getNodeName()" method for a
Text Node is "#text".
Retrieve the Text Node from the last child of the
first employee and check the string returned
by the "getNodeName()" method. It should be equal to
"#text".
|
| notationGetNotationName (XML Java)
The nodeName attribute that is inherited from Node
contains the name of the notation.
Retrieve the notation named "notation1" and access its
name by invoking the "getNodeName()" method inherited
from the Node interface.
|
|
| nodeType |
| commentGetComment (XML Java)
A comment is all the characters between the starting
'<!--' and ending '-->'
Retrieve the nodes of the DOM document. Search for a
comment node and the content is its value.
|
| nodeAttributeNodeType (XML Java)
The "getNodeType()" method for an Attribute Node
returns the constant value 2.
Retrieve the first attribute from the last child of
the first employee and invoke the "getNodeType()"
method. The method should return 2.
|
| nodeCDATASectionNodeType (XML Java)
The "getNodeType()" method for a CDATASection Node
returns the constant value 4.
Retrieve the CDATASection node contained inside the
second child of the second employee and invoke the
"getNodeType()" method. The method should return 4.
|
| nodeCommentNodeType (XML Java)
The "getNodeType()" method for a Comment Node
returns the constant value 8.
Retrieve the nodes from the document and check for
a comment node and invoke the "getNodeType()" method. This should
return 8.
|
| nodeDocumentFragmentNodeType (XML Java)
The "getNodeType()" method for a DocumentFragment Node
returns the constant value 11.
Invoke the "createDocumentFragment()" method and
examine the NodeType of the document fragment
returned by the "getNodeType()" method. The method
should return 11.
|
| nodeDocumentNodeType (XML Java)
The "getNodeType()" method for a Document Node
returns the constant value 9.
Retrieve the document and invoke the "getNodeType()"
method. The method should return 9.
|
| nodeDocumentTypeNodeType (XML Java)
The "getNodeType()" method for a DocumentType Node
returns the constant value 10.
Retrieve the DTD from the XML file and invoke the
"getNodeType()" method. The method should return 10.
|
| nodeElementNodeType (XML Java)
The "getNodeType()" method for an Element Node
returns the constant value 1.
Retrieve the root node and invoke the "getNodeType()"
method. The method should return 1.
|
| nodeEntityNodeType (XML Java)
The "getNodeType()" method for an Entity Node
returns the constant value 6.
Retrieve the first Entity declaration in the "DOCTYPE"
section of the XML file and invoke the "getNodeType()"
method. The method should return 6.
|
| nodeEntityReferenceNodeType (XML Java)
The "getNodeType()" method for an EntityReference Node
returns the constant value 5.
Retrieve the EntityReference node from the last child
of the second employee and invoke the "getNodeType()"
method. The method should return 5.
|
| nodeNotationNodeType (XML Java)
The "getNodeType()" method for an Notation Node
returns the constant value 12.
Retrieve the Notation declaration in the DocumentType
node and invoke the "getNodeType()" method. The method
should return 12.
|
| nodeProcessingInstructionNodeType (XML Java)
The "getNodeType()" method for a Processing Instruction
node returns the constant value 7.
Retrieve a NodeList of child elements from the document.
Retrieve the first child and invoke the "getNodeType()"
method. The method should return 7.
|
| nodeTextNodeType (XML Java)
The "getNodeType()" method for a Text Node
returns the constant value 3.
Retrieve the Text node from the last child of
the first employee and invoke the "getNodeType()"
method. The method should return 3.
|
|
| nodeValue |
| attrCreateTextNode2 (XML Java)
The "setNodeValue()" method for an attribute creates a
Text node with the unparsed content of the string.
Retrieve the attribute named "street" from the last
child of of the fourth employee and assign the "Y%ent1;"
string to its value attribute. This value is not yet
parsed and therefore should still be the same upon
retrieval. This test uses the "getNamedItem(name)" method
from the NamedNodeMap interface.
|
| commentGetComment (XML Java)
A comment is all the characters between the starting
'<!--' and ending '-->'
Retrieve the nodes of the DOM document. Search for a
comment node and the content is its value.
|
| documentCreateEntityReference (XML Java)
The "createEntityReference(name)" method creates an
EntityReferrence node.
Retrieve the entire DOM document and invoke its
"createEntityReference(name)" method. It should create
a new EntityReference node for the Entity with the
given name. The name, value and type are retrieved and
output.
|
| documentGetDocType (XML Java)
The "getDoctype()" method returns the Document
Type Declaration associated with this document.
Retrieve the entire DOM document and invoke its
"getDoctype()" method. The name of the document
type should be returned. The "getName()" method
should be equal to "staff".
|
| nodeAttributeNodeValue (XML Java)
The string returned by the "getNodeValue()" method for an
Attribute Node is the value of the Attribute.
Retrieve the Attribute named "domestic" from the last
child of the first employee and check the string returned
by the "getNodeValue()" method. It should be equal to
"Yes".
|
| nodeCDATASectionNodeValue (XML Java)
The string returned by the "getNodeValue()" method for a
CDATASection Node is the content of the CDATASection.
Retrieve the CDATASection node inside the second child
of the second employee and check the string returned
by the "getNodeValue()" method. It should be equal to
"This is a CDATA Section with EntityReference number 2
&ent2;".
|
| nodeCommentNodeValue (XML Java)
The string returned by the "getNodeValue()" method for a
Comment Node is the content of the comment.
Retrieve the comment in the XML file and
check the string returned by the "getNodeValue()" method.
It should be equal to "This is comment number 1".
|
| nodeDocumentFragmentNodeValue (XML Java)
The string returned by the "getNodeValue()" method for a
DocumentFragment Node is null.
Retrieve the DOM document and invoke the
"createDocumentFragment()" method and check the string
returned by the "getNodeValue()" method. It should be
equal to null.
|
| nodeDocumentNodeValue (XML Java)
The string returned by the "getNodeValue()" method for a
Document Node is null.
Retrieve the DOM Document and check the string returned
by the "getNodeValue()" method. It should be equal to
null.
|
| nodeElementNodeValue (XML Java)
The string returned by the "getNodeValue()" method for an
Element Node is null.
Retrieve the root node of the DOM object and check the
string returned by the "getNodeValue()" method.
It should be equal to null.
|
| nodeEntityNodeValue (XML Java)
The string returned by the "getNodeValue()" method for an
Entity Node is null.
Retrieve the first Entity declaration in the "DOCTYPE"
section of the XML file and check the string
returned by the "getNodeValue()" method. It should be
equal to null.
|
| nodeEntitySetNodeValue (XML Java)
The string returned by the "getNodeValue()" method for an
Entity Node is always null and "setNodeValue" should have no effect.
Retrieve the first Entity declaration in the "DOCTYPE"
section of the XML file, call setNodeValue with a non-null
value and check the string
returned by the "getNodeValue()" method. It should be
equal to null.
|
| nodeEntityReferenceNodeValue (XML Java)
The string returned by the "getNodeValue()" method for an
EntityReference Node is null.
Retrieve the first Entity Reference node from the last
child of the second employee and check the string
returned by the "getNodeValue()" method. It should be
equal to null.
|
| nodeNotationNodeValue (XML Java)
The string returned by the "getNodeValue()" method for a
Notation Node is null.
Retrieve the Notation declaration inside the
DocumentType node and check the string returned
by the "getNodeValue()" method. It should be equal to
null.
|
| nodeProcessingInstructionNodeValue (XML Java)
The string returned by the "getNodeValue()" method for a
Processing Instruction Node is the content of the
Processing Instruction(exclude the target).
Retrieve the Processing Instruction node in the XML file
and check the string returned by the "getNodeValue()"
method. It should be equal to "PIDATA".
|
| nodeProcessingInstructionSetNodeValue (XML Java)
Setting the nodeValue should change the value returned by
nodeValue and ProcessingInstruction.getData.
|
| nodeSetNodeValueNoModificationAllowedErr (XML Java)
The "setNodeValue(nodeValue)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
Obtain the children of the THIRD "gender" element. The elements
content is an entity reference. Get the SECOND item
from the entity reference and execute the "setNodeValue(nodeValue)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| nodeSetNodeValueNoModificationAllowedErrEE (XML Java)
The "setNodeValue(nodeValue)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
Create an entity reference and execute the "setNodeValue(nodeValue)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| nodeTextNodeValue (XML Java)
The string returned by the "getNodeValue()" method for a
Text Node is the content of the Text node.
Retrieve the Text node from the last child of the first
employee and check the string returned by the
"getNodeValue()" method. It should be equal to
"1230 North Ave. Dallas, Texas 98551".
|
| textWithNoMarkup (XML Java)
If there is not any markup inside an Element or Attr node
content, then the text is contained in a single object
implementing the Text interface that is the only child
of the element.
Retrieve the textual data from the second child of the
third employee. That Text node contains a block of
multiple text lines without markup, so they should be
treated as a single Text node. The "getNodeValue()"
method should contain the combination of the two lines.
|
| nodevalue01 (XML Java)
An element is created, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
| nodevalue02 (XML Java)
An comment is created, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
| nodevalue03 (XML Java)
An entity reference is created, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
| nodevalue04 (XML Java)
An document type accessed, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
| nodevalue05 (XML Java)
An document type accessed, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
| nodevalue06 (XML Java)
An document is accessed, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
| nodevalue07 (XML Java)
An Entity is accessed, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
| nodevalue08 (XML Java)
An notation is accessed, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
| nodevalue09 (XML Java)
An processing instruction is created, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
|
| ownerDocument |
| nodeGetOwnerDocument (XML Java)
The "getOwnerDocument()" method returns the Document
object associated with this node.
Retrieve the second employee and examine Document
returned by the "getOwnerDocument()" method. Invoke
the "getDocumentElement()" on the Document which will
return an Element that is equal to "staff".
|
| nodeGetOwnerDocumentNull (XML Java)
The "getOwnerDocument()" method returns null if the target
node itself is a document.
Invoke the "getOwnerDocument()" method on the master
document. The Document returned should be null.
|
|
| parentNode |
| attrParentNodeNull (XML Java)
The "getParentNode()" method for an Attr node should return null. Retrieve
the attribute named "domestic" from the last child of the first employee
and examine its parentNode attribute. This test also uses the "getNamedItem(name)"
method from the NamedNodeMap interface.
|
| nodeParentNode (XML Java)
The "getParentNode()" method returns the parent
of this node.
Retrieve the second employee and invoke the
"getParentNode()" method on this node. It should
be set to "staff".
|
| nodeParentNodeNull (XML Java)
The "getParentNode()" method invoked on a node that has
just been created and not yet added to the tree is null.
Create a new "employee" Element node using the
"createElement(name)" method from the Document interface.
Since this new node has not yet been added to the tree,
the "getParentNode()" method will return null.
|
|
| previousSibling |
| attrPreviousSiblingNull (XML Java)
The "getPreviousSibling()" method for an Attr node should return null.
Retrieve the attribute named "domestic" from the last child of of the
first employee and examine its PreviousSibling node. This test uses the
"getNamedItem(name)" method from the NamedNodeMap interface.
|
| nodeGetPreviousSibling (XML Java)
The "getPreviousSibling()" method returns the node
immediately preceding this node.
Retrieve the second child of the second employee and
invoke the "getPreviousSibling()" method. It should
return a node with a NodeName of "#text".
|
| nodeGetPreviousSiblingNull (XML Java)
If there is not a node immediately preceding this node the
"getPreviousSibling()" method returns null.
Retrieve the first child of the second employee and
invoke the "getPreviousSibling()" method. It should
be set to null.
|
|
| Method | Tests |
| appendChild |
| nodeAppendChild (XML Java)
The "appendChild(newChild)" method adds the node
"newChild" to the end of the list of children of the
node.
Retrieve the second employee and append a new Element
node to the list of children. The last node in the list
is then retrieved and its NodeName examined. The
"getNodeName()" method should return "newChild".
|
| nodeAppendChildChildExists (XML Java)
If the "newChild" is already in the tree, it is first
removed before the new one is appended.
Retrieve the first child of the second employee and
append the first child to the end of the list. After
the "appendChild(newChild)" method is invoked the first
child should be the one that was second and the last
child should be the one that was first.
|
| nodeAppendChildDocFragment (XML Java)
If the "newChild" is a DocumentFragment object then
all its content is added to the child list of this node.
Create and populate a new DocumentFragment object and
append it to the second employee. After the
"appendChild(newChild)" method is invoked retrieve the
new nodes at the end of the list, they should be the
two Element nodes from the DocumentFragment.
|
| nodeAppendChildGetNodeName (XML Java)
The "appendChild(newChild)" method returns the node
added.
Append a newly created node to the child list of the
second employee and check the NodeName returned. The
"getNodeName()" method should return "newChild".
|
| nodeAppendChildInvalidNodeType (XML Java)
The "appendChild(newChild)" method raises a
HIERARCHY_REQUEST_ERR DOMException if this node is of
a type that does not allow children of the type "newChild"
to be inserted.
Retrieve the root node and attempt to append a newly
created Attr node. An Element node cannot have children
of the "Attr" type, therefore the desired exception
should be raised.
|
| nodeAppendChildNewChildDiffDocument (XML Java)
The "appendChild(newChild)" method raises a
WRONG_DOCUMENT_ERR DOMException if the "newChild" was
created from a different document than the one that
created this node.
Retrieve the second employee and attempt to append
a node created from a different document. An attempt
to make such a replacement should raise the desired
exception.
|
| nodeAppendChildNodeAncestor (XML Java)
The "appendChild(newChild)" method raises a
HIERARCHY_REQUEST_ERR DOMException if the node to
append is one of this node's ancestors.
Retrieve the second employee and attempt to append
an ancestor node(root node) to it.
An attempt to make such an addition should raise the
desired exception.
|
| nodeAppendChildNoModificationAllowedErr (XML Java)
The "appendChild(newChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
Obtain the children of the THIRD "gender" element. The elements
content is an entity reference. Get the FIRST item
from the entity reference and execute the "appendChild(newChild)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| nodeAppendChildNoModificationAllowedErrEE (XML Java)
The "appendChild(newChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
Create an ent3 entity reference and the "appendChild(newChild)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| nodeChildNodesAppendChild (XML Java)
The NodeList returned by the "getChildNodes()" method
is live. Changes on the node's children are immediately
reflected on the nodes returned in the NodeList.
Create a NodeList of the children of the second employee
and then add a newly created element that was created
by the "createElement()" method(Document Interface) to
the second employee by using the "appendChild()" method.
The length of the NodeList should reflect this new
addition to the child list. It should return the value 14.
|
|
| cloneNode |
| nodeCloneFalseNoCopyText (XML Java)
The "cloneNode(deep)" method does not copy text unless it
is deep cloned.(Test for deep=false)
Retrieve the fourth child of the second employee and
the "cloneNode(deep)" method with deep=false. The
duplicate node returned by the method should not copy
any text data contained in this node.
|
| nodeCloneGetParentNull (XML Java)
The duplicate node returned by the "cloneNode(deep)"
method does not have a ParentNode.
Retrieve the second employee and invoke the
"cloneNode(deep)" method with deep=false. The
duplicate node returned should return null when the
"getParentNode()" is invoked.
|
| nodeCloneNodeFalse (XML Java)
The "cloneNode(deep)" method returns a copy of the node
only if deep=false.
Retrieve the second employee and invoke the
"cloneNode(deep)" method with deep=false. The
method should only clone this node. The NodeName and
length of the NodeList are checked. The "getNodeName()"
method should return "employee" and the "getLength()"
method should return 0.
|
| nodeCloneNodeTrue (XML Java)
The "cloneNode(deep)" method returns a copy of the node
and the subtree under it if deep=true.
Retrieve the second employee and invoke the
"cloneNode(deep)" method with deep=true. The
method should clone this node and the subtree under it.
The NodeName of each child in the returned node is
checked to insure the entire subtree under the second
employee was cloned.
|
| nodeCloneTrueCopyText (XML Java)
The "cloneNode(deep)" method does not copy text unless it
is deep cloned.(Test for deep=true)
Retrieve the eighth child of the second employee and
the "cloneNode(deep)" method with deep=true. The
duplicate node returned by the method should copy
any text data contained in this node.
|
|
| hasChildNodes |
| nodeHasChildNodes (XML Java)
The "hasChildNodes()" method returns true if the node
has children.
Retrieve the root node("staff") and invoke the
"hasChildNodes()" method. It should return the boolean
value "true".
|
| nodeHasChildNodesFalse (XML Java)
The "hasChildNodes()" method returns false if the node
does not have any children.
Retrieve the Text node inside the first child of the
second employee and invoke the "hasChildNodes()" method.
It should return the boolean value "false".
|
|
| insertBefore |
| nodeInsertBefore (XML Java)
The "insertBefore(newChild,refChild)" method inserts the
node "newChild" before the node "refChild".
Insert a newly created Element node before the eigth
child of the second employee and check the "newChild"
and "refChild" after insertion for correct placement.
|
| nodeInsertBeforeDocFragment (XML Java)
If the "newChild" is a DocumentFragment object then all
its children are inserted in the same order before the
the "refChild".
Create a DocumentFragment object and populate it with
two Element nodes. Retrieve the second employee and
insert the newly created DocumentFragment before its
fourth child. The second employee should now have two
extra children("newChild1" and "newChild2") at
positions fourth and fifth respectively.
|
| nodeInsertBeforeInvalidNodeType (XML Java)
The "insertBefore(newChild,refChild)" method raises a
HIERARCHY_REQUEST_ERR DOMException if this node is of
a type that does not allow children of the type "newChild"
to be inserted.
Retrieve the root node and attempt to insert a newly
created Attr node. An Element node cannot have children
of the "Attr" type, therefore the desired exception
should be raised.
|
| nodeInsertBeforeNewChildDiffDocument (XML Java)
The "insertBefore(newChild,refChild)" method raises a
WRONG_DOCUMENT_ERR DOMException if the "newChild" was
created from a different document than the one that
created this node.
Retrieve the second employee and attempt to insert a new
child that was created from a different document than the
one that created the second employee. An attempt to
insert such a child should raise the desired exception.
|
| nodeInsertBeforeNewChildExists (XML Java)
If the "newChild" is already in the tree, the
"insertBefore(newChild,refChild)" method must first
remove it before the insertion takes place.
Insert a node Element ("employeeId") that is already
present in the tree. The existing node should be
removed first and the new one inserted. The node is
inserted at a different position in the tree to assure
that it was indeed inserted.
|
| nodeInsertBeforeNodeAncestor (XML Java)
The "insertBefore(newChild,refChild)" method raises a
HIERARCHY_REQUEST_ERR DOMException if the node to be
inserted is one of this nodes ancestors.
Retrieve the second employee and attempt to insert a
node that is one of its ancestors(root node). An
attempt to insert such a node should raise the
desired exception.
|
| nodeInsertBeforeNodeName (XML Java)
The "insertBefore(newChild,refchild)" method returns
the node being inserted.
Insert an Element node before the fourth
child of the second employee and check the node
returned from the "insertBefore(newChild,refChild)"
method. The node returned should be "newChild".
|
| nodeInsertBeforeNoModificationAllowedErr (XML Java)
The "insertBefore(newChild,refChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
Obtain the children of the THIRD "gender" element. The elements
content is an entity reference. Get the FIRST item
from the entity reference and execute the "insertBefore(newChild,refChild)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| nodeInsertBeforeNoModificationAllowedErrEE (XML Java)
The "insertBefore(newChild,refChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
Create an ent3 element and and execute the "insertBefore(newChild,refChild)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| nodeInsertBeforeRefChildNonexistent (XML Java)
The "insertBefore(newChild,refChild)" method raises a
NOT_FOUND_ERR DOMException if the reference child is
not a child of this node.
Retrieve the second employee and attempt to insert a
new node before a reference node that is not a child
of this node. An attempt to insert before a non child
node should raise the desired exception.
|
| nodeInsertBeforeRefChildNull (XML Java)
If the "refChild" is null then the
"insertBefore(newChild,refChild)" method inserts the
node "newChild" at the end of the list of children.
Retrieve the second employee and invoke the
"insertBefore(newChild,refChild)" method with
refChild=null. Since "refChild" is null the "newChild"
should be added to the end of the list. The last item
in the list is checked after insertion. The last Element
node of the list should be "newChild".
|
|
| removeChild |
| nodeRemoveChild (XML Java)
The "removeChild(oldChild)" method removes the child node
indicated by "oldChild" from the list of children and
returns it.
Remove the first employee by invoking the
"removeChild(oldChild)" method an checking the
node returned by the "getParentNode()" method. It
should be set to null.
|
| nodeRemoveChildGetNodeName (XML Java)
The "removeChild(oldChild)" method returns
the node being removed.
Remove the first child of the second employee
and check the NodeName returned by the
"removeChild(oldChild)" method. The returned node
should have a NodeName equal to "#text".
|
| nodeRemoveChildNode (XML Java)
The "removeChild(oldChild)" method removes the node
indicated by "oldChild".
Retrieve the second employee and remove its first child.
After the removal, the second employee should have twelve
children and the first child should now be the child
that used to be at the second position in the list.
|
| nodeRemoveChildNoModificationAllowedErr (XML Java)
The "removeChild(oldChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
Obtain the children of the THIRD "gender" element. The elements
content is an entity reference. Get the FIRST item
from the entity reference and execute the "removeChild(oldChild)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| nodeRemoveChildNoModificationAllowedErrEE (XML Java)
The "removeChild(oldChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
Create an entity reference and execute the "removeChild(oldChild)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| nodeRemoveChildOldChildNonexistent (XML Java)
The "removeChild(oldChild)" method raises a
NOT_FOUND_ERR DOMException if the old child is
not a child of this node.
Retrieve the second employee and attempt to remove a
node that is not one of its children. An attempt to
remove such a node should raise the desired exception.
|
|
| replaceChild |
| nodeReplaceChild (XML Java)
The "replaceChild(newChild,oldChild)" method replaces
the node "oldChild" with the node "newChild".
Replace the first element of the second employee with
a newly created Element node. Check the first position
after the replacement operation is completed. The new
Element should be "newChild".
|
| nodeReplaceChildInvalidNodeType (XML Java)
The "replaceChild(newChild,oldChild)" method raises a
HIERARCHY_REQUEST_ERR DOMException if this node is of
a type that does not allow children of the type "newChild"
to be inserted.
Retrieve the root node and attempt to replace
one of its children with a newly created Attr node.
An Element node cannot have children of the "Attr"
type, therefore the desired exception should be raised.
|
| nodeReplaceChildNewChildDiffDocument (XML Java)
The "replaceChild(newChild,oldChild)" method raises a
WRONG_DOCUMENT_ERR DOMException if the "newChild" was
created from a different document than the one that
created this node.
Retrieve the second employee and attempt to replace one
of its children with a node created from a different
document. An attempt to make such a replacement
should raise the desired exception.
|
| nodeReplaceChildNewChildExists (XML Java)
If the "newChild" is already in the tree, it is first
removed before the new one is added.
Retrieve the second employee and replace its TWELFTH
child(address) with its SECOND child(employeeId). After the
replacement the second child should now be the one that used
to be at the third position and the TWELFTH child should be the
one that used to be at the SECOND position.
|
| nodeReplaceChildNodeAncestor (XML Java)
The "replaceChild(newChild,oldChild)" method raises a
HIERARCHY_REQUEST_ERR DOMException if the node to put
in is one of this node's ancestors.
Retrieve the second employee and attempt to replace
one of its children with an ancestor node(root node).
An attempt to make such a replacement should raise the
desired exception.
|
| nodeReplaceChildNodeName (XML Java)
The "replaceChild(newChild,oldChild)" method returns
the node being replaced.
Replace the second Element of the second employee with
a newly created node Element and check the NodeName
returned by the "replaceChild(newChild,oldChild)"
method. The returned node should have a NodeName equal
to "employeeId".
|
| nodeReplaceChildNoModificationAllowedErr (XML Java)
The "replaceChild(newChild,oldChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
Obtain the children of the THIRD "gender" element. The elements
content is an entity reference. Get the FIRST item
from the entity reference and execute the "replaceChild(newChild,oldChild)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| nodeReplaceChildNoModificationAllowedErrEE (XML Java)
The "replaceChild(newChild,oldChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
Create an entity reference execute the "replaceChild(newChild,oldChild)" method.
This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown.
|
| nodeReplaceChildOldChildNonexistent (XML Java)
The "replaceChild(newChild,oldChild)" method raises a
NOT_FOUND_ERR DOMException if the old child is
not a child of this node.
Retrieve the second employee and attempt to replace a
node that is not one of its children. An attempt to
replace such a node should raise the desired exception.
|
|
| Test | Subjects | | |
| http://www.w3.org/2001/DOM-Test-Suite/level1/core/alltests (XML Java) |
No subjects defined for test
|
| http://www.w3.org/2001/DOM-Test-Suite/level1/core/ (XML Java) |
No subjects defined for test
|
| attrCreateDocumentFragment (XML Java) |
|
| attrCreateTextNode (XML Java) |
|
| attrCreateTextNode2 (XML Java) |
|
| attrDefaultValue (XML Java) |
|
| attrEffectiveValue (XML Java) |
|
| attrEntityReplacement (XML Java) |
|
| attrName (XML Java) |
|
| attrNextSiblingNull (XML Java) |
|
| attrNotSpecifiedValue (XML Java) |
|
| attrParentNodeNull (XML Java) |
|
| attrPreviousSiblingNull (XML Java) |
|
| attrSetValueNoModificationAllowedErr (XML Java) |
|
| attrSetValueNoModificationAllowedErrEE (XML Java) |
|
| attrSpecifiedValue (XML Java) |
|
| attrSpecifiedValueChanged (XML Java) |
|
| attrSpecifiedValueRemove (XML Java) |
|
| cdataSectionGetValue (XML Java) |
|
| cdataSectionNormalize (XML Java) |
|
| characterdataAppendData (XML Java) |
|
| characterdataAppendDataGetData (XML Java) |
|
| characterdataAppendDataNoModificationAllowedErr (XML Java) |
|
| characterdataAppendDataNoModificationAllowedErrEE (XML Java) |
|
| characterdataDeleteDataBeginning (XML Java) |
|
| characterdataDeleteDataEnd (XML Java) |
|
| characterdataDeleteDataEnd (XML Java) |
|
| characterdataDeleteDataExceedsLength (XML Java) |
|
| characterdataDeleteDataGetLengthAndData (XML Java) |
|
| characterdataDeleteDataMiddle (XML Java) |
|
| characterdataDeleteDataNoModificationAllowedErr (XML Java) |
|
| characterdataDeleteDataNoModificationAllowedErrEE (XML Java) |
|
| characterdataGetData (XML Java) |
|
| characterdataGetLength (XML Java) |
|
| characterdataIndexSizeErrDeleteDataCountNegative (XML Java) |
|
| characterdataIndexSizeErrDeleteDataOffsetGreater (XML Java) |
|
| characterdataIndexSizeErrDeleteDataOffsetNegative (XML Java) |
|
| characterdataIndexSizeErrInsertDataOffsetGreater (XML Java) |
|
| characterdataIndexSizeErrInsertDataOffsetNegative (XML Java) |
|
| characterdataIndexSizeErrReplaceDataCountNegative (XML Java) |
|
| characterdataIndexSizeErrReplaceDataOffsetGreater (XML Java) |
|
| characterdataIndexSizeErrReplaceDataOffsetNegative (XML Java) |
|
| characterdataIndexSizeErrSubstringCountNegative (XML Java) |
|
| characterdataIndexSizeErrSubstringNegativeOffset (XML Java) |
|
| characterdataIndexSizeErrSubstringOffsetGreater (XML Java) |
|
| characterdataInsertDataBeginning (XML Java) |
|
| characterdataInsertDataEnd (XML Java) |
|
| characterdataInsertDataMiddle (XML Java) |
|
| characterdataInsertDataNoModificationAllowedErr (XML Java) |
|
| characterdataInsertDataNoModificationAllowedErrEE (XML Java) |
|
| characterdataReplaceDataBeginning (XML Java) |
|
| characterdataReplaceDataEnd (XML Java) |
|
| characterdataReplaceDataExceedsLengthOfArg (XML Java) |
|
| characterdataReplaceDataExceedsLengthOfData (XML Java) |
|
| characterdataReplaceDataMiddle (XML Java) |
|
| characterdataReplaceDataNoModificationAllowedErr (XML Java) |
|
| characterdataReplaceDataNoModificationAllowedErrEE (XML Java) |
|
| characterdataSetDataNoModificationAllowedErr (XML Java) |
|
| characterdataSetDataNoModificationAllowedErrEE (XML Java) |
|
| characterdataSetNodeValue (XML Java) |
|
| characterdataSubStringExceedsValue (XML Java) |
|
| characterdataSubStringValue (XML Java) |
|
| commentGetComment (XML Java) |
|
| documentCreateAttribute (XML Java) |
|
| documentCreateCDATASection (XML Java) |
|
| documentCreateComment (XML Java) |
|
| documentCreateDocumentFragment (XML Java) |
|
| documentCreateElement (XML Java) |
|
| documentCreateElementCaseSensitive (XML Java) |
|
| documentCreateElementDefaultAttr (XML Java) |
|
| documentCreateEntityReference (XML Java) |
|
| documentCreateEntityReferenceKnown (XML Java) |
|
| documentCreateProcessingInstruction (XML Java) |
|
| documentCreateTextNode (XML Java) |
|
| documentGetDocType (XML Java) |
|
| documentGetDocTypeNoDTD (XML Java) |
|
| documentGetElementsByTagNameLength (XML Java) |
|
| documentGetElementsByTagNameTotalLength (XML Java) |
|
| documentGetElementsByTagNameValue (XML Java) |
|
| documentGetImplementation (XML Java) |
|
| documentGetRootNode (XML Java) |
|
| documentInvalidCharacterExceptionCreateAttribute (XML Java) |
|
| documentInvalidCharacterExceptionCreateElement (XML Java) |
|
| documentInvalidCharacterExceptionCreateEntRef (XML Java) |
|
| documentInvalidCharacterExceptionCreatePI (XML Java) |
|
| documenttypeGetDocType (XML Java) |
|
| documenttypeGetEntities (XML Java) |
|
| documenttypeGetEntitiesLength (XML Java) |
|
| documenttypeGetEntitiesType (XML Java) |
|
| documenttypeGetNotations (XML Java) |
|
| documenttypeGetNotationsType (XML Java) |
|
| domimplementationFeatureNoVersion (XML Java) |
|
| domimplementationFeatureNull (XML Java) |
|
| domimplementationFeaturexml (XML Java) |
|
| elementAddNewAttribute (XML Java) |
|
| elementAssociatedAttribute (XML Java) |
|
| elementChangeAttributeValue (XML Java) |
|
| elementCreateNewAttribute (XML Java) |
|
| elementGetAttributeNode (XML Java) |
|
| elementGetAttributeNodeNull (XML Java) |
|
| elementGetElementEmpty (XML Java) |
|
| elementGetElementsByTagName (XML Java) |
|
| elementGetElementsByTagName (XML Java) |
|
| elementGetElementsByTagName (XML Java) |
|
| elementGetElementsByTagNamesSpecialValue (XML Java) |
|
| elementGetTagName (XML Java) |
|
| elementInUseAttributeErr (XML Java) |
|
| elementInvalidCharacterException (XML Java) |
|
| elementNormalize (XML Java) |
|
| elementNotFoundErr (XML Java) |
|
| elementRemoveAttribute (XML Java) |
|
| elementRemoveAttributeAfterCreate (XML Java) |
|
| elementRemoveAttributeNode (XML Java) |
|
| elementRemoveAttributeNodeNoModificationAllowedErr (XML Java) |
|
| elementRemoveAttributeNodeNoModificationAllowedErrEE (XML Java) |
|
| elementRemoveAttributeNoModificationAllowedErr (XML Java) |
|
| elementRemoveAttributeNoModificationAllowedErr (XML Java) |
|
| elementRemoveAttributeRestoreDefaultValue (XML Java) |
|
| elementReplaceAttributeWithSelf (XML Java) |
|
| elementReplaceExistingAttribute (XML Java) |
No subjects defined for test
|
| elementReplaceExistingAttributeGeValue (XML Java) |
|
| elementRetrieveAllAttributes (XML Java) |
|
| elementRetrieveAttrValue (XML Java) |
|
| elementRetrieveTagName (XML Java) |
|
| elementSetAttributeNodeNoModificationAllowedErr (XML Java) |
|
| elementSetAttributeNodeNoModificationAllowedErr (XML Java) |
|
| elementSetAttributeNodeNull (XML Java) |
|
| elementSetAttributeNoModificationAllowedErr (XML Java) |
|
| elementSetAttributeNoModificationAllowedErr (XML Java) |
|
| elementWrongDocumentErr (XML Java) |
|
| entityGetEntityName (XML Java) |
|
| entityGetPublicId (XML Java) |
|
| entityGetPublicIdNull (XML Java) |
|
| namednodemapChildNodeRange (XML Java) |
|
| namednodemapGetNamedItem (XML Java) |
|
| namedNodeMapInUseAttributeErr (XML Java) |
|
| namednodemapNotFoundErr (XML Java) |
|
| namednodemapNumberOfNodes (XML Java) |
|
| namednodemapRemoveNamedItem (XML Java) |
|
| namednodemapRemoveNamedItemGetValue (XML Java) |
|
| namednodemapRemoveNamedItemReturnNodeValue (XML Java) |
|
| namednodemapReturnAttrNode (XML Java) |
|
| namednodemapReturnFirstItem (XML Java) |
|
| namednodemapReturnLastItem (XML Java) |
|
| namednodemapReturnNull (XML Java) |
|
| namednodemapSetNamedItem (XML Java) |
|
| namednodemapSetNamedItemReturnValue (XML Java) |
|
| namednodemapSetNamedItemThatExists (XML Java) |
|
| namednodemapSetNamedItemWithNewValue (XML Java) |
|
| namednodemapWrongDocumentErr (XML Java) |
|
| nodeAppendChild (XML Java) |
|
| nodeAppendChildChildExists (XML Java) |
|
| nodeAppendChildDocFragment (XML Java) |
|
| nodeAppendChildGetNodeName (XML Java) |
|
| nodeAppendChildInvalidNodeType (XML Java) |
|
| nodeAppendChildNewChildDiffDocument (XML Java) |
|
| nodeAppendChildNodeAncestor (XML Java) |
|
| nodeAppendChildNoModificationAllowedErr (XML Java) |
|
| nodeAppendChildNoModificationAllowedErrEE (XML Java) |
|
| nodeAttributeNodeName (XML Java) |
|
| nodeAttributeNodeType (XML Java) |
|
| nodeAttributeNodeValue (XML Java) |
|
| nodeCDATASectionNodeAttribute (XML Java) |
|
| nodeCDATASectionNodeName (XML Java) |
|
| nodeCDATASectionNodeType (XML Java) |
|
| nodeCDATASectionNodeValue (XML Java) |
|
| nodeChildNodes (XML Java) |
|
| nodeChildNodesAppendChild (XML Java) |
|
| nodeChildNodesEmpty (XML Java) |
|
| nodeCloneAttributesCopied (XML Java) |
|
| nodeCloneFalseNoCopyText (XML Java) |
|
| nodeCloneGetParentNull (XML Java) |
|
| nodeCloneNodeFalse (XML Java) |
|
| nodeCloneNodeTrue (XML Java) |
|
| nodeCloneTrueCopyText (XML Java) |
|
| nodeCommentNodeAttributes (XML Java) |
|
| nodeCommentNodeName (XML Java) |
|
| nodeCommentNodeType (XML Java) |
|
| nodeCommentNodeValue (XML Java) |
|
| nodeDocumentFragmentNodeName (XML Java) |
|
| nodeDocumentFragmentNodeType (XML Java) |
|
| nodeDocumentFragmentNodeValue (XML Java) |
|
| nodedocumentnodeattribute (XML Java) |
|
| nodeDocumentNodeName (XML Java) |
|
| nodeDocumentNodeType (XML Java) |
|
| nodeDocumentNodeValue (XML Java) |
|
| nodeDocumentTypeNodeName (XML Java) |
|
| nodeDocumentTypeNodeType (XML Java) |
|
| nodeDocumentTypeNodeValue (XML Java) |
No subjects defined for test
|
| nodeElementNodeAttributes (XML Java) |
|
| nodeElementNodeName (XML Java) |
|
| nodeElementNodeType (XML Java) |
|
| nodeElementNodeValue (XML Java) |
|
| nodeEntityNodeAttributes (XML Java) |
|
| nodeEntityNodeName (XML Java) |
|
| nodeEntityNodeType (XML Java) |
|
| nodeEntityNodeValue (XML Java) |
|
| nodeEntityReferenceNodeAttributes (XML Java) |
|
| nodeEntityReferenceNodeName (XML Java) |
|
| nodeEntityReferenceNodeType (XML Java) |
|
| nodeEntityReferenceNodeValue (XML Java) |
|
| nodeEntitySetNodeValue (XML Java) |
|
| nodeGetFirstChild (XML Java) |
|
| nodeGetFirstChildNull (XML Java) |
|
| nodeGetLastChild (XML Java) |
|
| nodeGetLastChildNull (XML Java) |
|
| nodeGetNextSibling (XML Java) |
|
| nodeGetNextSiblingNull (XML Java) |
|
| nodeGetOwnerDocument (XML Java) |
|
| nodeGetOwnerDocumentNull (XML Java) |
|
| nodeGetPreviousSibling (XML Java) |
|
| nodeGetPreviousSiblingNull (XML Java) |
|
| nodeHasChildNodes (XML Java) |
|
| nodeHasChildNodesFalse (XML Java) |
|
| nodeInsertBefore (XML Java) |
|
| nodeInsertBeforeDocFragment (XML Java) |
|
| nodeInsertBeforeInvalidNodeType (XML Java) |
|
| nodeInsertBeforeNewChildDiffDocument (XML Java) |
|
| nodeInsertBeforeNewChildExists (XML Java) |
|
| nodeInsertBeforeNodeAncestor (XML Java) |
|
| nodeInsertBeforeNodeName (XML Java) |
|
| nodeInsertBeforeNoModificationAllowedErr (XML Java) |
|
| nodeInsertBeforeNoModificationAllowedErrEE (XML Java) |
|
| nodeInsertBeforeRefChildNonexistent (XML Java) |
|
| nodeInsertBeforeRefChildNull (XML Java) |
|
| nodelistIndexEqualZero (XML Java) |
|
| nodelistIndexGetLength (XML Java) |
|
| nodelistIndexGetLengthOfEmptyList (XML Java) |
|
| nodelistIndexNotZero (XML Java) |
|
| nodelistReturnFirstItem (XML Java) |
|
| nodelistReturnLastItem (XML Java) |
|
| nodelistTraverseList (XML Java) |
|
| nodeNotationNodeAttributes (XML Java) |
|
| nodeNotationNodeName (XML Java) |
|
| nodeNotationNodeType (XML Java) |
|
| nodeNotationNodeValue (XML Java) |
|
| nodeParentNode (XML Java) |
|
| nodeParentNodeNull (XML Java) |
|
| nodeProcessingInstructionNodeAttributes (XML Java) |
|
| nodeProcessingInstructionNodeName (XML Java) |
|
| nodeProcessingInstructionNodeType (XML Java) |
|
| nodeProcessingInstructionNodeValue (XML Java) |
|
| nodeProcessingInstructionSetNodeValue (XML Java) |
|
| nodeRemoveChild (XML Java) |
|
| nodeRemoveChildGetNodeName (XML Java) |
|
| nodeRemoveChildNode (XML Java) |
|
| nodeRemoveChildNoModificationAllowedErr (XML Java) |
|
| nodeRemoveChildNoModificationAllowedErrEE (XML Java) |
|
| nodeRemoveChildOldChildNonexistent (XML Java) |
|
| nodeReplaceChild (XML Java) |
|
| nodeReplaceChildInvalidNodeType (XML Java) |
|
| nodeReplaceChildNewChildDiffDocument (XML Java) |
|
| nodeReplaceChildNewChildExists (XML Java) |
|
| nodeReplaceChildNodeAncestor (XML Java) |
|
| nodeReplaceChildNodeName (XML Java) |
|
| nodeReplaceChildNoModificationAllowedErr (XML Java) |
|
| nodeReplaceChildNoModificationAllowedErrEE (XML Java) |
|
| nodeReplaceChildOldChildNonexistent (XML Java) |
|
| nodeSetNodeValueNoModificationAllowedErr (XML Java) |
|
| nodeSetNodeValueNoModificationAllowedErrEE (XML Java) |
|
| nodeTextNodeAttribute (XML Java) |
|
| nodeTextNodeName (XML Java) |
|
| nodeTextNodeType (XML Java) |
|
| nodeTextNodeValue (XML Java) |
|
| nodevalue01 (XML Java) |
|
| nodevalue02 (XML Java) |
|
| nodevalue03 (XML Java) |
|
| nodevalue04 (XML Java) |
|
| nodevalue05 (XML Java) |
|
| nodevalue06 (XML Java) |
|
| nodevalue07 (XML Java) |
|
| nodevalue08 (XML Java) |
|
| nodevalue09 (XML Java) |
|
| notationGetNotationName (XML Java) |
|
| notationGetPublicId (XML Java) |
|
| notationGetPublicIdNull (XML Java) |
|
| notationGetSystemId (XML Java) |
|
| notationGetSystemIdNull (XML Java) |
|
| processinginstructionGetData (XML Java) |
|
| processinginstructionGetTarget (XML Java) |
|
| processinginstructionSetDataNoModificationAllowedErr (XML Java) |
|
| processinginstructionSetDataNoModificationAllowedErrEE (XML Java) |
|
| textIndexSizeErrNegativeOffset (XML Java) |
|
| textIndexSizeErrOffsetOutOfBounds (XML Java) |
|
| textParseIntoListOfElements (XML Java) |
|
| textSplitTextFour (XML Java) |
|
| textSplitTextNoModificationAllowedErr (XML Java) |
|
| textSplitTextNoModificationAllowedErrEE (XML Java) |
|
| textSplitTextOne (XML Java) |
|
| textSplitTextThree (XML Java) |
|
| textSplitTextTwo (XML Java) |
|
| textWithNoMarkup (XML Java) |
|