summaryrefslogtreecommitdiff
path: root/test/xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/xml')
-rw-r--r--test/xml/tests/attrcreatedocumentfragment.xml51
-rw-r--r--test/xml/tests/attreffectivevalue.xml44
-rw-r--r--test/xml/tests/attrentityreplacement.xml48
-rw-r--r--test/xml/tests/attrname.xml47
-rw-r--r--test/xml/tests/attrnextsiblingnull.xml44
-rw-r--r--test/xml/tests/documentcreateattribute.xml45
-rw-r--r--test/xml/tests/documentcreateelement.xml44
-rw-r--r--test/xml/tests/documentcreatetextnode.xml43
-rw-r--r--test/xml/tests/documentgetdoctype.xml49
-rw-r--r--test/xml/tests/nodegetfirstchildnull.xml52
-rw-r--r--test/xml/tests/nodegetlastchildnull.xml52
-rw-r--r--test/xml/tests/nodegetnextsiblingnull.xml48
-rw-r--r--test/xml/tests/nodegetownerdocument.xml50
-rw-r--r--test/xml/tests/nodegetownerdocumentnull.xml31
-rw-r--r--test/xml/tests/nodeinsertbeforerefchildnull.xml52
-rw-r--r--test/xml/tests/nodelistindexgetlengthofemptylist.xml47
-rw-r--r--test/xml/tests/nodeparentnode.xml47
17 files changed, 0 insertions, 794 deletions
diff --git a/test/xml/tests/attrcreatedocumentfragment.xml b/test/xml/tests/attrcreatedocumentfragment.xml
deleted file mode 100644
index b07b191..0000000
--- a/test/xml/tests/attrcreatedocumentfragment.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrcreatedocumentfragment">
-<metadata>
-<title>attrCreateDocumentFragment</title>
-<creator>NIST</creator>
-<description>
- Attr nodes may be associated with Element nodes contained within a DocumentFragment.
- Create a new DocumentFragment and add a newly created Element node(with one attribute).
- Once the element is added, its attribute should be available as an attribute associated
- with an Element within a DocumentFragment.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<!-- createDocumentFragment -->
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-35CB04B5"/>
-<!-- setAttribute -->
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68F082"/>
-<!-- DocumentFragment -->
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-B63ED1A3"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="docFragment" type="DocumentFragment"/>
-<var name="newOne" type="Element"/>
-<var name="domesticNode" type="Node"/>
-<var name="domesticAttr" type="NamedNodeMap"/>
-<var name="attrs" type="Attr"/>
-<var name="attrName" type="DOMString"/>
-<var name="appendedChild" type="Node"/>
-<load var="doc" href="staff" willBeModified="true"/>
-<createDocumentFragment obj="doc" var="docFragment"/>
-<createElement obj="doc" var="newOne" tagName="&quot;newElement&quot;"/>
-<setAttribute obj="newOne" name="&quot;newdomestic&quot;" value="&quot;Yes&quot;"/>
-<appendChild var="appendedChild" obj="docFragment" newChild="newOne"/>
-<firstChild interface="Node" obj="docFragment" var="domesticNode"/>
-<attributes obj="domesticNode" var="domesticAttr"/>
-<item interface="NamedNodeMap" obj="domesticAttr" var="attrs" index="0"/>
-<name interface="Attr" obj="attrs" var="attrName"/>
-<assertEquals actual="attrName" expected="&quot;newdomestic&quot;" id="attrCreateDocumentFragmentAssert" ignoreCase="false"/>
-</test>
diff --git a/test/xml/tests/attreffectivevalue.xml b/test/xml/tests/attreffectivevalue.xml
deleted file mode 100644
index dbda4da..0000000
--- a/test/xml/tests/attreffectivevalue.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attreffectivevalue">
-<metadata>
-<title>attrEffectiveValue</title>
-<creator>NIST</creator>
-<description>
- 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.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<!-- Element.attributes -->
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-84CF096"/>
-<!-- NamedNodeMap.getNamedItem -->
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1074577549"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="addressList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="attributes" type="NamedNodeMap"/>
-<var name="domesticAttr" type="Attr"/>
-<var name="value" type="DOMString"/>
-<load var="doc" href="staff" willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
-<item interface="NodeList" obj="addressList" var="testNode" index="0"/>
-<attributes obj="testNode" var="attributes"/>
-<getNamedItem obj="attributes" var="domesticAttr" name="&quot;domestic&quot;"/>
-<nodeValue obj="domesticAttr" var="value"/>
-<assertEquals actual="value" expected="&quot;Yes&quot;" id="attrEffectiveValueAssert" ignoreCase="false"/>
-</test>
diff --git a/test/xml/tests/attrentityreplacement.xml b/test/xml/tests/attrentityreplacement.xml
deleted file mode 100644
index d8fd431..0000000
--- a/test/xml/tests/attrentityreplacement.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrentityreplacement">
-<metadata>
-<title>attrEntityReplacement</title>
-<creator>NIST</creator>
-<description>
- The "getValue()" method will return the value of the
- attribute as a string. The general entity references
- are replaced with their values.
- Retrieve the attribute named "street" from the last
- child of of the fourth employee and examine the string
- returned by the "getValue()" method. The value should
- be set to "Yes" after the EntityReference is
- replaced with its value. This test uses the
- "getNamedItem(name)" method from the NamedNodeMap
- interface.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<!-- Attr.value -->
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-221662474"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="addressList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="attributes" type="NamedNodeMap"/>
-<var name="streetAttr" type="Attr"/>
-<var name="value" type="DOMString"/>
-<load var="doc" href="staff" willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
-<item interface="NodeList" obj="addressList" var="testNode" index="3"/>
-<attributes obj="testNode" var="attributes"/>
-<getNamedItem obj="attributes" var="streetAttr" name="&quot;street&quot;"/>
-<value interface="Attr" obj="streetAttr" var="value"/>
-<assertEquals actual="value" expected='"Yes"' id="streetYes" ignoreCase="false"/>
-</test>
diff --git a/test/xml/tests/attrname.xml b/test/xml/tests/attrname.xml
deleted file mode 100644
index 9243905..0000000
--- a/test/xml/tests/attrname.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrname">
-<metadata>
-<title>attrName</title>
-<creator>NIST</creator>
-<description>
- 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.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<!-- Node.nodeName -->
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D095"/>
-<!-- Attr.name -->
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1112119403"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="addressList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="attributes" type="NamedNodeMap"/>
-<var name="streetAttr" type="Attr"/>
-<var name="name" type="DOMString"/>
-<load var="doc" href="staff" willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
-<item interface="NodeList" obj="addressList" var="testNode" index="1"/>
-<attributes obj="testNode" var="attributes"/>
-<getNamedItem obj="attributes" var="streetAttr" name="&quot;street&quot;"/>
-<nodeName obj="streetAttr" var="name"/>
-<assertEquals actual="name" expected="&quot;street&quot;" id="nodeName" ignoreCase="false"/>
-<name obj="streetAttr" var="name" interface="Attr"/>
-<assertEquals actual="name" expected="&quot;street&quot;" id="name" ignoreCase="false"/>
-</test>
diff --git a/test/xml/tests/attrnextsiblingnull.xml b/test/xml/tests/attrnextsiblingnull.xml
deleted file mode 100644
index d425671..0000000
--- a/test/xml/tests/attrnextsiblingnull.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrnextsiblingnull">
-<metadata>
-<title>attrNextSiblingNull</title>
-<creator>NIST</creator>
-<description>
-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.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<!--nextSibling attribute -->
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6AC54C2F"/>
-<!-- Attr interface -->
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-637646024"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="addressList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="attributes" type="NamedNodeMap"/>
-<var name="domesticAttr" type="Attr"/>
-<var name="s" type="Node"/>
-<load var="doc" href="staff" willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
-<item interface="NodeList" obj="addressList" var="testNode" index="0"/>
-<attributes obj="testNode" var="attributes"/>
-<getNamedItem obj="attributes" var="domesticAttr" name="&quot;domestic&quot;"/>
-<nextSibling interface="Node" obj="domesticAttr" var="s"/>
-<assertNull actual="s" id="attrNextSiblingNullAssert"/>
-</test>
diff --git a/test/xml/tests/documentcreateattribute.xml b/test/xml/tests/documentcreateattribute.xml
deleted file mode 100644
index d34e97a..0000000
--- a/test/xml/tests/documentcreateattribute.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreateattribute">
-<metadata>
-<title>documentCreateAttribute</title>
-<creator>NIST</creator>
-<description>
- The "createAttribute(name)" method creates an Attribute
- node of the given name.
-
- Retrieve the entire DOM document and invoke its
- "createAttribute(name)" method. It should create a
- new Attribute node with the given name. The name, value
- and type of the newly created object are retrieved and
- output.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1084891198"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="newAttrNode" type="Attr"/>
-<var name="attrValue" type="DOMString"/>
-<var name="attrName" type="DOMString"/>
-<var name="attrType" type="int"/>
-<load var="doc" href="staff" willBeModified="true"/>
-<createAttribute obj="doc" var="newAttrNode" name="&quot;district&quot;"/>
-<nodeValue obj="newAttrNode" var="attrValue"/>
-<assertEquals actual="attrValue" expected="&quot;&quot;" ignoreCase="false" id="value"/>
-<nodeName obj="newAttrNode" var="attrName"/>
-<assertEquals actual="attrName" expected="&quot;district&quot;" ignoreCase="false" id="name"/>
-<nodeType obj="newAttrNode" var="attrType"/>
-<assertEquals actual="attrType" expected="2" ignoreCase="false" id="type"/>
-</test>
diff --git a/test/xml/tests/documentcreateelement.xml b/test/xml/tests/documentcreateelement.xml
deleted file mode 100644
index 9139ad2..0000000
--- a/test/xml/tests/documentcreateelement.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreateelement">
-<metadata>
-<title>documentCreateElement</title>
-<creator>NIST</creator>
-<description>
- The "createElement(tagName)" method creates an Element
- of the type specified.
- Retrieve the entire DOM document and invoke its
- "createElement(tagName)" method with tagName="address".
- The method should create an instance of an Element node
- whose tagName is "address". The NodeName, NodeType
- and NodeValue are returned.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-2141741547"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="newElement" type="Element"/>
-<var name="newElementName" type="DOMString"/>
-<var name="newElementType" type="int"/>
-<var name="newElementValue" type="DOMString"/>
-<load var="doc" href="staff" willBeModified="true"/>
-<createElement obj="doc" var="newElement" tagName="&quot;address&quot;"/>
-<nodeName obj="newElement" var="newElementName"/>
-<assertEquals actual="newElementName" expected="&quot;address&quot;" ignoreCase="false" id="name"/>
-<nodeType obj="newElement" var="newElementType"/>
-<assertEquals actual="newElementType" expected="1" ignoreCase="false" id="type"/>
-<nodeValue obj="newElement" var="newElementValue"/>
-<assertNull actual="newElementValue" id="valueInitiallyNull"/>
-</test>
diff --git a/test/xml/tests/documentcreatetextnode.xml b/test/xml/tests/documentcreatetextnode.xml
deleted file mode 100644
index b583e12..0000000
--- a/test/xml/tests/documentcreatetextnode.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreatetextnode">
-<metadata>
-<title>documentCreateTextNode</title>
-<creator>NIST</creator>
-<description>
- The "createTextNode(data)" method creates a Text node
- given the specfied string.
- Retrieve the entire DOM document and invoke its
- "createTextNode(data)" method. It should create a
- new Text node whose "data" is the specified string.
- The NodeName and NodeType are also checked.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1975348127"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="newTextNode" type="Text"/>
-<var name="newTextName" type="DOMString"/>
-<var name="newTextValue" type="DOMString"/>
-<var name="newTextType" type="int"/>
-<load var="doc" href="staff" willBeModified="true"/>
-<createTextNode obj="doc" var="newTextNode" data="&quot;This is a new Text node&quot;"/>
-<nodeValue obj="newTextNode" var="newTextValue"/>
-<assertEquals actual="newTextValue" expected="&quot;This is a new Text node&quot;" ignoreCase="false" id="value"/>
-<nodeName obj="newTextNode" var="newTextName"/>
-<assertEquals actual="newTextName" expected="&quot;#text&quot;" ignoreCase="false" id="name"/>
-<nodeType obj="newTextNode" var="newTextType"/>
-<assertEquals actual="newTextType" expected="3" ignoreCase="false" id="type"/>
-</test>
diff --git a/test/xml/tests/documentgetdoctype.xml b/test/xml/tests/documentgetdoctype.xml
deleted file mode 100644
index 655d6f1..0000000
--- a/test/xml/tests/documentgetdoctype.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentgetdoctype">
-<metadata>
-<title>documentGetDocType</title>
-<creator>NIST</creator>
-<description>
- 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" or "svg".
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-B63ED1A31"/>
-<!-- Node.nodeValue -->
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D080"/>
-<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="docType" type="DocumentType"/>
-<var name="docTypeName" type="DOMString"/>
-<var name="nodeValue" type="DOMString"/>
-<load var="doc" href="staff" willBeModified="false"/>
-<doctype obj="doc" var="docType"/>
-<assertNotNull actual="docType" id="docTypeNotNull"/>
-<name interface="DocumentType" obj="docType" var="docTypeName"/>
-<if><contentType type="image/svg+xml"/>
- <assertEquals actual="docTypeName" expected='"svg"' id="doctypeNameSVG" ignoreCase="false"/>
- <else>
- <assertEquals actual="docTypeName" expected='"staff"' id="doctypeName" ignoreCase="false"/>
- </else>
-</if>
-<nodeValue obj="docType" var="nodeValue"/>
-<assertNull actual="nodeValue" id="initiallyNull"/>
-</test>
diff --git a/test/xml/tests/nodegetfirstchildnull.xml b/test/xml/tests/nodegetfirstchildnull.xml
deleted file mode 100644
index cd67a6f..0000000
--- a/test/xml/tests/nodegetfirstchildnull.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="nodegetfirstchildnull">
-<metadata>
-<title>nodeGetFirstChildNull</title>
-<creator>NIST</creator>
-<description>
-
- 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.
-
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-169727388"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="elementList" type="NodeList"/>
-<var name="employeeNode" type="Node"/>
-<var name="employeeList" type="NodeList"/>
-<var name="secondChildNode" type="Node"/>
-<var name="textNode" type="Node"/>
-<var name="noChildNode" type="Node"/>
-<load var="doc" href="staff" willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc" tagname="&quot;employee&quot;" var="elementList"/>
-<item interface="NodeList" obj="elementList" index="0" var="employeeNode"/>
-<childNodes obj="employeeNode" var="employeeList"/>
-<item interface="NodeList" obj="employeeList" index="1" var="secondChildNode"/>
-<firstChild interface="Node" obj="secondChildNode" var="textNode"/>
-<firstChild interface="Node" obj="textNode" var="noChildNode"/>
-<assertNull actual="noChildNode" id="nodeGetFirstChildNullAssert1"/>
-</test>
diff --git a/test/xml/tests/nodegetlastchildnull.xml b/test/xml/tests/nodegetlastchildnull.xml
deleted file mode 100644
index f493e1c..0000000
--- a/test/xml/tests/nodegetlastchildnull.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="nodegetlastchildnull">
-<metadata>
-<title>nodeGetLastChildNull</title>
-<creator>NIST</creator>
-<description>
-
- 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.
-
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-61AD09FB"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="elementList" type="NodeList"/>
-<var name="employeeNode" type="Node"/>
-<var name="employeeList" type="NodeList"/>
-<var name="secondChildNode" type="Node"/>
-<var name="textNode" type="Node"/>
-<var name="noChildNode" type="Node"/>
-<load var="doc" href="staff" willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc" tagname="&quot;employee&quot;" var="elementList"/>
-<item interface="NodeList" obj="elementList" index="0" var="employeeNode"/>
-<childNodes obj="employeeNode" var="employeeList"/>
-<item interface="NodeList" obj="employeeList" index="1" var="secondChildNode"/>
-<firstChild interface="Node" obj="secondChildNode" var="textNode"/>
-<lastChild interface="Node" obj="textNode" var="noChildNode"/>
-<assertNull actual="noChildNode" id="nodeGetLastChildNullAssert1"/>
-</test>
diff --git a/test/xml/tests/nodegetnextsiblingnull.xml b/test/xml/tests/nodegetnextsiblingnull.xml
deleted file mode 100644
index b9ab799..0000000
--- a/test/xml/tests/nodegetnextsiblingnull.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="nodegetnextsiblingnull">
-<metadata>
-<title>nodeGetNextSiblingNull</title>
-<creator>NIST</creator>
-<description>
-
- 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.
-
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6AC54C2F"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="elementList" type="NodeList"/>
-<var name="employeeNode" type="Node"/>
-<var name="lcNode" type="Node"/>
-<var name="nsNode" type="Node"/>
-<load var="doc" href="staff" willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc" tagname="&quot;employee&quot;" var="elementList"/>
-<item interface="NodeList" obj="elementList" index="1" var="employeeNode"/>
-<lastChild interface="Node" obj="employeeNode" var="lcNode"/>
-<nextSibling interface="Node" obj="lcNode" var="nsNode"/>
-<assertNull actual="nsNode" id="nodeGetNextSiblingNullAssert1"/>
-</test>
diff --git a/test/xml/tests/nodegetownerdocument.xml b/test/xml/tests/nodegetownerdocument.xml
deleted file mode 100644
index 414a607..0000000
--- a/test/xml/tests/nodegetownerdocument.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001-2003 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="nodegetownerdocument">
-<metadata>
-<title>nodeGetOwnerDocument</title>
-<creator>NIST</creator>
-<description>
- 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".
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#node-ownerDoc"/>
-<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=251"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="elementList" type="NodeList"/>
-<var name="docNode" type="Node"/>
-<var name="ownerDocument" type="Document"/>
-<var name="docElement" type="Element"/>
-<var name="elementName" type="DOMString"/>
-<load var="doc" href="staff" willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc" tagname="&quot;employee&quot;" var="elementList"/>
-<item interface="NodeList" obj="elementList" index="1" var="docNode"/>
-<ownerDocument obj="docNode" var="ownerDocument"/>
-<documentElement obj="ownerDocument" var="docElement"/>
-<nodeName obj="docElement" var="elementName"/>
-<if><contentType type="image/svg+xml"/>
-<assertEquals actual="elementName" expected='"svg"' id="svgTagName" ignoreCase="false"/>
-<else>
-<assertEquals actual="elementName" expected="&quot;staff&quot;" id="nodeGetOwnerDocumentAssert1" ignoreCase="false"/>
-</else>
-</if>
-</test>
diff --git a/test/xml/tests/nodegetownerdocumentnull.xml b/test/xml/tests/nodegetownerdocumentnull.xml
deleted file mode 100644
index ca50949..0000000
--- a/test/xml/tests/nodegetownerdocumentnull.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="nodegetownerdocumentnull">
-<metadata>
-<title>nodeGetOwnerDocumentNull</title>
-<creator>NIST</creator>
-<description>
- The "getOwnerDocument()" method returns null if the target
- node itself is a document.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#node-ownerDoc"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="ownerDocument" type="Document"/>
-<load var="doc" href="staff" willBeModified="false"/>
-<ownerDocument obj="doc" var="ownerDocument"/>
-<assertNull actual="ownerDocument" id="documentOwnerDocumentNull"/>
-</test>
diff --git a/test/xml/tests/nodeinsertbeforerefchildnull.xml b/test/xml/tests/nodeinsertbeforerefchildnull.xml
deleted file mode 100644
index a104b02..0000000
--- a/test/xml/tests/nodeinsertbeforerefchildnull.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="nodeinsertbeforerefchildnull">
-<metadata>
-<title>nodeInsertBeforeRefChildNull</title>
-<creator>NIST</creator>
-<description>
- 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".
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-952280727"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="elementList" type="NodeList"/>
-<var name="employeeNode" type="Node"/>
-<var name="childList" type="NodeList"/>
-<var name="refChild" type="Node" isNull="true"/>
-<var name="newChild" type="Node"/>
-<var name="child" type="Node"/>
-<var name="childName" type="DOMString"/>
-<var name="insertedNode" type="Node"/>
-<load var="doc" href="staff" willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc" tagname="&quot;employee&quot;" var="elementList"/>
-<item interface="NodeList" obj="elementList" index="1" var="employeeNode"/>
-<childNodes obj="employeeNode" var="childList"/>
-<createElement obj="doc" tagName="&quot;newChild&quot;" var="newChild"/>
-<insertBefore var="insertedNode" obj="employeeNode" newChild="newChild" refChild="refChild"/>
-<lastChild interface="Node" obj="employeeNode" var="child"/>
-<nodeName obj="child" var="childName"/>
-<assertEquals actual="childName" expected="&quot;newChild&quot;" id="nodeInsertBeforeRefChildNullAssert1" ignoreCase="false"/>
-</test>
diff --git a/test/xml/tests/nodelistindexgetlengthofemptylist.xml b/test/xml/tests/nodelistindexgetlengthofemptylist.xml
deleted file mode 100644
index f33c17b..0000000
--- a/test/xml/tests/nodelistindexgetlengthofemptylist.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="nodelistindexgetlengthofemptylist">
-<metadata>
-<title>nodelistIndexGetLengthOfEmptyList</title>
-<creator>NIST</creator>
-<description>
- 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. It should contain
- the value 0.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<!--length attribute -->
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-203510337"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="elementList" type="NodeList"/>
-<var name="employeeNode" type="Node"/>
-<var name="employeeList" type="NodeList"/>
-<var name="childNode" type="Node"/>
-<var name="textNode" type="Node"/>
-<var name="textList" type="NodeList"/>
-<load var="doc" href="staff" willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc" var="elementList" tagname="&quot;employee&quot;"/>
-<item interface="NodeList" obj="elementList" var="employeeNode" index="2"/>
-<childNodes obj="employeeNode" var="employeeList"/>
-<item interface="NodeList" obj="employeeList" var="childNode" index="1"/>
-<firstChild interface="Node" obj="childNode" var="textNode"/>
-<childNodes obj="textNode" var="textList"/>
-<assertSize collection="textList" size="0" id="nodelistIndexGetLengthOfEmptyListAssert"/>
-</test>
diff --git a/test/xml/tests/nodeparentnode.xml b/test/xml/tests/nodeparentnode.xml
deleted file mode 100644
index 1984a7b..0000000
--- a/test/xml/tests/nodeparentnode.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2001-2003 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
---><!DOCTYPE test SYSTEM "dom1.dtd">
-
-<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="nodeparentnode">
-<metadata>
-<title>nodeParentNode</title>
-<creator>NIST</creator>
-<description>
- 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".
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2001-08-17</date>
-<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1060184317"/>
-<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=251"/>
-</metadata>
-<var name="doc" type="Document"/>
-<var name="elementList" type="NodeList"/>
-<var name="employeeNode" type="Node"/>
-<var name="parentNode" type="Node"/>
-<var name="parentName" type="DOMString"/>
-<load var="doc" href="staff" willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc" tagname="&quot;employee&quot;" var="elementList"/>
-<item interface="NodeList" obj="elementList" index="1" var="employeeNode"/>
-<parentNode interface="Node" obj="employeeNode" var="parentNode"/>
-<nodeName obj="parentNode" var="parentName"/>
-<if><contentType type="image/svg+xml"/>
-<assertEquals actual="parentName" expected='"svg"' id="svgTagName" ignoreCase="false"/>
-<else>
-<assertEquals actual="parentName" expected='"staff"' id="nodeParentNodeAssert1" ignoreCase="false"/>
-</else>
-</if>
-</test>