Class | Description |
---|---|
alltests | |
attrcreatedocumentfragment |
Attr nodes may be associated with Element nodes contained within a DocumentFragment.
|
attrcreatetextnode |
The "setValue()" method for an attribute creates a
Text node with the unparsed content of the string.
|
attrcreatetextnode2 |
The "setNodeValue()" method for an attribute creates a
Text node with the unparsed content of the string.
|
attrdefaultvalue |
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.
|
attreffectivevalue |
If an Attr is explicitly assigned any value, then that value is the attributes effective value.
|
attrentityreplacement |
The "getValue()" method will return the value of the
attribute as a string.
|
attrname |
The getNodeName() method of an Attribute node.
|
attrnextsiblingnull |
The "getNextSibling()" method for an Attr node should return null.
|
attrnotspecifiedvalue |
The "getSpecified()" method for an Attr node should
be set to false if the attribute was not explicitly given
a value.
|
attrparentnodenull |
The "getParentNode()" method for an Attr node should return null.
|
attrprevioussiblingnull |
The "getPreviousSibling()" method for an Attr node should return null.
|
attrremovechild1 |
Removing a child node from an attribute in an entity reference
should result in an NO_MODIFICATION_ALLOWED_ERR DOMException.
|
attrreplacechild1 |
Replacing a child node from an attribute in an entity reference
should result in an NO_MODIFICATION_ALLOWED_ERR DOMException.
|
attrsetvaluenomodificationallowederr |
The "setValue()" method for an attribute causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
attrsetvaluenomodificationallowederrEE |
The "setValue()" method for an attribute causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
attrspecifiedvalue |
The "getSpecified()" method for an Attr node should
be set to true if the attribute was explicitly given
a value.
|
attrspecifiedvaluechanged |
The "getSpecified()" method for an Attr node should return true if the
value of the attribute is changed.
|
attrspecifiedvalueremove |
To respecify the attribute to its default value from
the DTD, the attribute must be deleted.
|
cdatasectiongetdata |
Retrieve the last CDATASection node located inside the
second child of the second employee and examine its
content.
|
cdatasectionnormalize |
Adjacent CDATASection nodes cannot be merged together by
use of the "normalize()" method from the Element interface.
|
characterdataappenddata |
The "appendData(arg)" method appends a string to the end
of the character data of the node.
|
characterdataappenddatagetdata |
On successful invocation of the "appendData(arg)"
method the "getData()" method provides access to the
concatentation of data and the specified string.
|
characterdataappenddatanomodificationallowederr |
The "appendData(arg)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
|
characterdataappenddatanomodificationallowederrEE |
Create an ent3 entity reference and call appendData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR.
|
characterdatadeletedatabegining |
The "deleteData(offset,count)" method removes a range of
characters from the node.
|
characterdatadeletedataend |
The "deleteData(offset,count)" method removes a range of
characters from the node.
|
characterdatadeletedataexceedslength |
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.
|
characterdatadeletedatagetlengthanddata |
On successful invocation of the "deleteData(offset,count)"
method, the "getData()" and "getLength()" methods reflect
the changes.
|
characterdatadeletedatamiddle |
The "deleteData(offset,count)" method removes a range of
characters from the node.
|
characterdatadeletedatanomodificationallowederr |
The "deleteData(offset,count)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
|
characterdatadeletedatanomodificationallowederrEE |
Create an ent3 entity reference and call deleteData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR.
|
characterdatagetdata |
The "getData()" method retrieves the character data
currently stored in the node.
|
characterdatagetlength |
The "getLength()" method returns the number of characters
stored in this nodes data.
|
characterdataindexsizeerrdeletedatacountnegative |
The "deleteData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified count
is negative.
|
characterdataindexsizeerrdeletedataoffsetgreater |
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.
|
characterdataindexsizeerrdeletedataoffsetnegative |
The "deleteData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is negative.
|
characterdataindexsizeerrinsertdataoffsetgreater |
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.
|
characterdataindexsizeerrinsertdataoffsetnegative |
The "insertData(offset,arg)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is negative.
|
characterdataindexsizeerrreplacedatacountnegative |
The "replaceData(offset,count,arg)" method raises an
INDEX_SIZE_ERR DOMException if the specified count
is negative.
|
characterdataindexsizeerrreplacedataoffsetgreater |
The "replaceData(offset,count,arg)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is greater than the length of the string.
|
characterdataindexsizeerrreplacedataoffsetnegative |
The "replaceData(offset,count,arg)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is negative.
|
characterdataindexsizeerrsubstringcountnegative |
The "substringData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified count
is negative.
|
characterdataindexsizeerrsubstringnegativeoffset |
The "substringData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is negative.
|
characterdataindexsizeerrsubstringoffsetgreater |
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.
|
characterdatainsertdatabeginning |
The "insertData(offset,arg)" method will insert a string
at the specified character offset.
|
characterdatainsertdataend |
The "insertData(offset,arg)" method will insert a string
at the specified character offset.
|
characterdatainsertdatamiddle |
The "insertData(offset,arg)" method will insert a string
at the specified character offset.
|
characterdatainsertdatanomodificationallowederr |
The "insertData(offset,arg)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
|
characterdatainsertdatanomodificationallowederrEE |
Create an ent3 entity reference and call insertData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR.
|
characterdatareplacedatabegining |
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string.
|
characterdatareplacedataend |
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string.
|
characterdatareplacedataexceedslengthofarg |
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string.
|
characterdatareplacedataexceedslengthofdata |
If the sum of the offset and count exceeds the length then
all the characters to the end of the data are replaced.
|
characterdatareplacedatamiddle |
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string.
|
characterdatareplacedatanomodificationallowederr |
The "replaceData(offset,count,arg)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
|
characterdatareplacedatanomodificationallowederrEE |
Create an ent3 entity reference and call replaceData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR.
|
characterdatasetdatanomodificationallowederr |
The "setData(data)" method raises a NO_MODIFICATION_ALLOWED_ERR
DOMException if the node is readonly.
|
characterdatasetdatanomodificationallowederrEE |
Create an ent3 entity reference and call setData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR.
|
characterdatasetnodevalue |
The "setNodeValue()" method changes the character data
currently stored in the node.
|
characterdatasubstringexceedsvalue |
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.
|
characterdatasubstringvalue |
The "substringData(offset,count)" method returns the
specified string.
|
commentgetcomment |
A comment is all the characters between the starting
''
Retrieve the nodes of the DOM document.
|
documentcreateattribute |
The "createAttribute(name)" method creates an Attribute
node of the given name.
|
documentcreatecdatasection |
The "createCDATASection(data)" method creates a new
CDATASection node whose value is the specified string.
|
documentcreatecomment |
The "createComment(data)" method creates a new Comment
node given the specified string.
|
documentcreatedocumentfragment |
The "createDocumentFragment()" method creates an empty
DocumentFragment object.
|
documentcreateelement |
The "createElement(tagName)" method creates an Element
of the type specified.
|
documentcreateelementcasesensitive |
The tagName parameter in the "createElement(tagName)"
method is case-sensitive for XML documents.
|
documentcreateelementdefaultattr |
The "createElement(tagName)" method creates an Element
of the type specified.
|
documentcreateentityreference |
The "createEntityReference(name)" method creates an
EntityReferrence node.
|
documentcreateentityreferenceknown |
The "createEntityReference(name)" method creates an
EntityReference node.
|
documentcreateprocessinginstruction |
The "createProcessingInstruction(target,data)" method
creates a new ProcessingInstruction node with the
specified name and data string.
|
documentcreatetextnode |
The "createTextNode(data)" method creates a Text node
given the specfied string.
|
documentgetdoctype |
The "getDoctype()" method returns the Document
Type Declaration associated with this document.
|
documentgetdoctypenodtd |
The "getDoctype()" method returns null for XML documents
without a document type declaration.
|
documentgetelementsbytagnamelength |
The "getElementsByTagName(tagName)" method returns a
NodeList of all the Elements with a given tagName.
|
documentgetelementsbytagnametotallength |
Retrieve the entire DOM document, invoke
getElementsByTagName("*") and check the length of the NodeList.
|
documentgetelementsbytagnamevalue |
The "getElementsByTagName(tagName)" method returns a
NodeList of all the Elements with a given tagName
in a pre-order traversal of the tree.
|
documentgetimplementation |
The "getImplementation()" method returns the
DOMImplementation object that handles this document.
|
documentgetrootnode |
The "getDocumentElement()" method provides direct access
to the child node that is the root element of the document.
|
documentinvalidcharacterexceptioncreateattribute |
The "createAttribute(tagName)" method raises an
INVALID_CHARACTER_ERR DOMException if the specified
tagName contains an invalid character.
|
documentinvalidcharacterexceptioncreateelement |
The "createElement(tagName)" method raises an
INVALID_CHARACTER_ERR DOMException if the specified
tagName contains an invalid character.
|
documentinvalidcharacterexceptioncreateentref |
The "createEntityReference(tagName)" method raises an
INVALID_CHARACTER_ERR DOMException if the specified
tagName contains an invalid character.
|
documentinvalidcharacterexceptioncreateentref1 |
Creating an entity reference with an empty name should cause an INVALID_CHARACTER_ERR.
|
documentinvalidcharacterexceptioncreatepi |
The "createProcessingInstruction(target,data) method
raises an INVALID_CHARACTER_ERR DOMException if the
specified tagName contains an invalid character.
|
documentinvalidcharacterexceptioncreatepi1 |
Creating a processing instruction with an empty target should cause an INVALID_CHARACTER_ERR.
|
documenttypegetdoctype |
The "getName()" method contains the name of the DTD.
|
documenttypegetentities |
The "getEntities()" method is a NamedNodeMap that contains
the general entities for this document.
|
documenttypegetentitieslength |
Duplicate entities are to be discarded.
|
documenttypegetentitiestype |
Every node in the map returned by the "getEntities()"
method implements the Entity interface.
|
documenttypegetnotations |
The "getNotations()" method creates a NamedNodeMap that
contains all the notations declared in the DTD.
|
documenttypegetnotationstype |
Every node in the map returned by the "getNotations()"
method implements the Notation interface.
|
domimplementationfeaturenoversion |
hasFeature("XML", "") should return true for implementations that can read staff files.
|
domimplementationfeaturenull |
hasFeature("XML", null) should return true for implementations that can read staff documents.
|
domimplementationfeaturexml |
hasFeature("xml", "1.0") should return true for implementations that can read staff documents.
|
elementaddnewattribute |
The "setAttribute(name,value)" method adds a new attribute
to the Element
Retrieve the last child of the last employee, then
add an attribute to it by invoking the
"setAttribute(name,value)" method.
|
elementassociatedattribute |
Elements may have attributes associated with them.
|
elementchangeattributevalue |
The "setAttribute(name,value)" method adds a new attribute
to the Element.
|
elementcreatenewattribute |
The "setAttributeNode(newAttr)" method adds a new
attribute to the Element.
|
elementgetattributenode |
The "getAttributeNode(name)" method retrieves an
attribute node by name.
|
elementgetattributenodenull |
The "getAttributeNode(name)" method retrieves an
attribute node by name.
|
elementgetelementempty |
The "getAttribute(name)" method returns an empty
string if no value was assigned to an attribute and
no default value was given in the DTD file.
|
elementgetelementsbytagname |
The "getElementsByTagName(name)" method returns a list
of all descendant Elements with the given tag name.
|
elementgetelementsbytagnameaccessnodelist |
Element.getElementsByTagName("employee") should return a NodeList whose length is
"5" in the order the children were encountered.
|
elementgetelementsbytagnamenomatch |
The "getElementsByTagName(name)" method returns a list
of all descendant Elements with the given tag name.
|
elementgetelementsbytagnamespecialvalue |
The "getElementsByTagName(name)" method may use the
special value "*" to match all tags in the element
tree.
|
elementgettagname |
The "getTagName()" method returns the
tagName of an element.
|
elementinuseattributeerr |
The "setAttributeNode(newAttr)" method raises an
"INUSE_ATTRIBUTE_ERR DOMException if the "newAttr"
is already an attribute of another element.
|
elementinvalidcharacterexception |
The "setAttribute(name,value)" method raises an
"INVALID_CHARACTER_ERR DOMException if the specified
name contains an invalid character.
|
elementnormalize |
The "normalize()" method puts all the nodes in the full
depth of the sub-tree underneath this element into a
"normal" form.
|
elementnotfounderr |
The "removeAttributeNode(oldAttr)" method raises a
NOT_FOUND_ERR DOMException if the "oldAttr" attribute
is not an attribute of the element.
|
elementremoveattribute |
The "removeAttribute(name)" removes an attribute by name.
|
elementremoveattributeaftercreate |
The "removeAttributeNode(oldAttr)" method removes the
specified attribute.
|
elementremoveattributenode |
The "removeAttributeNode(oldAttr)" method returns the
node that was removed.
|
elementremoveattributenodenomodificationallowederr |
The "removeAttributeNode(oldAttr)" method for an attribute causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
elementremoveattributenodenomodificationallowederrEE |
The "removeAttributeNode(oldAttr)" method for an attribute causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
elementremoveattributenomodificationallowederr |
The "removeAttribute(name)" method for an attribute causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
elementremoveattributenomodificationallowederrEE |
The "removeAttribute(name)" method for an attribute causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
elementremoveattributerestoredefaultvalue |
The "removeAttributeNode(oldAttr)" method removes the
specified attribute node and restores any default values.
|
elementreplaceattributewithself |
This test calls setAttributeNode to replace an attribute with itself.
|
elementreplaceexistingattribute |
The "setAttributeNode(newAttr)" method adds a new
attribute to the Element.
|
elementreplaceexistingattributegevalue |
If the "setAttributeNode(newAttr)" method replaces an
existing Attr node with the same name, then it should
return the previously existing Attr node.
|
elementretrieveallattributes |
The "getAttributes()" method(Node Interface) may
be used to retrieve the set of all attributes of an
element.
|
elementretrieveattrvalue |
The "getAttribute(name)" method returns an attribute
value by name.
|
elementretrievetagname |
The "getElementsByTagName()" method returns a NodeList
of all descendant elements with a given tagName.
|
elementsetattributenodenomodificationallowederr |
The "setAttributeNode(newAttr)" method for an attribute causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
elementsetattributenodenomodificationallowederrEE |
The "setAttributeNode(newAttr)" method for an attribute causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
elementsetattributenodenull |
The "setAttributeNode(newAttr)" method returns the
null value if no previously existing Attr node with the
same name was replaced.
|
elementsetattributenomodificationallowederr |
The "setAttribute(name,value)" method for an attribute causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
elementsetattributenomodificationallowederrEE |
The "setAttribute(name,value)" method for an attribute causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
elementwrongdocumenterr |
The "setAttributeNode(newAttr)" method raises an
"WRONG_DOCUMENT_ERR DOMException if the "newAttr"
was created from a different document than the one that
created this document.
|
entitygetentityname |
The nodeName attribute that is inherited from Node
contains the name of the entity.
|
entitygetpublicid |
The "getPublicId()" method of an Entity node contains
the public identifier associated with the entity, if
one was specified.
|
entitygetpublicidnull |
The "getPublicId()" method of an Entity node contains
the public identifier associated with the entity, if
one was not specified a null value should be returned.
|
hc_attrappendchild1 |
Appends a text node to an attribute and checks if the value of
the attribute is changed.
|
hc_attrappendchild2 |
Attempts to append an element to the child nodes of an attribute.
|
hc_attrappendchild3 |
Appends a document fragment to an attribute and checks if the value of
the attribute is changed.
|
hc_attrappendchild4 |
Attempt to append a CDATASection to an attribute which should result
in a HIERARCHY_REQUEST_ERR.
|
hc_attrappendchild5 |
Attempt to append a node from another document to an attribute which should result
in a WRONG_DOCUMENT_ERR.
|
hc_attrappendchild6 |
Creates an new attribute node and appends a text node.
|
hc_attrchildnodes1 |
Checks that Node.childNodes for an attribute node contains
the expected text node.
|
hc_attrchildnodes2 |
Checks Node.childNodes for an attribute with multiple child nodes.
|
hc_attrclonenode1 |
Appends a text node to an attribute and clones the node.
|
hc_attrcreatedocumentfragment |
Create a new DocumentFragment and add a newly created Element node(with one attribute).
|
hc_attrcreatetextnode |
The "setValue()" method for an attribute creates a
Text node with the unparsed content of the string.
|
hc_attrcreatetextnode2 |
The "setNodeValue()" method for an attribute creates a
Text node with the unparsed content of the string.
|
hc_attreffectivevalue |
If an Attr is explicitly assigned any value, then that value is the attributes effective value.
|
hc_attrfirstchild |
Checks that Node.firstChild for an attribute node contains
the expected text node.
|
hc_attrgetvalue1 |
Checks the value of an attribute that contains entity references.
|
hc_attrgetvalue2 |
Checks the value of an attribute that contains entity references.
|
hc_attrhaschildnodes |
Checks that Node.hasChildNodes() is true for an attribute with content.
|
hc_attrinsertbefore1 |
Appends a text node to an attribute and checks if the value of
the attribute is changed.
|
hc_attrinsertbefore2 |
Prepends a text node to an attribute and checks if the value of
the attribute is changed.
|
hc_attrinsertbefore3 |
Appends a document fragment to an attribute and checks if the value of
the attribute is changed.
|
hc_attrinsertbefore4 |
Prepends a document fragment to an attribute and checks if the value of
the attribute is changed.
|
hc_attrinsertbefore5 |
Attempt to append a CDATASection to an attribute which should result
in a HIERARCHY_REQUEST_ERR.
|
hc_attrinsertbefore6 |
Attempt to append a text node from another document to an attribute which should result
in a WRONG_DOCUMENT_ERR.
|
hc_attrinsertbefore7 |
Appends a document fragment containing a CDATASection to an attribute.
|
hc_attrlastchild |
Checks that Node.lastChild for an attribute node contains
the expected text node.
|
hc_attrname |
Retrieve the attribute named class from the last
child of of the second "p" element and examine its
NodeName.
|
hc_attrnextsiblingnull |
The "getNextSibling()" method for an Attr node should return null.
|
hc_attrnormalize |
Appends a text node to an attribute, normalizes the attribute
and checks for a single child node.
|
hc_attrparentnodenull |
The "getParentNode()" method for an Attr node should return null.
|
hc_attrprevioussiblingnull |
The "getPreviousSibling()" method for an Attr node should return null.
|
hc_attrremovechild1 |
Removes the child node of an attribute and checks that the value is empty.
|
hc_attrremovechild2 |
Attempts to remove a freshly created text node which should result in a NOT_FOUND_ERR exception.
|
hc_attrreplacechild1 |
Replaces a text node of an attribute and checks if the value of
the attribute is changed.
|
hc_attrreplacechild2 |
Replaces a text node of an attribute with a document fragment and checks if the value of
the attribute is changed.
|
hc_attrsetvalue1 |
Sets Attr.value on an attribute that only has a simple value.
|
hc_attrsetvalue2 |
Sets Attr.value on an attribute that should contain multiple child nodes.
|
hc_attrspecifiedvalue |
The "getSpecified()" method for an Attr node should
be set to true if the attribute was explicitly given
a value.
|
hc_attrspecifiedvaluechanged |
The "getSpecified()" method for an Attr node should return true if the
value of the attribute is changed.
|
hc_characterdataappenddata |
The "appendData(arg)" method appends a string to the end
of the character data of the node.
|
hc_characterdataappenddatagetdata |
On successful invocation of the "appendData(arg)"
method the "getData()" method provides access to the
concatentation of data and the specified string.
|
hc_characterdatadeletedatabegining |
The "deleteData(offset,count)" method removes a range of
characters from the node.
|
hc_characterdatadeletedataend |
The "deleteData(offset,count)" method removes a range of
characters from the node.
|
hc_characterdatadeletedataexceedslength |
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.
|
hc_characterdatadeletedatagetlengthanddata |
On successful invocation of the "deleteData(offset,count)"
method, the "getData()" and "getLength()" methods reflect
the changes.
|
hc_characterdatadeletedatamiddle |
The "deleteData(offset,count)" method removes a range of
characters from the node.
|
hc_characterdatagetdata |
The "getData()" method retrieves the character data
currently stored in the node.
|
hc_characterdatagetlength |
The "getLength()" method returns the number of characters
stored in this nodes data.
|
hc_characterdataindexsizeerrdeletedatacountnegative |
The "deleteData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified count
is negative.
|
hc_characterdataindexsizeerrdeletedataoffsetgreater |
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.
|
hc_characterdataindexsizeerrdeletedataoffsetnegative |
The "deleteData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is negative.
|
hc_characterdataindexsizeerrinsertdataoffsetgreater |
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.
|
hc_characterdataindexsizeerrinsertdataoffsetnegative |
The "insertData(offset,arg)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is negative.
|
hc_characterdataindexsizeerrreplacedatacountnegative |
The "replaceData(offset,count,arg)" method raises an
INDEX_SIZE_ERR DOMException if the specified count
is negative.
|
hc_characterdataindexsizeerrreplacedataoffsetgreater |
The "replaceData(offset,count,arg)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is greater than the length of the string.
|
hc_characterdataindexsizeerrreplacedataoffsetnegative |
The "replaceData(offset,count,arg)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is negative.
|
hc_characterdataindexsizeerrsubstringcountnegative |
The "substringData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified count
is negative.
|
hc_characterdataindexsizeerrsubstringnegativeoffset |
The "substringData(offset,count)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset
is negative.
|
hc_characterdataindexsizeerrsubstringoffsetgreater |
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.
|
hc_characterdatainsertdatabeginning |
The "insertData(offset,arg)" method will insert a string
at the specified character offset.
|
hc_characterdatainsertdataend |
The "insertData(offset,arg)" method will insert a string
at the specified character offset.
|
hc_characterdatainsertdatamiddle |
The "insertData(offset,arg)" method will insert a string
at the specified character offset.
|
hc_characterdatareplacedatabegining |
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string.
|
hc_characterdatareplacedataend |
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string.
|
hc_characterdatareplacedataexceedslengthofarg |
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string.
|
hc_characterdatareplacedataexceedslengthofdata |
If the sum of the offset and count exceeds the length then
all the characters to the end of the data are replaced.
|
hc_characterdatareplacedatamiddle |
The "replaceData(offset,count,arg)" method replaces the
characters starting at the specified offset with the
specified string.
|
hc_characterdatasetnodevalue |
The "setNodeValue()" method changes the character data
currently stored in the node.
|
hc_characterdatasubstringexceedsvalue |
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.
|
hc_characterdatasubstringvalue |
The "substringData(offset,count)" method returns the
specified string.
|
hc_commentgetcomment |
A comment is all the characters between the starting
''
Retrieve the nodes of the DOM document.
|
hc_documentcreateattribute |
Retrieve the entire DOM document and invoke its
"createAttribute(name)" method.
|
hc_documentcreatecomment |
The "createComment(data)" method creates a new Comment
node given the specified string.
|
hc_documentcreatedocumentfragment |
The "createDocumentFragment()" method creates an empty
DocumentFragment object.
|
hc_documentcreateelement |
The "createElement(tagName)" method creates an Element
of the type specified.
|
hc_documentcreateelementcasesensitive |
The tagName parameter in the "createElement(tagName)"
method is case-sensitive for XML documents.
|
hc_documentcreatetextnode |
The "createTextNode(data)" method creates a Text node
given the specfied string.
|
hc_documentgetdoctype |
Access Document.doctype for hc_staff, if not text/html should return DocumentType node.
|
hc_documentgetelementsbytagnamelength |
The "getElementsByTagName(tagName)" method returns a
NodeList of all the Elements with a given tagName.
|
hc_documentgetelementsbytagnametotallength |
Retrieve the entire DOM document and invoke its
"getElementsByTagName(tagName)" method with tagName
equal to "*".
|
hc_documentgetelementsbytagnamevalue |
The "getElementsByTagName(tagName)" method returns a
NodeList of all the Elements with a given tagName
in a pre-order traversal of the tree.
|
hc_documentgetimplementation |
Retrieve the entire DOM document and invoke its
"getImplementation()" method.
|
hc_documentgetrootnode |
Load a document and invoke its
"getDocumentElement()" method.
|
hc_documentinvalidcharacterexceptioncreateattribute |
The "createAttribute(tagName)" method raises an
INVALID_CHARACTER_ERR DOMException if the specified
tagName contains an invalid character.
|
hc_documentinvalidcharacterexceptioncreateattribute1 |
Creating an attribute with an empty name should cause an INVALID_CHARACTER_ERR.
|
hc_documentinvalidcharacterexceptioncreateelement |
The "createElement(tagName)" method raises an
INVALID_CHARACTER_ERR DOMException if the specified
tagName contains an invalid character.
|
hc_documentinvalidcharacterexceptioncreateelement1 |
Creating an element with an empty name should cause an INVALID_CHARACTER_ERR.
|
hc_domimplementationfeaturenoversion |
Load a document and invoke its
"getImplementation()" method.
|
hc_domimplementationfeaturenull |
Load a document and invoke its
"getImplementation()" method.
|
hc_domimplementationfeaturexml |
Retrieve the entire DOM document and invoke its
"getImplementation()" method.
|
hc_elementaddnewattribute |
The "setAttribute(name,value)" method adds a new attribute
to the Element
Retrieve the last child of the last employee, then
add an attribute to it by invoking the
"setAttribute(name,value)" method.
|
hc_elementassociatedattribute |
Retrieve the first attribute from the last child of
the first employee and invoke the "getSpecified()"
method.
|
hc_elementchangeattributevalue |
The "setAttribute(name,value)" method adds a new attribute
to the Element.
|
hc_elementcreatenewattribute |
The "setAttributeNode(newAttr)" method adds a new
attribute to the Element.
|
hc_elementgetattributenode |
Retrieve the attribute "title" from the last child
of the first "p" element and check its node name.
|
hc_elementgetattributenodenull |
The "getAttributeNode(name)" method retrieves an
attribute node by name.
|
hc_elementgetelementempty |
The "getAttribute(name)" method returns an empty
string if no value was assigned to an attribute and
no default value was given in the DTD file.
|
hc_elementgetelementsbytagname |
The "getElementsByTagName(name)" method returns a list
of all descendant Elements with the given tag name.
|
hc_elementgetelementsbytagnameaccessnodelist |
The "getElementsByTagName(name)" method returns a list
of all descendant Elements in the order the children
were encountered in a pre order traversal of the element
tree.
|
hc_elementgetelementsbytagnamenomatch |
The "getElementsByTagName(name)" method returns a list
of all descendant Elements with the given tag name.
|
hc_elementgetelementsbytagnamespecialvalue |
The "getElementsByTagName(name)" method may use the
special value "*" to match all tags in the element
tree.
|
hc_elementgettagname |
Invoke the "getTagName()" method one the
root node.
|
hc_elementinuseattributeerr |
The "setAttributeNode(newAttr)" method raises an
"INUSE_ATTRIBUTE_ERR DOMException if the "newAttr"
is already an attribute of another element.
|
hc_elementinvalidcharacterexception |
The "setAttribute(name,value)" method raises an
"INVALID_CHARACTER_ERR DOMException if the specified
name contains an invalid character.
|
hc_elementinvalidcharacterexception1 |
Calling Element.setAttribute with an empty name will cause an INVALID_CHARACTER_ERR.
|
hc_elementnormalize |
Append a couple of text nodes to the first sup element, normalize the
document element and check that the element has been normalized.
|
hc_elementnormalize2 |
Add an empty text node to an existing attribute node, normalize the containing element
and check that the attribute node has eliminated the empty text.
|
hc_elementnotfounderr |
The "removeAttributeNode(oldAttr)" method raises a
NOT_FOUND_ERR DOMException if the "oldAttr" attribute
is not an attribute of the element.
|
hc_elementremoveattribute |
The "removeAttribute(name)" removes an attribute by name.
|
hc_elementremoveattributeaftercreate |
The "removeAttributeNode(oldAttr)" method removes the
specified attribute.
|
hc_elementremoveattributenode |
The "removeAttributeNode(oldAttr)" method returns the
node that was removed.
|
hc_elementreplaceattributewithself |
This test calls setAttributeNode to replace an attribute with itself.
|
hc_elementreplaceexistingattribute |
The "setAttributeNode(newAttr)" method adds a new
attribute to the Element.
|
hc_elementreplaceexistingattributegevalue |
If the "setAttributeNode(newAttr)" method replaces an
existing Attr node with the same name, then it should
return the previously existing Attr node.
|
hc_elementretrieveallattributes |
Create a list of all the attributes of the last child
of the first "p" element by using the "getAttributes()"
method.
|
hc_elementretrieveattrvalue |
The "getAttribute(name)" method returns an attribute
value by name.
|
hc_elementretrievetagname |
The "getElementsByTagName()" method returns a NodeList
of all descendant elements with a given tagName.
|
hc_elementsetattributenodenull |
The "setAttributeNode(newAttr)" method returns the
null value if no previously existing Attr node with the
same name was replaced.
|
hc_elementwrongdocumenterr |
The "setAttributeNode(newAttr)" method raises an
"WRONG_DOCUMENT_ERR DOMException if the "newAttr"
was created from a different document than the one that
created this document.
|
hc_entitiesremovenameditem1 |
An attempt to add remove an entity should result in a NO_MODIFICATION_ERR.
|
hc_entitiessetnameditem1 |
An attempt to add an element to the named node map returned by entities should
result in a NO_MODIFICATION_ERR or HIERARCHY_REQUEST_ERR.
|
hc_namednodemapchildnoderange |
Create a NamedNodeMap object from the attributes of the
last child of the third "p" element and traverse the
list from index 0 thru length -1.
|
hc_namednodemapgetnameditem |
Retrieve the second "p" element and create a NamedNodeMap
listing of the attributes of the last child.
|
hc_namednodemapinuseattributeerr |
The "setNamedItem(arg)" method raises a
INUSE_ATTRIBUTE_ERR DOMException if "arg" is an
Attr that is already in an attribute of another Element.
|
hc_namednodemapnotfounderr |
The "removeNamedItem(name)" method raises a
NOT_FOUND_ERR DOMException if there is not a node
named "strong" in the map.
|
hc_namednodemapnumberofnodes |
Retrieve the second "p" element and evaluate Node.attributes.length.
|
hc_namednodemapremovenameditem |
The "removeNamedItem(name)" method removes a node
specified by name.
|
hc_namednodemapreturnattrnode |
Retrieve the second p element and create a NamedNodeMap
listing of the attributes of the last child.
|
hc_namednodemapreturnfirstitem |
The "item(index)" method returns the indexth item in
the map(test for first item).
|
hc_namednodemapreturnlastitem |
The "item(index)" method returns the indexth item in
the map(test for last item).
|
hc_namednodemapreturnnull |
The "getNamedItem(name)" method returns null of the
specified name did not identify any node in the map.
|
hc_namednodemapsetnameditem |
Retrieve the second "p" element and create a NamedNodeMap
object from the attributes of the last child by
invoking the "getAttributes()" method.
|
hc_namednodemapsetnameditemreturnvalue |
If the "setNamedItem(arg)" method replaces an already
existing node with the same name then the already
existing node is returned.
|
hc_namednodemapsetnameditemthatexists |
If the node to be added by the "setNamedItem(arg)" method
already exists in the NamedNodeMap, it is replaced by
the new one.
|
hc_namednodemapsetnameditemwithnewvalue |
If the "setNamedItem(arg)" method does not replace an
existing node with the same name then it returns null.
|
hc_namednodemapwrongdocumenterr |
The "setNamedItem(arg)" method raises a
WRONG_DOCUMENT_ERR DOMException if "arg" was created
from a different document than the one that created
the NamedNodeMap.
|
hc_nodeappendchild |
Retrieve the second "p" and append a "br" Element
node to the list of children.
|
hc_nodeappendchildchildexists |
If the "newChild" is already in the tree, it is first
removed before the new one is appended.
|
hc_nodeappendchilddocfragment |
If the "newChild" is a DocumentFragment object then
all its content is added to the child list of this node.
|
hc_nodeappendchildgetnodename |
The "appendChild(newChild)" method returns the node
added.
|
hc_nodeappendchildinvalidnodetype |
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.
|
hc_nodeappendchildnewchilddiffdocument |
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.
|
hc_nodeappendchildnodeancestor |
The "appendChild(newChild)" method raises a
HIERARCHY_REQUEST_ERR DOMException if the node to
append is one of this node's ancestors.
|
hc_nodeattributenodeattribute |
The "getAttributes()" method invoked on an Attribute
Node returns null.
|
hc_nodeattributenodename |
Retrieve the Attribute named "title" from the last
child of the first p element and check the string returned
by the "getNodeName()" method.
|
hc_nodeattributenodetype |
The "getNodeType()" method for an Attribute Node
returns the constant value 2.
|
hc_nodeattributenodevalue |
The string returned by the "getNodeValue()" method for an
Attribute Node is the value of the Attribute.
|
hc_nodechildnodes |
The "getChildNodes()" method returns a NodeList
that contains all children of this node.
|
hc_nodechildnodesappendchild |
The NodeList returned by the "getChildNodes()" method
is live.
|
hc_nodechildnodesempty |
The "getChildNodes()" method returns a NodeList
that contains all children of this node.
|
hc_nodecloneattributescopied |
Retrieve the second acronym element and invoke
the cloneNode method.
|
hc_nodeclonefalsenocopytext |
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.
|
hc_nodeclonegetparentnull |
The duplicate node returned by the "cloneNode(deep)"
method does not have a ParentNode.
|
hc_nodeclonenodefalse |
The "cloneNode(deep)" method returns a copy of the node
only if deep=false.
|
hc_nodeclonenodetrue |
The "cloneNode(deep)" method returns a copy of the node
and the subtree under it if deep=true.
|
hc_nodeclonetruecopytext |
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.
|
hc_nodecommentnodeattributes |
The "getAttributes()" method invoked on a Comment
Node returns null.
|
hc_nodecommentnodename |
The string returned by the "getNodeName()" method for a
Comment Node is "#comment".
|
hc_nodecommentnodetype |
The "getNodeType()" method for a Comment Node
returns the constant value 8.
|
hc_nodecommentnodevalue |
The string returned by the "getNodeValue()" method for a
Comment Node is the content of the comment.
|
hc_nodedocumentfragmentnodename |
The string returned by the "getNodeName()" method for a
DocumentFragment Node is "#document-frament".
|
hc_nodedocumentfragmentnodetype |
The "getNodeType()" method for a DocumentFragment Node
returns the constant value 11.
|
hc_nodedocumentfragmentnodevalue |
The string returned by the "getNodeValue()" method for a
DocumentFragment Node is null.
|
hc_nodedocumentnodeattribute |
The "getAttributes()" method invoked on a Document
Node returns null.
|
hc_nodedocumentnodename |
The string returned by the "getNodeName()" method for a
Document Node is "#document".
|
hc_nodedocumentnodetype |
The "getNodeType()" method for a Document Node
returns the constant value 9.
|
hc_nodedocumentnodevalue |
The string returned by the "getNodeValue()" method for a
Document Node is null.
|
hc_nodeelementnodeattributes |
Retrieve the third "acronym" element and evaluate Node.attributes.
|
hc_nodeelementnodename |
Retrieve the first Element Node(Root Node) of the
DOM object and check the string returned by the
"getNodeName()" method.
|
hc_nodeelementnodetype |
The "getNodeType()" method for an Element Node
returns the constant value 1.
|
hc_nodeelementnodevalue |
The string returned by the "getNodeValue()" method for an
Element Node is null.
|
hc_nodegetfirstchild |
The "getFirstChild()" method returns the first child
of this node.
|
hc_nodegetfirstchildnull |
If there is not a first child then the "getFirstChild()"
method returns null.
|
hc_nodegetlastchild |
The "getLastChild()" method returns the last child
of this node.
|
hc_nodegetlastchildnull |
If there is not a last child then the "getLastChild()"
method returns null.
|
hc_nodegetnextsibling |
The "getNextSibling()" method returns the node immediately
following this node.
|
hc_nodegetnextsiblingnull |
If there is not a node immediately following this node the
"getNextSibling()" method returns null.
|
hc_nodegetownerdocument |
Evaluate Node.ownerDocument on the second "p" element.
|
hc_nodegetownerdocumentnull |
The "getOwnerDocument()" method returns null if the target
node itself is a document.
|
hc_nodegetprevioussibling |
The "getPreviousSibling()" method returns the node
immediately preceding this node.
|
hc_nodegetprevioussiblingnull |
If there is not a node immediately preceding this node the
"getPreviousSibling()" method returns null.
|
hc_nodehaschildnodes |
The "hasChildNodes()" method returns true if the node
has children.
|
hc_nodehaschildnodesfalse |
The "hasChildNodes()" method returns false if the node
does not have any children.
|
hc_nodeinsertbefore |
The "insertBefore(newChild,refChild)" method inserts the
node "newChild" before the node "refChild".
|
hc_nodeinsertbeforedocfragment |
If the "newChild" is a DocumentFragment object then all
its children are inserted in the same order before the
the "refChild".
|
hc_nodeinsertbeforeinvalidnodetype |
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.
|
hc_nodeinsertbeforenewchilddiffdocument |
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.
|
hc_nodeinsertbeforenewchildexists |
If the "newChild" is already in the tree, the
"insertBefore(newChild,refChild)" method must first
remove it before the insertion takes place.
|
hc_nodeinsertbeforenodeancestor |
The "insertBefore(newChild,refChild)" method raises a
HIERARCHY_REQUEST_ERR DOMException if the node to be
inserted is one of this nodes ancestors.
|
hc_nodeinsertbeforenodename |
The "insertBefore(newChild,refchild)" method returns
the node being inserted.
|
hc_nodeinsertbeforerefchildnonexistent |
The "insertBefore(newChild,refChild)" method raises a
NOT_FOUND_ERR DOMException if the reference child is
not a child of this node.
|
hc_nodeinsertbeforerefchildnull |
If the "refChild" is null then the
"insertBefore(newChild,refChild)" method inserts the
node "newChild" at the end of the list of children.
|
hc_nodelistindexequalzero |
Create a list of all the children elements of the third
employee and access its first child by using an index
of 0.
|
hc_nodelistindexgetlength |
The "getLength()" method returns the number of nodes
in the list.
|
hc_nodelistindexgetlengthofemptylist |
The "getLength()" method returns the number of nodes
in the list.(Test for EMPTY list)
Create a list of all the children of the Text node
inside the first child of the third employee and
invoke the "getLength()" method.
|
hc_nodelistindexnotzero |
The items in the list are accessible via an integral
index starting from zero.
|
hc_nodelistreturnfirstitem |
Create a list of all the children elements of the third
employee and access its first child by invoking the
"item(index)" method with an index=0.
|
hc_nodelistreturnlastitem |
Create a list of all the children elements of the third
employee and access its last child by invoking the
"item(index)" method with an index=length-1.
|
hc_nodelisttraverselist |
The range of valid child node indices is 0 thru length -1
Create a list of all the children elements of the third
employee and traverse the list from index=0 thru
length -1.
|
hc_nodeparentnode |
The "getParentNode()" method returns the parent
of this node.
|
hc_nodeparentnodenull |
The "getParentNode()" method invoked on a node that has
just been created and not yet added to the tree is null.
|
hc_noderemovechild |
The "removeChild(oldChild)" method removes the child node
indicated by "oldChild" from the list of children and
returns it.
|
hc_noderemovechildgetnodename |
The "removeChild(oldChild)" method returns
the node being removed.
|
hc_noderemovechildnode |
The "removeChild(oldChild)" method removes the node
indicated by "oldChild".
|
hc_noderemovechildoldchildnonexistent |
The "removeChild(oldChild)" method raises a
NOT_FOUND_ERR DOMException if the old child is
not a child of this node.
|
hc_nodereplacechild |
The "replaceChild(newChild,oldChild)" method replaces
the node "oldChild" with the node "newChild".
|
hc_nodereplacechildinvalidnodetype |
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.
|
hc_nodereplacechildnewchilddiffdocument |
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.
|
hc_nodereplacechildnewchildexists |
If the "newChild" is already in the tree, it is first
removed before the new one is added.
|
hc_nodereplacechildnodeancestor |
The "replaceChild(newChild,oldChild)" method raises a
HIERARCHY_REQUEST_ERR DOMException if the node to put
in is one of this node's ancestors.
|
hc_nodereplacechildnodename |
The "replaceChild(newChild,oldChild)" method returns
the node being replaced.
|
hc_nodereplacechildoldchildnonexistent |
The "replaceChild(newChild,oldChild)" method raises a
NOT_FOUND_ERR DOMException if the old child is
not a child of this node.
|
hc_nodetextnodeattribute |
The "getAttributes()" method invoked on a Text
Node returns null.
|
hc_nodetextnodename |
The string returned by the "getNodeName()" method for a
Text Node is "#text".
|
hc_nodetextnodetype |
The "getNodeType()" method for a Text Node
returns the constant value 3.
|
hc_nodetextnodevalue |
The string returned by the "getNodeValue()" method for a
Text Node is the content of the Text node.
|
hc_nodevalue01 |
An element is created, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
hc_nodevalue02 |
An comment is created, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
hc_nodevalue03 |
An entity reference is created, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
hc_nodevalue04 |
An document type accessed, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
hc_nodevalue05 |
A document fragment is created, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
hc_nodevalue06 |
An document is accessed, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
hc_nodevalue07 |
An Entity is accessed, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
hc_nodevalue08 |
An notation is accessed, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
hc_notationsremovenameditem1 |
An attempt to add remove an notation should result in a NO_MODIFICATION_ERR.
|
hc_notationssetnameditem1 |
An attempt to add an element to the named node map returned by notations should
result in a NO_MODIFICATION_ERR or HIERARCHY_REQUEST_ERR.
|
hc_textindexsizeerrnegativeoffset |
The "splitText(offset)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset is
negative.
|
hc_textindexsizeerroffsetoutofbounds |
The "splitText(offset)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset is
greater than the number of characters in the Text node.
|
hc_textparseintolistofelements |
Retrieve the textual data from the last child of the
second employee.
|
hc_textsplittextfour |
The "splitText(offset)" method returns the new Text node.
|
hc_textsplittextone |
The "splitText(offset)" method breaks the Text node into
two Text nodes at the specified offset keeping each node
as siblings in the tree.
|
hc_textsplittextthree |
After the "splitText(offset)" method breaks the Text node
into two Text nodes, the new Text node contains all the
content at and after the offset point.
|
hc_textsplittexttwo |
After the "splitText(offset)" method breaks the Text node
into two Text nodes, the original node contains all the
content up to the offset point.
|
hc_textwithnomarkup |
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.
|
namednodemapchildnoderange |
The range of valid child node indices is 0 to Length -1.
|
namednodemapgetnameditem |
The "getNamedItem(name)" method retrieves a node
specified by name.
|
namednodemapinuseattributeerr |
The "setNamedItem(arg)" method raises a
INUSE_ATTRIBUTE_ERR DOMException if "arg" is an
Attr that is already in an attribute of another Element.
|
namednodemapnotfounderr |
The "removeNamedItem(name)" method raises a
NOT_FOUND_ERR DOMException if there is not a node
named "name" in the map.
|
namednodemapnumberofnodes |
The "getLength()" method returns the number of nodes
in the map.
|
namednodemapremovenameditem |
The "removeNamedItem(name)" method removes a node
specified by name.
|
namednodemapremovenameditemgetvalue |
If the node removed by the "removeNamedItem(name)" method
is an Attr node with a default value it is immediately
replaced.
|
namednodemapremovenameditemreturnnodevalue |
The "removeNamedItem(name)" method returns the node
removed from the map.
|
namednodemapreturnattrnode |
The "getNamedItem(name)" method returns a node of any
type specified by name.
|
namednodemapreturnfirstitem |
The "item(index)" method returns the indexth item in
the map(test for first item).
|
namednodemapreturnlastitem |
The "item(index)" method returns the indexth item in
the map(test for last item).
|
namednodemapreturnnull |
The "getNamedItem(name)" method returns null of the
specified name did not identify any node in the map.
|
namednodemapsetnameditem |
The "setNamedItem(arg)" method adds a node using its
nodeName attribute.
|
namednodemapsetnameditemreturnvalue |
If the "setNamedItem(arg)" method replaces an already
existing node with the same name then the already
existing node is returned.
|
namednodemapsetnameditemthatexists |
If the node to be added by the "setNamedItem(arg)" method
already exists in the NamedNodeMap, it is replaced by
the new one.
|
namednodemapsetnameditemwithnewvalue |
If the "setNamedItem(arg)" method does not replace an
existing node with the same name then it returns null.
|
namednodemapwrongdocumenterr |
The "setNamedItem(arg)" method raises a
WRONG_DOCUMENT_ERR DOMException if "arg" was created
from a different document than the one that created
the NamedNodeMap.
|
nodeappendchild |
The "appendChild(newChild)" method adds the node
"newChild" to the end of the list of children of the
node.
|
nodeappendchildchildexists |
If the "newChild" is already in the tree, it is first
removed before the new one is appended.
|
nodeappendchilddocfragment |
Create and populate a new DocumentFragment object and
append it to the second employee.
|
nodeappendchildgetnodename |
The "appendChild(newChild)" method returns the node
added.
|
nodeappendchildinvalidnodetype |
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.
|
nodeappendchildnewchilddiffdocument |
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.
|
nodeappendchildnodeancestor |
The "appendChild(newChild)" method raises a
HIERARCHY_REQUEST_ERR DOMException if the node to
append is one of this node's ancestors.
|
nodeappendchildnomodificationallowederr |
The "appendChild(newChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
nodeappendchildnomodificationallowederrEE |
The "appendChild(newChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
nodeattributenodeattribute |
The "getAttributes()" method invoked on an Attribute
Node returns null.
|
nodeattributenodename |
The string returned by the "getNodeName()" method for an
Attribute Node is the name of the Attribute.
|
nodeattributenodetype |
The "getNodeType()" method for an Attribute Node
returns the constant value 2.
|
nodeattributenodevalue |
The string returned by the "getNodeValue()" method for an
Attribute Node is the value of the Attribute.
|
nodecdatasectionnodeattribute |
The "getAttributes()" method invoked on a CDATASection
Node returns null.
|
nodecdatasectionnodename |
The string returned by the "getNodeName()" method for a
CDATASection Node is #cdata-section".
|
nodecdatasectionnodetype |
The "getNodeType()" method for a CDATASection Node
returns the constant value 4.
|
nodecdatasectionnodevalue |
The string returned by the "getNodeValue()" method for a
CDATASection Node is the content of the CDATASection.
|
nodechildnodes |
Collect the element names from Node.childNodes and check against expectations.
|
nodechildnodesappendchild |
Add an element and check that the previously retrieved childNodes NodeList
is live.
|
nodechildnodesempty |
The "getChildNodes()" method returns a NodeList
that contains all children of this node.
|
nodecloneattributescopied |
If the cloneNode method is used to clone an
Element node, all the attributes of the Element are
copied along with their values.
|
nodeclonefalsenocopytext |
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.
|
nodeclonegetparentnull |
The duplicate node returned by the "cloneNode(deep)"
method does not have a ParentNode.
|
nodeclonenodefalse |
The "cloneNode(deep)" method returns a copy of the node
only if deep=false.
|
nodeclonenodetrue |
The "cloneNode(deep)" method returns a copy of the node
and the subtree under it if deep=true.
|
nodeclonetruecopytext |
Retrieve the second salary and
the "cloneNode(deep)" method with deep=true.
|
nodecommentnodeattributes |
The "getAttributes()" method invoked on a Comment
Node returns null.
|
nodecommentnodename |
The string returned by the "getNodeName()" method for a
Comment Node is "#comment".
|
nodecommentnodetype |
The "getNodeType()" method for a Comment Node
returns the constant value 8.
|
nodecommentnodevalue |
The string returned by the "getNodeValue()" method for a
Comment Node is the content of the comment.
|
nodedocumentfragmentnodename |
The string returned by the "getNodeName()" method for a
DocumentFragment Node is "#document-frament".
|
nodedocumentfragmentnodetype |
The "getNodeType()" method for a DocumentFragment Node
returns the constant value 11.
|
nodedocumentfragmentnodevalue |
The string returned by the "getNodeValue()" method for a
DocumentFragment Node is null.
|
nodedocumentnodeattribute |
The "getAttributes()" method invoked on a Document
Node returns null.
|
nodedocumentnodename |
The string returned by the "getNodeName()" method for a
Document Node is "#document".
|
nodedocumentnodetype |
The "getNodeType()" method for a Document Node
returns the constant value 9.
|
nodedocumentnodevalue |
The string returned by the "getNodeValue()" method for a
Document Node is null.
|
nodedocumenttypenodename |
Retrieve the DOCTYPE declaration from the XML file and
check the string returned by the "getNodeName()"
method.
|
nodedocumenttypenodetype |
The "getNodeType()" method for a DocumentType Node
returns the constant value 10.
|
nodedocumenttypenodevalue |
The string returned by the "getNodeValue()" method for a
DocumentType Node is null.
|
nodeelementnodeattributes |
The "getAttributes()" method invoked on an Element
Node returns a NamedNodeMap containing the attributes
of this node.
|
nodeelementnodename |
The string returned by the "getNodeName()" method for an
Element Node is its tagName.
|
nodeelementnodetype |
The "getNodeType()" method for an Element Node
returns the constant value 1.
|
nodeelementnodevalue |
The string returned by the "getNodeValue()" method for an
Element Node is null.
|
nodeentitynodeattributes |
The "getAttributes()" method invoked on an Entity
Node returns null.
|
nodeentitynodename |
Check the nodeName of the entity returned by DocumentType.entities.getNamedItem("ent1").
|
nodeentitynodetype |
The "getNodeType()" method for an Entity Node
returns the constant value 6.
|
nodeentitynodevalue |
The string returned by the "getNodeValue()" method for an
Entity Node is null.
|
nodeentityreferencenodeattributes |
The "getAttributes()" method invoked on an EntityReference
Node returns null.
|
nodeentityreferencenodename |
The string returned by the "getNodeName()" method for an
EntityReference Node is the name of the entity referenced.
|
nodeentityreferencenodetype |
The "getNodeType()" method for an EntityReference Node
returns the constant value 5.
|
nodeentityreferencenodevalue |
The string returned by the "getNodeValue()" method for an
EntityReference Node is null.
|
nodeentitysetnodevalue |
The string returned by the "getNodeValue()" method for an
Entity Node is always null and "setNodeValue" should have no effect.
|
nodegetfirstchild |
The "getFirstChild()" method returns the first child
of this node.
|
nodegetfirstchildnull |
If there is not a first child then the "getFirstChild()"
method returns null.
|
nodegetlastchild |
The "getLastChild()" method returns the last child
of this node.
|
nodegetlastchildnull |
If there is not a last child then the "getLastChild()"
method returns null.
|
nodegetnextsibling |
The "getNextSibling()" method returns the node immediately
following this node.
|
nodegetnextsiblingnull |
If there is not a node immediately following this node the
"getNextSibling()" method returns null.
|
nodegetownerdocument |
The "getOwnerDocument()" method returns the Document
object associated with this node.
|
nodegetownerdocumentnull |
The "getOwnerDocument()" method returns null if the target
node itself is a document.
|
nodegetprevioussibling |
The "getPreviousSibling()" method returns the node
immediately preceding this node.
|
nodegetprevioussiblingnull |
If there is not a node immediately preceding this node the
"getPreviousSibling()" method returns null.
|
nodehaschildnodes |
The "hasChildNodes()" method returns true if the node
has children.
|
nodehaschildnodesfalse |
The "hasChildNodes()" method returns false if the node
does not have any children.
|
nodeinsertbefore |
The "insertBefore(newChild,refChild)" method inserts the
node "newChild" before the node "refChild".
|
nodeinsertbeforedocfragment |
If the "newChild" is a DocumentFragment object then all
its children are inserted in the same order before the
the "refChild".
|
nodeinsertbeforeinvalidnodetype |
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.
|
nodeinsertbeforenewchilddiffdocument |
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.
|
nodeinsertbeforenewchildexists |
If the "newChild" is already in the tree, the
"insertBefore(newChild,refChild)" method must first
remove it before the insertion takes place.
|
nodeinsertbeforenodeancestor |
The "insertBefore(newChild,refChild)" method raises a
HIERARCHY_REQUEST_ERR DOMException if the node to be
inserted is one of this nodes ancestors.
|
nodeinsertbeforenodename |
The "insertBefore(newChild,refchild)" method returns
the node being inserted.
|
nodeinsertbeforenomodificationallowederr |
The "insertBefore(newChild,refChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
nodeinsertbeforenomodificationallowederrEE |
The "insertBefore(newChild,refChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
nodeinsertbeforerefchildnonexistent |
The "insertBefore(newChild,refChild)" method raises a
NOT_FOUND_ERR DOMException if the reference child is
not a child of this node.
|
nodeinsertbeforerefchildnull |
If the "refChild" is null then the
"insertBefore(newChild,refChild)" method inserts the
node "newChild" at the end of the list of children.
|
nodelistindexequalzero |
Create a list of all the children elements of the third
employee and access its first child by using an index
of 0.
|
nodelistindexgetlength |
The "getLength()" method returns the number of nodes
in the list should be 6 (no whitespace) or 13.
|
nodelistindexgetlengthofemptylist |
The "getLength()" method returns the number of nodes
in the list.(Test for EMPTY list)
Create a list of all the children of the Text node
inside the first child of the third employee and
invoke the "getLength()" method.
|
nodelistindexnotzero |
Create a list of all the children elements of the third
employee and access its fourth child by using an index
of 3.
|
nodelistreturnfirstitem |
Get the first child of the third employee using NodeList.item(0)
which will either be a Text node (whitespace) or employeeId element.
|
nodelistreturnlastitem |
Get this last child of the third employee using NodeList.item(NodeList.length - 1)
and check that it is either a Text element (with whitespace) or an address element.
|
nodelisttraverselist |
The range of valid child node indices is 0 thru length -1
Create a list of all the children elements of the third
employee and traverse the list from index=0 thru
length -1.
|
nodenotationnodeattributes |
The "getAttributes()" method invoked on a Notation
Node returns null.
|
nodenotationnodename |
The string returned by the "getNodeName()" method for a
Notation Node is the name of the notation.
|
nodenotationnodetype |
The "getNodeType()" method for an Notation Node
returns the constant value 12.
|
nodenotationnodevalue |
The string returned by the "getNodeValue()" method for a
Notation Node is null.
|
nodeparentnode |
The "getParentNode()" method returns the parent
of this node.
|
nodeparentnodenull |
The "getParentNode()" method invoked on a node that has
just been created and not yet added to the tree is null.
|
nodeprocessinginstructionnodeattributes |
The "getAttributes()" method invoked on a Processing
Instruction Node returns null.
|
nodeprocessinginstructionnodename |
The string returned by the "getNodeName()" method for a
Processing Instruction Node is the target.
|
nodeprocessinginstructionnodetype |
The "getNodeType()" method for a Processing Instruction
node returns the constant value 7.
|
nodeprocessinginstructionnodevalue |
The string returned by the "getNodeValue()" method for a
Processing Instruction Node is the content of the
Processing Instruction(exclude the target).
|
nodeprocessinginstructionsetnodevalue |
Setting the nodeValue should change the value returned by
nodeValue and ProcessingInstruction.getData.
|
noderemovechild |
The "removeChild(oldChild)" method removes the child node
indicated by "oldChild" from the list of children and
returns it.
|
noderemovechildgetnodename |
Remove the first child of the second employee
and check the NodeName returned by the
"removeChild(oldChild)" method.
|
noderemovechildnode |
Retrieve the second employee and remove its first child.
|
noderemovechildnomodificationallowederr |
The "removeChild(oldChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
noderemovechildnomodificationallowederrEE |
The "removeChild(oldChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
noderemovechildoldchildnonexistent |
The "removeChild(oldChild)" method raises a
NOT_FOUND_ERR DOMException if the old child is
not a child of this node.
|
nodereplacechild |
The "replaceChild(newChild,oldChild)" method replaces
the node "oldChild" with the node "newChild".
|
nodereplacechildinvalidnodetype |
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.
|
nodereplacechildnewchilddiffdocument |
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.
|
nodereplacechildnewchildexists |
Retrieve the second employee and replace its TWELFTH
child(address) with its SECOND child(employeeId).
|
nodereplacechildnodeancestor |
The "replaceChild(newChild,oldChild)" method raises a
HIERARCHY_REQUEST_ERR DOMException if the node to put
in is one of this node's ancestors.
|
nodereplacechildnodename |
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.
|
nodereplacechildnomodificationallowederr |
The "replaceChild(newChild,oldChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
nodereplacechildnomodificationallowederrEE |
The "replaceChild(newChild,oldChild)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
nodereplacechildoldchildnonexistent |
The "replaceChild(newChild,oldChild)" method raises a
NOT_FOUND_ERR DOMException if the old child is
not a child of this node.
|
nodesetnodevaluenomodificationallowederr |
The "setNodeValue(nodeValue)" method causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
nodesetnodevaluenomodificationallowederrEE |
Create an entity reference and execute the "setNodeValue(nodeValue)" method.
|
nodetextnodeattribute |
The "getAttributes()" method invoked on a Text
Node returns null.
|
nodetextnodename |
The string returned by the "getNodeName()" method for a
Text Node is "#text".
|
nodetextnodetype |
The "getNodeType()" method for a Text Node
returns the constant value 3.
|
nodetextnodevalue |
The string returned by the "getNodeValue()" method for a
Text Node is the content of the Text node.
|
nodevalue01 |
An element is created, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
nodevalue02 |
An comment is created, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
nodevalue03 |
An entity reference is created, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
nodevalue04 |
An document type accessed, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
nodevalue05 |
A document fragment is created, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
nodevalue06 |
An document is accessed, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
nodevalue07 |
An Entity is accessed, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
nodevalue08 |
An notation is accessed, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
nodevalue09 |
An processing instruction is created, setNodeValue is called with a non-null argument, but getNodeValue
should still return null.
|
notationgetnotationname |
Retrieve the notation named "notation1" and access its
name by invoking the "getNodeName()" method inherited
from the Node interface.
|
notationgetpublicid |
Retrieve the notation named "notation1" and access its
public identifier.
|
notationgetpublicidnull |
The "getPublicId()" method of a Notation node contains
the public identifier associated with the notation, if
one was not specified a null value should be returned.
|
notationgetsystemid |
The "getSystemId()" method of a Notation node contains
the system identifier associated with the notation, if
one was specified.
|
notationgetsystemidnull |
Retrieve the notation named "notation1" and access its
system identifier.
|
processinginstructiongetdata |
The "getData()" method returns the content of the
processing instruction.
|
processinginstructiongettarget |
The "getTarget()" method returns the target of the
processing instruction.
|
processinginstructionsetdatanomodificationallowederr |
The "setData(data)" method for a processing instruction causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
processinginstructionsetdatanomodificationallowederrEE |
The "setData(data)" method for a processing instruction causes the
DOMException NO_MODIFICATION_ALLOWED_ERR to be raised
if the node is readonly.
|
TestBatik | |
TestCrimson | |
TestCrimsonAltConfig | |
TestDefaultLS |
Test suite that runs all DOM L1 Core tests using the
Default LS parser in default configuration.
|
TestDefaultLSAltConfig |
Test suite that runs all DOM L1 Core tests using the
Default LS parser in an alternate configuration.
|
TestDefaultParser | |
TestDefaultParserAltConfig | |
TestDOM4J | |
TestGNUJAXP | |
TestGNUJAXPAltConfig | |
TestJTidy | |
TestOracle | |
TestOracleAltConfig | |
TestXerces | |
TestXercesAltConfig | |
textindexsizeerrnegativeoffset |
The "splitText(offset)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset is
negative.
|
textindexsizeerroffsetoutofbounds |
The "splitText(offset)" method raises an
INDEX_SIZE_ERR DOMException if the specified offset is
greater than the number of characters in the Text node.
|
textparseintolistofelements |
Retrieve the textual data from the last child of the
second employee.
|
textsplittextfour |
The "splitText(offset)" method returns the new Text node.
|
textsplittextnomodificationallowederr |
The "splitText(offset)" method raises a
NO_MODIFICATION_ALLOWED_ERR DOMException if the
node is readonly.
|
textsplittextnomodificationallowederrEE |
Create an ent3 reference and execute the "splitText(offset)" method.
|
textsplittextone |
The "splitText(offset)" method breaks the Text node into
two Text nodes at the specified offset keeping each node
as siblings in the tree.
|
textsplittextthree |
After the "splitText(offset)" method breaks the Text node
into two Text nodes, the new Text node contains all the
content at and after the offset point.
|
textsplittexttwo |
After the "splitText(offset)" method breaks the Text node
into two Text nodes, the original node contains all the
content up to the offset point.
|
textwithnomarkup |
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.
|