Drop support for legacy EntityReference DOM Node type
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Sep 2015 17:17:12 +0000 (17:17 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Sep 2015 17:17:12 +0000 (17:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=149348

Reviewed by Darin Adler.

LayoutTests/imported/w3c:

Rebaseline W3C DOM test now that more checks are passing.

* web-platform-tests/dom/historical-expected.txt:

Source/WebCore:

Drop support for legacy EntityReference DOM Node type.

EntityReference has been dropped from the DOM specification:
- https://dom.spec.whatwg.org/#dom-core-changes

EntityReference is not supported in Firefox:
- https://developer.mozilla.org/en-US/docs/Web/API/EntityReference
- https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator.expandEntityReferences
- https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker.expandEntityReferences

Chrome dropped support for EntityReference a while back (May 2013):
- EntityReference: https://code.google.com/p/chromium/issues/detail?id=226628
- NodeFilter / TreeWalker.expandEntityReferences:
  - https://groups.google.com/a/chromium.org/d/msg/blink-dev/-ZO3eja4maA/86T13XJwQpUJ
  - https://src.chromium.org/viewvc/blink?view=rev&revision=185771

IE also dropped support for EntityReference Nodes:
https://msdn.microsoft.com/library/ff974819(v=vs.85).aspx (Remarks section)

No new tests, already covered by existing test.

* DerivedSources.cpp:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* bindings/gobject/WebKitDOMPrivate.cpp:
(WebKit::wrap): Deleted.
* bindings/js/JSNodeCustom.cpp:
(WebCore::createWrapperInline): Deleted.
* bindings/objc/DOM.mm:
(kitClass): Deleted.
* bindings/scripts/CodeGeneratorGObject.pm:
(SkipFunction): Skip webkit_dom_document_create_entity_reference until Carlos fixes it.
* dom/Attr.cpp:
(WebCore::Attr::childTypeAllowed):
(WebCore::Attr::childrenChanged): Deleted.
* dom/Attr.h:
* dom/ContainerNode.cpp:
(WebCore::checkAcceptChild): Deleted.
(WebCore::checkAcceptChildGuaranteedNodeTypes): Deleted.
(WebCore::ContainerNode::removeChild): Deleted.
* dom/Document.cpp:
(WebCore::Document::createEntityReference):
(WebCore::Document::createNodeIterator):
(WebCore::Document::createTreeWalker):
(WebCore::Document::createEditingTextNode): Deleted.
(WebCore::Document::importNode): Deleted.
(WebCore::Document::adoptNode): Deleted.
(WebCore::Document::scheduleForcedStyleRecalc): Deleted.
(WebCore::Document::scheduleStyleRecalc): Deleted.
(WebCore::Document::childTypeAllowed): Deleted.
(WebCore::Document::canAcceptChild): Deleted.
* dom/Document.h:
* dom/Document.idl:
* dom/DocumentFragment.cpp:
(WebCore::DocumentFragment::childTypeAllowed): Deleted.
* dom/Element.cpp:
(WebCore::Element::childTypeAllowed): Deleted.
* dom/EntityReference.cpp:
(WebCore::EntityReference::EntityReference):
* dom/EntityReference.h:
* dom/EntityReference.idl:
* dom/Node.cpp:
(WebCore::Node::setNodeValue):
(WebCore::Node::dumpStatistics): Deleted.
(WebCore::Node::childNodes): Deleted.
(WebCore::Node::lastDescendant): Deleted.
(WebCore::Node::isDescendantOf): Deleted.
(WebCore::Node::textContent): Deleted.
(WebCore::Node::ancestorElement): Deleted.
(WebCore::hashPointer): Deleted.
* dom/Node.h:
(WebCore::Node::isDocumentTypeNode): Deleted.
* dom/NodeIterator.cpp:
(WebCore::NodeIterator::NodeIterator):
* dom/NodeIterator.h:
(WebCore::NodeIterator::create):
* dom/NodeIterator.idl:
* dom/Range.cpp:
(WebCore::Range::checkDeleteExtract):
(WebCore::lengthOfContentsInNode): Deleted.
(WebCore::Range::processContentsBetweenOffsets): Deleted.
(WebCore::Range::insertNode): Deleted.
(WebCore::Range::checkNodeWOffset): Deleted.
(WebCore::Range::checkNodeBA): Deleted.
(WebCore::Range::cloneRange): Deleted.
(WebCore::Range::selectNode): Deleted.
(WebCore::Range::selectNodeContents): Deleted.
(WebCore::Range::surroundContents): Deleted.
(WebCore::Range::shadowRoot): Deleted.
(WebCore::Range::pastLastNode): Deleted.
(WebCore::Range::absoluteBoundingBox): Deleted.
(WebCore::Range::absoluteTextRects): Deleted.
* dom/Range.h:
* dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::childTypeAllowed): Deleted.
* dom/Traversal.cpp:
(WebCore::NodeIteratorBase::NodeIteratorBase):
(WebCore::NodeIteratorBase::acceptNode): Deleted.
* dom/Traversal.h:
(WebCore::NodeIteratorBase::expandEntityReferences):
* dom/TreeWalker.cpp:
(WebCore::TreeWalker::TreeWalker):
* dom/TreeWalker.h:
(WebCore::TreeWalker::create):
* dom/TreeWalker.idl:
* editing/MarkupAccumulator.cpp:
(WebCore::MarkupAccumulator::appendStartMarkup): Deleted.
* xml/XPathUtil.cpp:
(WebCore::XPath::isValidContextNode): Deleted.

Source/WebKit2:

Drop handling EntityReference Nodes.

* WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm:
(WebKit::WKDOMNodeClass): Deleted.
* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::isAssistableElement):

LayoutTests:

Drop several outdated DOM compliance tests. Update / Rebaseline others.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190120 268f45cc-cd09-0410-ab3c-d52691b4dbfc

209 files changed:
LayoutTests/ChangeLog
LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt [deleted file]
LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.html [deleted file]
LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.js [deleted file]
LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt [deleted file]
LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.html [deleted file]
LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.js [deleted file]
LayoutTests/dom/html/level1/core/hc_attrgetvalue2-expected.txt [deleted file]
LayoutTests/dom/html/level1/core/hc_attrgetvalue2.html [deleted file]
LayoutTests/dom/html/level1/core/hc_attrgetvalue2.js [deleted file]
LayoutTests/dom/html/level1/core/hc_nodevalue03-expected.txt [deleted file]
LayoutTests/dom/html/level1/core/hc_nodevalue03.html [deleted file]
LayoutTests/dom/html/level1/core/hc_nodevalue03.js [deleted file]
LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR-expected.txt [deleted file]
LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.js [deleted file]
LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.svg [deleted file]
LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR-expected.txt [deleted file]
LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.js [deleted file]
LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.svg [deleted file]
LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt [deleted file]
LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.js [deleted file]
LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.xhtml [deleted file]
LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt [deleted file]
LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.js [deleted file]
LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.xhtml [deleted file]
LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2-expected.txt [deleted file]
LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.js [deleted file]
LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.xhtml [deleted file]
LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt [deleted file]
LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.js [deleted file]
LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/documentadoptnode06-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/documentadoptnode06.js [deleted file]
LayoutTests/dom/xhtml/level3/core/documentadoptnode06.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/documentadoptnode16-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/documentadoptnode16.js [deleted file]
LayoutTests/dom/xhtml/level3/core/documentadoptnode16.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/documentrenamenode27-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/documentrenamenode27.js [deleted file]
LayoutTests/dom/xhtml/level3/core/documentrenamenode27.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition20.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodegetfeature04-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodegetfeature04.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodegetfeature04.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodegettextcontent15-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodegettextcontent16-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodegettextcontent17-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/noderemovechild12-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/noderemovechild12.js [deleted file]
LayoutTests/dom/xhtml/level3/core/noderemovechild12.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/noderemovechild13-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/noderemovechild13.js [deleted file]
LayoutTests/dom/xhtml/level3/core/noderemovechild13.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/noderemovechild14-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/noderemovechild14.js [deleted file]
LayoutTests/dom/xhtml/level3/core/noderemovechild14.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/noderemovechild15-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/noderemovechild15.js [deleted file]
LayoutTests/dom/xhtml/level3/core/noderemovechild15.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild18-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild18.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild18.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild19-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild19.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild19.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild22-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild22.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild22.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild23-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild23.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild23.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild30-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild30.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild30.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild33-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild33.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild33.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild34-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild34.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild34.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild35-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild35.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild35.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild36-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild36.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild36.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild37-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodereplacechild37.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodesettextcontent10-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodesettextcontent10.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodesettextcontent10.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodesettextcontent11-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodesettextcontent11.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodesettextcontent11.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodesettextcontent12-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodesettextcontent12.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodesettextcontent12.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/nodesetuserdata08-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/nodesetuserdata08.js [deleted file]
LayoutTests/dom/xhtml/level3/core/nodesetuserdata08.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/textreplacewholetext06-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/textreplacewholetext06.js [deleted file]
LayoutTests/dom/xhtml/level3/core/textreplacewholetext06.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/textreplacewholetext07-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/textreplacewholetext07.js [deleted file]
LayoutTests/dom/xhtml/level3/core/textreplacewholetext07.xhtml [deleted file]
LayoutTests/dom/xhtml/level3/core/textreplacewholetext08-expected.txt [deleted file]
LayoutTests/dom/xhtml/level3/core/textreplacewholetext08.js [deleted file]
LayoutTests/dom/xhtml/level3/core/textreplacewholetext08.xhtml [deleted file]
LayoutTests/fast/dom/EntityReference/readonly-exceptions-expected.txt [deleted file]
LayoutTests/fast/dom/EntityReference/readonly-exceptions.html [deleted file]
LayoutTests/fast/dom/EntityReference/script-tests/TEMPLATE.html [deleted file]
LayoutTests/fast/dom/EntityReference/script-tests/readonly-exceptions.js [deleted file]
LayoutTests/fast/dom/Node/initial-values-expected.txt
LayoutTests/fast/dom/Node/script-tests/initial-values.js
LayoutTests/fast/dom/Window/get-set-properties-expected.txt
LayoutTests/fast/dom/Window/get-set-properties.html
LayoutTests/fast/dom/Window/resources/window-properties.js
LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt
LayoutTests/fast/dom/Window/window-property-shadowing-expected.txt
LayoutTests/fast/dom/Window/window-property-shadowing.html
LayoutTests/fast/dom/dom-constructors-expected.txt
LayoutTests/fast/dom/dom-constructors.html
LayoutTests/fast/dom/wrapper-classes-expected.txt
LayoutTests/fast/dom/wrapper-classes.html
LayoutTests/http/tests/security/cross-frame-access-get-expected.txt
LayoutTests/http/tests/security/cross-frame-access-get.html
LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor-expected.txt
LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html
LayoutTests/http/tests/security/cross-frame-access-put-expected.txt
LayoutTests/http/tests/security/cross-frame-access-put.html
LayoutTests/http/tests/security/resources/cross-frame-iframe-for-put-test.html
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt
LayoutTests/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt
LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt
LayoutTests/platform/mac/fast/dom/wrapper-classes-objc-expected.txt
LayoutTests/platform/mac/fast/dom/wrapper-classes-objc.html
LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.cpp
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/bindings/gobject/WebKitDOMPrivate.cpp
Source/WebCore/bindings/js/JSNodeCustom.cpp
Source/WebCore/bindings/objc/DOM.mm
Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm
Source/WebCore/dom/Attr.cpp
Source/WebCore/dom/Attr.h
Source/WebCore/dom/ContainerNode.cpp
Source/WebCore/dom/Document.cpp
Source/WebCore/dom/Document.h
Source/WebCore/dom/Document.idl
Source/WebCore/dom/DocumentFragment.cpp
Source/WebCore/dom/Element.cpp
Source/WebCore/dom/EntityReference.cpp
Source/WebCore/dom/EntityReference.h
Source/WebCore/dom/EntityReference.idl
Source/WebCore/dom/Node.cpp
Source/WebCore/dom/Node.h
Source/WebCore/dom/NodeIterator.cpp
Source/WebCore/dom/NodeIterator.h
Source/WebCore/dom/NodeIterator.idl
Source/WebCore/dom/Range.cpp
Source/WebCore/dom/Range.h
Source/WebCore/dom/ShadowRoot.cpp
Source/WebCore/dom/Traversal.cpp
Source/WebCore/dom/Traversal.h
Source/WebCore/dom/TreeWalker.cpp
Source/WebCore/dom/TreeWalker.h
Source/WebCore/dom/TreeWalker.idl
Source/WebCore/editing/MarkupAccumulator.cpp
Source/WebCore/xml/XPathUtil.cpp
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm
Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm

index 848528a..79a58f3 100644 (file)
@@ -1,5 +1,14 @@
 2015-09-22  Chris Dumez  <cdumez@apple.com>
 
+        Drop support for legacy EntityReference DOM Node type
+        https://bugs.webkit.org/show_bug.cgi?id=149348
+
+        Reviewed by Darin Adler.
+
+        Drop several outdated DOM compliance tests. Update / Rebaseline others.
+
+2015-09-22  Chris Dumez  <cdumez@apple.com>
+
         Unreviewed, rebaseline several W3C html tests on iOS after r190106 and r190085.
 
         * platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt:
diff --git a/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt b/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt
deleted file mode 100644 (file)
index 12a8e46..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test:  http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentinvalidcharacterexceptioncreateentref
-Status:        Success
diff --git a/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.html b/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.html
deleted file mode 100644 (file)
index 3b59ac3..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 
-    "http://www.w3.org/TR/html4/strict.dtd" >
-<!-- This is comment number 1.-->
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>hc_staff</title><script type="text/javascript" src="selfhtml.js"></script><script charset="UTF-8" type="text/javascript" src="documentinvalidcharacterexceptioncreateentref.js"></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p>
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>           
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p>
-  <em>EMP0002</em>
-  <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
-This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p>
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&delta;</var>
-  <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p>
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p>
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.js b/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.js
deleted file mode 100644 (file)
index ce7e127..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentinvalidcharacterexceptioncreateentref";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-       checkFeature("XML", null);
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-    The "createEntityReference(tagName)" method raises an
-   INVALID_CHARACTER_ERR DOMException if the specified
-   tagName contains an invalid character. 
-
-* @author NIST
-* @author Mary Brady
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-392B75AE
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-392B75AE')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=249
-*/
-function documentinvalidcharacterexceptioncreateentref() {
-   var success;
-    if(checkInitialization(builder, "documentinvalidcharacterexceptioncreateentref") != null) return;
-    var doc;
-      var badEntityRef;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      
-       if(
-       
-       (builder.contentType == "text/html")
-
-       ) {
-       
-       {
-               success = false;
-               try {
-            badEntityRef = doc.createEntityReference("foo");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR",success);
-       }
-
-       }
-       
-               else {
-                       
-       {
-               success = false;
-               try {
-            badEntityRef = doc.createEntityReference("invalid^Name");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 5);
-               }
-               assertTrue("throw_INVALID_CHARACTER_ERR",success);
-       }
-
-               }
-       
-}
-
-
-
-
-function runTest() {
-   documentinvalidcharacterexceptioncreateentref();
-}
diff --git a/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt b/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt
deleted file mode 100644 (file)
index 49aebe4..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test:  http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentinvalidcharacterexceptioncreateentref1
-Status:        Success
diff --git a/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.html b/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.html
deleted file mode 100644 (file)
index 3b6d09c..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 
-    "http://www.w3.org/TR/html4/strict.dtd" >
-<!-- This is comment number 1.-->
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>hc_staff</title><script type="text/javascript" src="selfhtml.js"></script><script charset="UTF-8" type="text/javascript" src="documentinvalidcharacterexceptioncreateentref1.js"></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p>
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>           
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p>
-  <em>EMP0002</em>
-  <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
-This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p>
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&delta;</var>
-  <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p>
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p>
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.js b/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.js
deleted file mode 100644 (file)
index b4d1ec9..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentinvalidcharacterexceptioncreateentref1";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-       checkFeature("XML", null);
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-Creating an entity reference with an empty name should cause an INVALID_CHARACTER_ERR.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-392B75AE
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-392B75AE')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=525
-*/
-function documentinvalidcharacterexceptioncreateentref1() {
-   var success;
-    if(checkInitialization(builder, "documentinvalidcharacterexceptioncreateentref1") != null) return;
-    var doc;
-      var badEntityRef;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      
-       if(
-       
-       (builder.contentType == "text/html")
-
-       ) {
-       
-       {
-               success = false;
-               try {
-            badEntityRef = doc.createEntityReference("foo");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR",success);
-       }
-
-       }
-       
-               else {
-                       
-       {
-               success = false;
-               try {
-            badEntityRef = doc.createEntityReference("");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 5);
-               }
-               assertTrue("throw_INVALID_CHARACTER_ERR",success);
-       }
-
-               }
-       
-}
-
-
-
-
-function runTest() {
-   documentinvalidcharacterexceptioncreateentref1();
-}
diff --git a/LayoutTests/dom/html/level1/core/hc_attrgetvalue2-expected.txt b/LayoutTests/dom/html/level1/core/hc_attrgetvalue2-expected.txt
deleted file mode 100644 (file)
index c1082cb..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test:  http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_attrgetvalue2
-Status:        Success
diff --git a/LayoutTests/dom/html/level1/core/hc_attrgetvalue2.html b/LayoutTests/dom/html/level1/core/hc_attrgetvalue2.html
deleted file mode 100644 (file)
index 4bb7bb8..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 
-    "http://www.w3.org/TR/html4/strict.dtd" >
-<!-- This is comment number 1.-->
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>hc_staff</title><script type="text/javascript" src="selfhtml.js"></script><script charset="UTF-8" type="text/javascript" src="hc_attrgetvalue2.js"></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p>
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>           
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p>
-  <em>EMP0002</em>
-  <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
-This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p>
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&delta;</var>
-  <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p>
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p>
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/html/level1/core/hc_attrgetvalue2.js b/LayoutTests/dom/html/level1/core/hc_attrgetvalue2.js
deleted file mode 100644 (file)
index 94cc2ae..0000000
+++ /dev/null
@@ -1,146 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_attrgetvalue2";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-       checkFeature("XML", null);
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-Checks the value of an attribute that contains entity references.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-221662474
-*/
-function hc_attrgetvalue2() {
-   var success;
-    if(checkInitialization(builder, "hc_attrgetvalue2") != null) return;
-    var doc;
-      var acronymList;
-      var testNode;
-      var attributes;
-      var titleAttr;
-      var value;
-      var textNode;
-      var retval;
-      var firstChild;
-      var alphaRef;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      acronymList = doc.getElementsByTagName("acronym");
-      testNode = acronymList.item(3);
-      attributes = testNode.attributes;
-
-      titleAttr = attributes.getNamedItem("class");
-      
-       if(
-       
-       (builder.contentType == "text/html")
-
-       ) {
-       
-       {
-               success = false;
-               try {
-            alphaRef = doc.createEntityReference("alpha");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR",success);
-       }
-
-       }
-       
-               else {
-                       alphaRef = doc.createEntityReference("alpha");
-      firstChild = titleAttr.firstChild;
-
-      retval = titleAttr.insertBefore(alphaRef,firstChild);
-      value = titleAttr.value;
-
-      assertEquals("attrValue1","αYα",value);
-       
-               }
-       
-}
-
-
-
-
-function runTest() {
-   hc_attrgetvalue2();
-}
diff --git a/LayoutTests/dom/html/level1/core/hc_nodevalue03-expected.txt b/LayoutTests/dom/html/level1/core/hc_nodevalue03-expected.txt
deleted file mode 100644 (file)
index c70c7c3..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test:  http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_nodevalue03
-Status:        Success
diff --git a/LayoutTests/dom/html/level1/core/hc_nodevalue03.html b/LayoutTests/dom/html/level1/core/hc_nodevalue03.html
deleted file mode 100644 (file)
index b8046f1..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 
-    "http://www.w3.org/TR/html4/strict.dtd" >
-<!-- This is comment number 1.-->
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>hc_staff</title><script type="text/javascript" src="selfhtml.js"></script><script charset="UTF-8" type="text/javascript" src="hc_nodevalue03.js"></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p>
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>           
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p>
-  <em>EMP0002</em>
-  <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
-This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p>
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&delta;</var>
-  <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p>
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p>
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/html/level1/core/hc_nodevalue03.js b/LayoutTests/dom/html/level1/core/hc_nodevalue03.js
deleted file mode 100644 (file)
index e61671a..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_nodevalue03";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-An entity reference is created, setNodeValue is called with a non-null argument, but getNodeValue
-should still return null.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D080
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-11C98490
-*/
-function hc_nodevalue03() {
-   var success;
-    if(checkInitialization(builder, "hc_nodevalue03") != null) return;
-    var doc;
-      var newNode;
-      var newValue;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      
-       if(
-       
-       (builder.contentType == "text/html")
-
-       ) {
-       
-       {
-               success = false;
-               try {
-            newNode = doc.createEntityReference("ent1");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR",success);
-       }
-
-       }
-       
-               else {
-                       newNode = doc.createEntityReference("ent1");
-      assertNotNull("createdEntRefNotNull",newNode);
-newValue = newNode.nodeValue;
-
-      assertNull("initiallyNull",newValue);
-    newNode.nodeValue = "This should have no effect";
-
-      newValue = newNode.nodeValue;
-
-      assertNull("nullAfterAttemptedChange",newValue);
-    
-               }
-       
-}
-
-
-
-
-function runTest() {
-   hc_nodevalue03();
-}
diff --git a/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR-expected.txt b/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR-expected.txt
deleted file mode 100644 (file)
index 038cec0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-XPathEvaluator_evaluate_NOT_SUPPORTED_ERR: Success
diff --git a/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.js b/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.js
deleted file mode 100644 (file)
index 6be018c..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-// expose test function names
-function exposeTestFunctionNames()
-{
-return ['XPathEvaluator_evaluate_NOT_SUPPORTED_ERR'];
-}
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "staffNS");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-*       
-      Test if XPathEvaluator.evaluate properly throws NOT_SUPPORTED_ERROR
-    
-* @author Philippe Le Hégaret
-* @author Bob Clary
-* @see http://www.w3.org/TR/2003/CR-DOM-Level-3-XPath-20030331/xpath#XPathEvaluator-evaluate
-*/
-function XPathEvaluator_evaluate_NOT_SUPPORTED_ERR() {
-   var success;
-    if(checkInitialization(builder, "XPathEvaluator_evaluate_NOT_SUPPORTED_ERR") != null) return;
-    var doc;
-      var xpEvaluator;
-      var result;
-      var nullNSResolver = null;
-
-      var nullResult = null;
-
-      var contextNode;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "staffNS");
-      xpEvaluator = createXPathEvaluator(doc);
-contextNode = doc.createEntityReference("entityname");
-      
-       {
-               success = false;
-               try {
-            result = xpEvaluator.evaluate("//foo:bar",contextNode,nullNSResolver,0,nullResult);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR",success);
-       }
-
-}
-
-
-
-
-function runTest() {
-   XPathEvaluator_evaluate_NOT_SUPPORTED_ERR();
-}
diff --git a/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.svg b/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.svg
deleted file mode 100644 (file)
index 77b8bdc..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:nist="http://www.nist.gov"><rect x="0" y="0" width="100" height="100"/>\r
-<script xmlns="http://www.w3.org/1999/xhtml" src="XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.js"/>\r
-<script xmlns="http://www.w3.org/1999/xhtml" src="svgunit.js"/>\r
-</svg>\r
diff --git a/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR-expected.txt b/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR-expected.txt
deleted file mode 100644 (file)
index 10a7dcc..0000000
+++ /dev/null
@@ -1 +0,0 @@
-XPathExpression_evaluate_NOT_SUPPORTED_ERR: Success
diff --git a/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.js b/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.js
deleted file mode 100644 (file)
index acf6146..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-// expose test function names
-function exposeTestFunctionNames()
-{
-return ['XPathExpression_evaluate_NOT_SUPPORTED_ERR'];
-}
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "staffNS");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-*       
-      Test if XPathExpression.evaluate properly throws NOT_SUPPORTED_ERROR
-    
-* @author Philippe Le Hégaret
-* @author Bob Clary
-* @see http://www.w3.org/TR/2003/CR-DOM-Level-3-XPath-20030331/xpath#XPathExpression-evaluate
-*/
-function XPathExpression_evaluate_NOT_SUPPORTED_ERR() {
-   var success;
-    if(checkInitialization(builder, "XPathExpression_evaluate_NOT_SUPPORTED_ERR") != null) return;
-    var doc;
-      var xpEvaluator;
-      var result;
-      var nullNSResolver = null;
-
-      var nullResult = null;
-
-      var contextNode;
-      var xpathExpression;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "staffNS");
-      xpEvaluator = createXPathEvaluator(doc);
-xpathExpression = xpEvaluator.createExpression("//foo",nullNSResolver);
-      contextNode = doc.createEntityReference("entityname");
-      
-       {
-               success = false;
-               try {
-            result = xpathExpression.evaluate(contextNode,0,nullResult);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR",success);
-       }
-
-}
-
-
-
-
-function runTest() {
-   XPathExpression_evaluate_NOT_SUPPORTED_ERR();
-}
diff --git a/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.svg b/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.svg
deleted file mode 100644 (file)
index af86d75..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:nist="http://www.nist.gov"><rect x="0" y="0" width="100" height="100"/>\r
-<script xmlns="http://www.w3.org/1999/xhtml" src="XPathExpression_evaluate_NOT_SUPPORTED_ERR.js"/>\r
-<script xmlns="http://www.w3.org/1999/xhtml" src="svgunit.js"/>\r
-</svg>\r
diff --git a/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt b/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt
deleted file mode 100644 (file)
index d2d6d17..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentinvalidcharacterexceptioncreateentref
-Status Success
diff --git a/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.js b/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.js
deleted file mode 100644 (file)
index ce7e127..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentinvalidcharacterexceptioncreateentref";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-       checkFeature("XML", null);
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-    The "createEntityReference(tagName)" method raises an
-   INVALID_CHARACTER_ERR DOMException if the specified
-   tagName contains an invalid character. 
-
-* @author NIST
-* @author Mary Brady
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-392B75AE
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-392B75AE')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=249
-*/
-function documentinvalidcharacterexceptioncreateentref() {
-   var success;
-    if(checkInitialization(builder, "documentinvalidcharacterexceptioncreateentref") != null) return;
-    var doc;
-      var badEntityRef;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      
-       if(
-       
-       (builder.contentType == "text/html")
-
-       ) {
-       
-       {
-               success = false;
-               try {
-            badEntityRef = doc.createEntityReference("foo");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR",success);
-       }
-
-       }
-       
-               else {
-                       
-       {
-               success = false;
-               try {
-            badEntityRef = doc.createEntityReference("invalid^Name");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 5);
-               }
-               assertTrue("throw_INVALID_CHARACTER_ERR",success);
-       }
-
-               }
-       
-}
-
-
-
-
-function runTest() {
-   documentinvalidcharacterexceptioncreateentref();
-}
diff --git a/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.xhtml b/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.xhtml
deleted file mode 100644 (file)
index d810983..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST acronym dir CDATA "ltr">
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script  charset="UTF-8" type="text/javascript" src="documentinvalidcharacterexceptioncreateentref.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p>
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>           
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p>
-  <em>EMP0002</em>
-  <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
-This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p>
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&delta;</var>
-  <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p>
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p>
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt b/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt
deleted file mode 100644 (file)
index df3bc99..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentinvalidcharacterexceptioncreateentref1
-Status Success
diff --git a/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.js b/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.js
deleted file mode 100644 (file)
index b4d1ec9..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentinvalidcharacterexceptioncreateentref1";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-       checkFeature("XML", null);
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-Creating an entity reference with an empty name should cause an INVALID_CHARACTER_ERR.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-392B75AE
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-392B75AE')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=525
-*/
-function documentinvalidcharacterexceptioncreateentref1() {
-   var success;
-    if(checkInitialization(builder, "documentinvalidcharacterexceptioncreateentref1") != null) return;
-    var doc;
-      var badEntityRef;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      
-       if(
-       
-       (builder.contentType == "text/html")
-
-       ) {
-       
-       {
-               success = false;
-               try {
-            badEntityRef = doc.createEntityReference("foo");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR",success);
-       }
-
-       }
-       
-               else {
-                       
-       {
-               success = false;
-               try {
-            badEntityRef = doc.createEntityReference("");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 5);
-               }
-               assertTrue("throw_INVALID_CHARACTER_ERR",success);
-       }
-
-               }
-       
-}
-
-
-
-
-function runTest() {
-   documentinvalidcharacterexceptioncreateentref1();
-}
diff --git a/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.xhtml b/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.xhtml
deleted file mode 100644 (file)
index f83bab9..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST acronym dir CDATA "ltr">
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script  charset="UTF-8" type="text/javascript" src="documentinvalidcharacterexceptioncreateentref1.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p>
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>           
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p>
-  <em>EMP0002</em>
-  <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
-This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p>
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&delta;</var>
-  <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p>
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p>
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2-expected.txt b/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2-expected.txt
deleted file mode 100644 (file)
index 0f209c3..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_attrgetvalue2
-Status failure
-Message        attrValue1: assertEquals failed, actual Yα, expected αYα.
diff --git a/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.js b/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.js
deleted file mode 100644 (file)
index 94cc2ae..0000000
+++ /dev/null
@@ -1,146 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_attrgetvalue2";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-       checkFeature("XML", null);
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-Checks the value of an attribute that contains entity references.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-221662474
-*/
-function hc_attrgetvalue2() {
-   var success;
-    if(checkInitialization(builder, "hc_attrgetvalue2") != null) return;
-    var doc;
-      var acronymList;
-      var testNode;
-      var attributes;
-      var titleAttr;
-      var value;
-      var textNode;
-      var retval;
-      var firstChild;
-      var alphaRef;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      acronymList = doc.getElementsByTagName("acronym");
-      testNode = acronymList.item(3);
-      attributes = testNode.attributes;
-
-      titleAttr = attributes.getNamedItem("class");
-      
-       if(
-       
-       (builder.contentType == "text/html")
-
-       ) {
-       
-       {
-               success = false;
-               try {
-            alphaRef = doc.createEntityReference("alpha");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR",success);
-       }
-
-       }
-       
-               else {
-                       alphaRef = doc.createEntityReference("alpha");
-      firstChild = titleAttr.firstChild;
-
-      retval = titleAttr.insertBefore(alphaRef,firstChild);
-      value = titleAttr.value;
-
-      assertEquals("attrValue1","αYα",value);
-       
-               }
-       
-}
-
-
-
-
-function runTest() {
-   hc_attrgetvalue2();
-}
diff --git a/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.xhtml b/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.xhtml
deleted file mode 100644 (file)
index 0a2e401..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST acronym dir CDATA "ltr">
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script  charset="UTF-8" type="text/javascript" src="hc_attrgetvalue2.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p>
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>           
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p>
-  <em>EMP0002</em>
-  <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
-This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p>
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&delta;</var>
-  <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p>
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p>
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt b/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt
deleted file mode 100644 (file)
index 807b1a2..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_nodevalue03
-Status error
-Message        Error: NoModificationAllowedError: DOM Exception 7
diff --git a/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.js b/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.js
deleted file mode 100644 (file)
index e61671a..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_nodevalue03";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-An entity reference is created, setNodeValue is called with a non-null argument, but getNodeValue
-should still return null.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D080
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-11C98490
-*/
-function hc_nodevalue03() {
-   var success;
-    if(checkInitialization(builder, "hc_nodevalue03") != null) return;
-    var doc;
-      var newNode;
-      var newValue;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      
-       if(
-       
-       (builder.contentType == "text/html")
-
-       ) {
-       
-       {
-               success = false;
-               try {
-            newNode = doc.createEntityReference("ent1");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR",success);
-       }
-
-       }
-       
-               else {
-                       newNode = doc.createEntityReference("ent1");
-      assertNotNull("createdEntRefNotNull",newNode);
-newValue = newNode.nodeValue;
-
-      assertNull("initiallyNull",newValue);
-    newNode.nodeValue = "This should have no effect";
-
-      newValue = newNode.nodeValue;
-
-      assertNull("nullAfterAttemptedChange",newValue);
-    
-               }
-       
-}
-
-
-
-
-function runTest() {
-   hc_nodevalue03();
-}
diff --git a/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.xhtml b/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.xhtml
deleted file mode 100644 (file)
index 127651e..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST acronym dir CDATA "ltr">
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script  charset="UTF-8" type="text/javascript" src="hc_nodevalue03.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p>
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>           
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p>
-  <em>EMP0002</em>
-  <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
-This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p>
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&delta;</var>
-  <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p>
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p>
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/documentadoptnode06-expected.txt b/LayoutTests/dom/xhtml/level3/core/documentadoptnode06-expected.txt
deleted file mode 100644 (file)
index 33793e0..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentadoptnode06
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.js b/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.js
deleted file mode 100644 (file)
index 804b948..0000000
+++ /dev/null
@@ -1,175 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentadoptnode06";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Invoke adoptNode on a new document to adopt the a new Attribute node having a Text and an EntityReference 
-       child.  Check if this attribute has been adopted successfully by verifying the nodeName, namespaceURI, prefix, 
-       specified and ownerElement attributes of the adopted node.  Also verify the ownerDocument attribute
-       of the adopted node and the adopted children of the attribute node.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Document3-adoptNode
-*/
-function documentadoptnode06() {
-   var success;
-    if(checkInitialization(builder, "documentadoptnode06") != null) return;
-    var doc;
-      var newDoc;
-      var domImpl;
-      var newAttr;
-      var newText;
-      var newEntRef;
-      var adoptedAttr;
-      var adoptText;
-      var adoptEntRef;
-      var nodeList;
-      var nodeName;
-      var nodeNamespaceURI;
-      var nodePrefix;
-      var attrOwnerElem;
-      var isSpecified;
-      var adoptedTextNodeValue;
-      var adoptedEntRefNodeValue;
-      var nullDocType = null;
-
-      var appendedChild;
-      var docElem;
-      var rootNS;
-      var rootName;
-      var xmlNS = "http://www.w3.org/XML/1998/namespace";
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      docElem = doc.documentElement;
-
-      rootName = docElem.tagName;
-
-      rootNS = docElem.namespaceURI;
-
-      domImpl = doc.implementation;
-newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
-      newAttr = doc.createAttributeNS(xmlNS,"xml:lang");
-      newText = doc.createTextNode("Text Node");
-      newEntRef = doc.createEntityReference("alpha");
-      appendedChild = newAttr.appendChild(newText);
-      appendedChild = newAttr.appendChild(newEntRef);
-      adoptedAttr = newDoc.adoptNode(newAttr);
-      
-       if(
-       
-       (adoptedAttr != null)
-
-       ) {
-       nodeName = adoptedAttr.nodeName;
-
-      nodeNamespaceURI = adoptedAttr.namespaceURI;
-
-      nodePrefix = adoptedAttr.prefix;
-
-      attrOwnerElem = adoptedAttr.ownerElement;
-
-      isSpecified = adoptedAttr.specified;
-
-      assertEquals("documentadoptnode06_nodeName","xml:lang",nodeName);
-       assertEquals("documentadoptnode06_namespaceURI",xmlNS,nodeNamespaceURI);
-       assertEquals("documentadoptnode06_prefix","xml",nodePrefix);
-       assertNull("documentadoptnode06_ownerDoc",attrOwnerElem);
-    assertTrue("documentadoptnode06_specified",isSpecified);
-nodeList = adoptedAttr.childNodes;
-
-      adoptText = nodeList.item(0);
-      adoptEntRef = nodeList.item(1);
-      adoptedTextNodeValue = adoptText.nodeValue;
-
-      adoptedEntRefNodeValue = adoptEntRef.nodeName;
-
-      assertEquals("documentadoptnode06_TextNodeValue","Text Node",adoptedTextNodeValue);
-       assertEquals("documentadoptnode06_EntRefNodeValue","alpha",adoptedEntRefNodeValue);
-       
-       }
-       
-}
-
-
-
-
-function runTest() {
-   documentadoptnode06();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.xhtml b/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.xhtml
deleted file mode 100644 (file)
index 292d890..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="documentadoptnode06.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/documentadoptnode16-expected.txt b/LayoutTests/dom/xhtml/level3/core/documentadoptnode16-expected.txt
deleted file mode 100644 (file)
index 28ab188..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentadoptnode16
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/documentadoptnode16.js b/LayoutTests/dom/xhtml/level3/core/documentadoptnode16.js
deleted file mode 100644 (file)
index 8fd6e2f..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentadoptnode16";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-Create a document fragment with an entity reference, adopt the node and check
-that the entity reference value comes from the adopting documents DTD.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Document3-adoptNode
-*/
-function documentadoptnode16() {
-   var success;
-    if(checkInitialization(builder, "documentadoptnode16") != null) return;
-    var doc;
-      var docFragment;
-      var childList;
-      var parent;
-      var child;
-      var childsAttr;
-      var entRef;
-      var textNode;
-      var adopted;
-      var parentImp;
-      var childImp;
-      var attributes;
-      var childAttrImp;
-      var nodeValue;
-      var appendedChild;
-      var attrNode;
-      var firstChild;
-      var firstChildType;
-      var firstChildName;
-      var firstChildValue;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      docFragment = doc.createDocumentFragment();
-      parent = doc.createElement("parent");
-      child = doc.createElement("child");
-      childsAttr = doc.createAttribute("state");
-      entRef = doc.createEntityReference("gamma");
-      textNode = doc.createTextNode("Test");
-      appendedChild = childsAttr.appendChild(entRef);
-      attrNode = child.setAttributeNode(childsAttr);
-      appendedChild = child.appendChild(textNode);
-      appendedChild = parent.appendChild(child);
-      appendedChild = docFragment.appendChild(parent);
-      adopted = doc.adoptNode(docFragment);
-      
-       if(
-       
-       (adopted != null)
-
-       ) {
-       parentImp = adopted.firstChild;
-
-      childImp = parentImp.firstChild;
-
-      attributes = childImp.attributes;
-
-      childAttrImp = attributes.getNamedItem("state");
-      firstChild = childAttrImp.firstChild;
-
-      assertNotNull("firstChildNotNull",firstChild);
-firstChildName = firstChild.nodeName;
-
-      firstChildValue = firstChild.nodeValue;
-
-      firstChildType = firstChild.nodeType;
-
-      
-       if(
-       (5 == firstChildType)
-       ) {
-       assertEquals("firstChildEnt3Ref","gamma",firstChildName);
-       
-       }
-       
-               else {
-                       assertEquals("documentadoptnode16","Texas",firstChildValue);
-       
-               }
-       
-       }
-       
-}
-
-
-
-
-function runTest() {
-   documentadoptnode16();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/documentadoptnode16.xhtml b/LayoutTests/dom/xhtml/level3/core/documentadoptnode16.xhtml
deleted file mode 100644 (file)
index f6bb9de..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="documentadoptnode16.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/documentrenamenode27-expected.txt b/LayoutTests/dom/xhtml/level3/core/documentrenamenode27-expected.txt
deleted file mode 100644 (file)
index d373441..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentrenamenode27
-Status failure
-Message        throw_NOT_SUPPORTED_ERR_1: assertTrue failed
diff --git a/LayoutTests/dom/xhtml/level3/core/documentrenamenode27.js b/LayoutTests/dom/xhtml/level3/core/documentrenamenode27.js
deleted file mode 100644 (file)
index 9673cac..0000000
+++ /dev/null
@@ -1,189 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentrenamenode27";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Invoke the renameNode method to attempt to rename new Text, Comment, CDataSection,
-       ProcessingInstruction and EntityReference nodes of a new Document.
-       Check if a NOT_SUPPORTED_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Document3-renameNode
-*/
-function documentrenamenode27() {
-   var success;
-    if(checkInitialization(builder, "documentrenamenode27") != null) return;
-    var doc;
-      var newDoc;
-      var domImpl;
-      var text;
-      var comment;
-      var cdata;
-      var pi;
-      var entref;
-      var renamedTxt;
-      var renamedComment;
-      var renamedCdata;
-      var renamedPi;
-      var renamedEntRef;
-      var nullDocType = null;
-
-      var docElem;
-      var rootNS;
-      var rootName;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      docElem = doc.documentElement;
-
-      rootNS = docElem.namespaceURI;
-
-      rootName = docElem.tagName;
-
-      domImpl = doc.implementation;
-newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
-      text = newDoc.createTextNode("text");
-      comment = newDoc.createComment("comment");
-      cdata = newDoc.createCDATASection("cdata");
-      pi = newDoc.createProcessingInstruction("pit","pid");
-      entref = newDoc.createEntityReference("alpha");
-      
-       {
-               success = false;
-               try {
-            renamedTxt = newDoc.renameNode(text,"http://www.w3.org/DOM/Test","text");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR_1",success);
-       }
-
-       {
-               success = false;
-               try {
-            renamedComment = newDoc.renameNode(comment,"http://www.w3.org/DOM/Test","comment");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR_2",success);
-       }
-
-       {
-               success = false;
-               try {
-            renamedCdata = newDoc.renameNode(cdata,"http://www.w3.org/DOM/Test","cdata");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR_3",success);
-       }
-
-       {
-               success = false;
-               try {
-            renamedPi = newDoc.renameNode(pi,"http://www.w3.org/DOM/Test","pi");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR_4",success);
-       }
-
-       {
-               success = false;
-               try {
-            renamedEntRef = newDoc.renameNode(entref,"http://www.w3.org/DOM/Test","entref");
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-               }
-               assertTrue("throw_NOT_SUPPORTED_ERR_5",success);
-       }
-
-}
-
-
-
-
-function runTest() {
-   documentrenamenode27();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/documentrenamenode27.xhtml b/LayoutTests/dom/xhtml/level3/core/documentrenamenode27.xhtml
deleted file mode 100644 (file)
index de7811b..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="documentrenamenode27.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition20.xhtml b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition20.xhtml
deleted file mode 100644 (file)
index 278e4e6..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodecomparedocumentposition20.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26-expected.txt
deleted file mode 100644 (file)
index 9024373..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodecomparedocumentposition26
-Status failure
-Message        entRefChild1NotNull: assertNotNull failed
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.js b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.js
deleted file mode 100644 (file)
index 3e8b3fa..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodecomparedocumentposition26";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using compareDocumentPosition check if the EntityReference node contains and precedes it's first
-       childElement, and that the childElement is contained and follows the EntityReference node.
-
-* @author IBM
-* @author Jenny Hsu
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-compareDocumentPosition
-*/
-function nodecomparedocumentposition26() {
-   var success;
-    if(checkInitialization(builder, "nodecomparedocumentposition26") != null) return;
-    var doc;
-      var varList;
-      var varElem;
-      var entRef;
-      var entRefChild1;
-      var entRefPosition;
-      var entRefChild1Position;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      
-       if(
-       (getImplementationAttribute("expandEntityReferences") == false)
-       ) {
-       varList = doc.getElementsByTagName("var");
-      varElem = varList.item(2);
-      assertNotNull("varElemNotNull",varElem);
-entRef = varElem.firstChild;
-
-      assertNotNull("entRefNotNull",entRef);
-
-       }
-       
-               else {
-                       entRef = doc.createEntityReference("ent4");
-      
-               }
-       entRefChild1 = entRef.firstChild;
-
-      assertNotNull("entRefChild1NotNull",entRefChild1);
-entRefPosition = entRef.compareDocumentPosition(entRefChild1);
-      assertEquals("nodecomparedocumentpositionIsContainedFollowing26",20,entRefPosition);
-       entRefChild1Position = entRefChild1.compareDocumentPosition(entRef);
-      assertEquals("nodecomparedocumentpositionContainsPRECEDING26",10,entRefChild1Position);
-       
-}
-
-
-
-
-function runTest() {
-   nodecomparedocumentposition26();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.xhtml b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.xhtml
deleted file mode 100644 (file)
index c733e0d..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodecomparedocumentposition26.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27-expected.txt
deleted file mode 100644 (file)
index 4729b4c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodecomparedocumentposition27
-Status failure
-Message        entRefChild1NotNull: assertNotNull failed
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.js b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.js
deleted file mode 100644 (file)
index 01e19b7..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodecomparedocumentposition27";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using compareDocumentPosition to check if the EntityReference node contains and precedes it's last
-       childElement, and that this childElement is contained and follows the EntityReference node.
-
-* @author IBM
-* @author Jenny Hsu
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-compareDocumentPosition
-*/
-function nodecomparedocumentposition27() {
-   var success;
-    if(checkInitialization(builder, "nodecomparedocumentposition27") != null) return;
-    var doc;
-      var varList;
-      var varElem;
-      var entRef;
-      var entRefChild1;
-      var entRefPosition;
-      var entRefChild1Position;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      
-       if(
-       (getImplementationAttribute("expandEntityReferences") == false)
-       ) {
-       varList = doc.getElementsByTagName("var");
-      varElem = varList.item(2);
-      assertNotNull("varElemNotNull",varElem);
-entRef = varElem.firstChild;
-
-      assertNotNull("entRefNotNull",entRef);
-
-       }
-       
-               else {
-                       entRef = doc.createEntityReference("ent4");
-      
-               }
-       entRefChild1 = entRef.lastChild;
-
-      assertNotNull("entRefChild1NotNull",entRefChild1);
-entRefPosition = entRef.compareDocumentPosition(entRefChild1);
-      assertEquals("nodecomparedocumentpositionIsContainedFollowing27",20,entRefPosition);
-       entRefChild1Position = entRefChild1.compareDocumentPosition(entRef);
-      assertEquals("nodecomparedocumentpositionContainsPRECEDING",10,entRefChild1Position);
-       
-}
-
-
-
-
-function runTest() {
-   nodecomparedocumentposition27();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.xhtml b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.xhtml
deleted file mode 100644 (file)
index 31abe01..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodecomparedocumentposition27.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28-expected.txt
deleted file mode 100644 (file)
index 73d3249..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodecomparedocumentposition28
-Status failure
-Message        entRefChild1NotNull: assertNotNull failed
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.js b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.js
deleted file mode 100644 (file)
index 9f2b28e..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodecomparedocumentposition28";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using compareDocumentPosition check the document position of the EntityReference node ent4's
-       first child and last child.  Invoke compareDocumentPositon on first child with last child as a parameter
-       should return FOLLOWING, and should return PRECEDING vice versa.
-
-* @author IBM
-* @author Jenny Hsu
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-compareDocumentPosition
-*/
-function nodecomparedocumentposition28() {
-   var success;
-    if(checkInitialization(builder, "nodecomparedocumentposition28") != null) return;
-    var doc;
-      var varList;
-      var varElem;
-      var entRef;
-      var entRefChild1;
-      var entRefChild2;
-      var entRefChild1Position;
-      var entRefChild2Position;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      
-       if(
-       (getImplementationAttribute("expandEntityReferences") == false)
-       ) {
-       varList = doc.getElementsByTagName("var");
-      varElem = varList.item(2);
-      assertNotNull("varElemNotNull",varElem);
-entRef = varElem.firstChild;
-
-      assertNotNull("entRefNotNull",entRef);
-
-       }
-       
-               else {
-                       entRef = doc.createEntityReference("ent4");
-      
-               }
-       entRefChild1 = entRef.firstChild;
-
-      assertNotNull("entRefChild1NotNull",entRefChild1);
-entRefChild2 = entRef.lastChild;
-
-      assertNotNull("entRefChild2NotNull",entRefChild2);
-entRefChild1Position = entRefChild1.compareDocumentPosition(entRefChild2);
-      assertEquals("nodecomparedocumentpositionFollowing28",4,entRefChild1Position);
-       entRefChild2Position = entRefChild2.compareDocumentPosition(entRefChild1);
-      assertEquals("nodecomparedocumentpositionPRECEDING28",2,entRefChild2Position);
-       
-}
-
-
-
-
-function runTest() {
-   nodecomparedocumentposition28();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.xhtml b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.xhtml
deleted file mode 100644 (file)
index e250829..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodecomparedocumentposition28.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29-expected.txt
deleted file mode 100644 (file)
index 92ca781..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodecomparedocumentposition29
-Status failure
-Message        entRefChild1NotNull: assertNotNull failed
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.js b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.js
deleted file mode 100644 (file)
index fd9fd45..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodecomparedocumentposition29";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Create two entity reference nodes. Using compareDocumentPosition to check if the child of the first Entity 
-       Ref node precedes the child of the second Entity Ref node, and that the child of the second Entity Ref node
-       follows the child of the first Entity Ref node.  
-
-* @author IBM
-* @author Jenny Hsu
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-compareDocumentPosition
-*/
-function nodecomparedocumentposition29() {
-   var success;
-    if(checkInitialization(builder, "nodecomparedocumentposition29") != null) return;
-    var doc;
-      var docElem;
-      var entRef1;
-      var entRef2;
-      var entRefChild1;
-      var entRefChild2;
-      var entRefChild1Position;
-      var entRefChild2Position;
-      var appendedChild;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      entRef1 = doc.createEntityReference("ent4");
-      entRef2 = doc.createEntityReference("ent4");
-      docElem = doc.documentElement;
-
-      appendedChild = docElem.appendChild(entRef1);
-      appendedChild = docElem.appendChild(entRef2);
-      entRefChild1 = entRef1.firstChild;
-
-      assertNotNull("entRefChild1NotNull",entRefChild1);
-entRefChild2 = entRef2.lastChild;
-
-      assertNotNull("entRefChild2NotNull",entRefChild2);
-entRefChild1Position = entRefChild1.compareDocumentPosition(entRefChild2);
-      assertEquals("nodecomparedocumentpositionFollowing29",4,entRefChild1Position);
-       entRefChild2Position = entRefChild2.compareDocumentPosition(entRefChild1);
-      assertEquals("nodecomparedocumentpositionPRECEDING29",2,entRefChild2Position);
-       
-}
-
-
-
-
-function runTest() {
-   nodecomparedocumentposition29();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.xhtml b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.xhtml
deleted file mode 100644 (file)
index ea3d2a9..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodecomparedocumentposition29.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodegetfeature04-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodegetfeature04-expected.txt
deleted file mode 100644 (file)
index 27a95a1..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodegetfeature04
-Status error
-Message        Line 101: TypeError
diff --git a/LayoutTests/dom/xhtml/level3/core/nodegetfeature04.js b/LayoutTests/dom/xhtml/level3/core/nodegetfeature04.js
deleted file mode 100644 (file)
index f9f5d20..0000000
+++ /dev/null
@@ -1,202 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodegetfeature04";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "barfoo");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-Check implementation of Node.getFeature on EntityReference.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-getFeature
-*/
-function nodegetfeature04() {
-   var success;
-    if(checkInitialization(builder, "nodegetfeature04") != null) return;
-    var doc;
-      var node;
-      var nullVersion = null;
-
-      var featureImpl;
-      var isSupported;
-      var domImpl;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "barfoo");
-      domImpl = doc.implementation;
-node = doc.createEntityReference("ent1");
-      featureImpl = node.getFeature("Core",nullVersion);
-      assertSame("coreUnspecifiedVersion",node,featureImpl);
-featureImpl = node.getFeature("cOrE",nullVersion);
-      assertSame("cOrEUnspecifiedVersion",node,featureImpl);
-featureImpl = node.getFeature("+cOrE",nullVersion);
-      assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
-featureImpl = node.getFeature("org.w3c.domts.bogus.feature",nullVersion);
-      assertNull("unrecognizedFeature",featureImpl);
-    featureImpl = node.getFeature("cOrE","2.0");
-      assertSame("Core20",node,featureImpl);
-featureImpl = node.getFeature("cOrE","3.0");
-      assertSame("Core30",node,featureImpl);
-isSupported = node.isSupported("XML",nullVersion);
-      featureImpl = node.getFeature("XML",nullVersion);
-      
-       if(
-       isSupported
-       ) {
-       assertSame("XMLUnspecified",node,featureImpl);
-
-       }
-       isSupported = node.isSupported("SVG",nullVersion);
-      featureImpl = node.getFeature("SVG",nullVersion);
-      
-       if(
-       isSupported
-       ) {
-       assertSame("SVGUnspecified",node,featureImpl);
-
-       }
-       isSupported = node.isSupported("HTML",nullVersion);
-      featureImpl = node.getFeature("HTML",nullVersion);
-      
-       if(
-       isSupported
-       ) {
-       assertSame("HTMLUnspecified",node,featureImpl);
-
-       }
-       isSupported = node.isSupported("Events",nullVersion);
-      featureImpl = node.getFeature("Events",nullVersion);
-      
-       if(
-       isSupported
-       ) {
-       assertSame("EventsUnspecified",node,featureImpl);
-
-       }
-       isSupported = node.isSupported("LS",nullVersion);
-      featureImpl = node.getFeature("LS",nullVersion);
-      
-       if(
-       isSupported
-       ) {
-       assertSame("LSUnspecified",node,featureImpl);
-
-       }
-       isSupported = node.isSupported("LS-Async",nullVersion);
-      featureImpl = node.getFeature("LS-Async",nullVersion);
-      
-       if(
-       isSupported
-       ) {
-       assertSame("LSAsyncUnspecified",node,featureImpl);
-
-       }
-       isSupported = node.isSupported("XPath",nullVersion);
-      featureImpl = node.getFeature("XPath",nullVersion);
-      
-       if(
-       isSupported
-       ) {
-       assertSame("XPathUnspecified",node,featureImpl);
-
-       }
-       isSupported = node.isSupported("+HTML",nullVersion);
-      featureImpl = node.getFeature("HTML",nullVersion);
-      
-       if(
-       isSupported
-       ) {
-       assertNotNull("PlusHTMLUnspecified",featureImpl);
-
-       }
-       isSupported = node.isSupported("+SVG",nullVersion);
-      featureImpl = node.getFeature("SVG",nullVersion);
-      
-       if(
-       isSupported
-       ) {
-       assertNotNull("PlusSVGUnspecified",featureImpl);
-
-       }
-       
-}
-
-
-
-
-function runTest() {
-   nodegetfeature04();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodegetfeature04.xhtml b/LayoutTests/dom/xhtml/level3/core/nodegetfeature04.xhtml
deleted file mode 100644 (file)
index 87d85c5..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html [
-<!ENTITY ent1 'foo'>
-<!ENTITY ent2 'foo<br/>'>
-<!ELEMENT html (head, body)>
-<!ATTLIST html xmlns CDATA #IMPLIED>
-<!ELEMENT head (title,script*)>
-<!ELEMENT script (#PCDATA)>
-<!ATTLIST script 
-     src CDATA #IMPLIED
-     type CDATA #IMPLIED
-     charset CDATA #IMPLIED>
-<!ELEMENT title (#PCDATA)>
-<!ELEMENT body (p)>
-<!ATTLIST body onload CDATA #IMPLIED>
-<!ELEMENT p (#PCDATA|br)*>
-<!ELEMENT br EMPTY>
-]>
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>replaceWholeText sample</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='nodegetfeature04.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()">
-<p>bar</p>
-</body>
-</html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15-expected.txt
deleted file mode 100644 (file)
index 9c5c29c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodegettextcontent15
-Status error
-Message        Line 121: TypeError
diff --git a/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.js b/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.js
deleted file mode 100644 (file)
index b1467a3..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodegettextcontent15";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-       setImplementationAttribute("namespaceAware", true);
-       setImplementationAttribute("expandEntityReferences", true);
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       The method getTextContent returns the text content of this node and its descendants.
-       
-       Invoke the method getTextContent on a new Element node with new Text, EntityReferences  
-       CDATASection, PI and Comment nodes and check if the value returned is a single 
-       concatenated String with its content.  
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-textContent
-*/
-function nodegettextcontent15() {
-   var success;
-    if(checkInitialization(builder, "nodegettextcontent15") != null) return;
-    var doc;
-      var elem;
-      var txt;
-      var comment;
-      var entRef;
-      var cdata;
-      var pi;
-      var textContent;
-      var appendedChild;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      elem = doc.createElementNS("http://www.w3.org/DOM/Test","dom3:elem");
-      txt = doc.createTextNode("Text ");
-      comment = doc.createComment("Comment ");
-      entRef = doc.createEntityReference("beta");
-      pi = doc.createProcessingInstruction("PIT","PIData ");
-      cdata = doc.createCDATASection("CData");
-      appendedChild = elem.appendChild(txt);
-      appendedChild = elem.appendChild(comment);
-      appendedChild = elem.appendChild(entRef);
-      appendedChild = elem.appendChild(pi);
-      appendedChild = elem.appendChild(cdata);
-      textContent = elem.textContent;
-
-      doc.normalizeDocument();
-      assertEquals("nodegettextcontent15","Text βCData",textContent);
-       
-}
-
-
-
-
-function runTest() {
-   nodegettextcontent15();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.xhtml b/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.xhtml
deleted file mode 100644 (file)
index 4bd36cb..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodegettextcontent15.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16-expected.txt
deleted file mode 100644 (file)
index cb4144d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodegettextcontent16
-Status error
-Message        Line 123: TypeError
diff --git a/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.js b/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.js
deleted file mode 100644 (file)
index 541f7c8..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodegettextcontent16";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-       setImplementationAttribute("namespaceAware", true);
-       setImplementationAttribute("expandEntityReferences", true);
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       The method getTextContent returns the text content of this node and its descendants.
-       
-       Invoke the method getTextContent on a new DocumentFragment node with new Text, EntityReferences  
-       CDATASection, PI and Comment nodes and check if the value returned is a single 
-       concatenated String with its content.  
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-textContent
-*/
-function nodegettextcontent16() {
-   var success;
-    if(checkInitialization(builder, "nodegettextcontent16") != null) return;
-    var doc;
-      var docFrag;
-      var elem;
-      var elemChild;
-      var txt;
-      var comment;
-      var entRef;
-      var cdata;
-      var pi;
-      var textContent;
-      var appendedChild;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      docFrag = doc.createDocumentFragment();
-      elem = doc.createElementNS("http://www.w3.org/DOM/Test","dom3:elem");
-      txt = doc.createTextNode("Text ");
-      comment = doc.createComment("Comment ");
-      entRef = doc.createEntityReference("beta");
-      pi = doc.createProcessingInstruction("PIT","PIData ");
-      cdata = doc.createCDATASection("CData");
-      appendedChild = elem.appendChild(txt);
-      appendedChild = elem.appendChild(comment);
-      appendedChild = elem.appendChild(entRef);
-      appendedChild = elem.appendChild(pi);
-      appendedChild = elem.appendChild(cdata);
-      appendedChild = docFrag.appendChild(elem);
-      doc.normalizeDocument();
-      textContent = docFrag.textContent;
-
-      assertEquals("nodegettextcontent16","Text βCData",textContent);
-       
-}
-
-
-
-
-function runTest() {
-   nodegettextcontent16();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.xhtml b/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.xhtml
deleted file mode 100644 (file)
index dfefc15..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodegettextcontent16.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17-expected.txt
deleted file mode 100644 (file)
index 36beb32..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodegettextcontent17
-Status failure
-Message        nodegettextcontent17: assertEquals failed, actual , expected β.
diff --git a/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.js b/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.js
deleted file mode 100644 (file)
index 024ba60..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodegettextcontent17";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Invoke the method getTextContent on a new EntityReference node and check if the 
-       value returned is the EntityReference's content.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-textContent
-*/
-function nodegettextcontent17() {
-   var success;
-    if(checkInitialization(builder, "nodegettextcontent17") != null) return;
-    var doc;
-      var elem;
-      var entRef;
-      var textContent;
-      var appendedChild;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      elem = doc.documentElement;
-
-      entRef = doc.createEntityReference("beta");
-      appendedChild = elem.appendChild(entRef);
-      textContent = entRef.textContent;
-
-      assertEquals("nodegettextcontent17","β",textContent);
-       
-}
-
-
-
-
-function runTest() {
-   nodegettextcontent17();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.xhtml b/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.xhtml
deleted file mode 100644 (file)
index 279c22c..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodegettextcontent17.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11-expected.txt
deleted file mode 100644 (file)
index 397fa83..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodeinsertbefore11
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.js b/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.js
deleted file mode 100644 (file)
index e8a8b9e..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodeinsertbefore11";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-
-
-
-       Using insertBefore on a DocumentFragment node attempt to insert a child nodes before
-       other permissible nodes and verify the contents/name of each inserted node.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-952280727
-*/
-function nodeinsertbefore11() {
-   var success;
-    if(checkInitialization(builder, "nodeinsertbefore11") != null) return;
-    var doc;
-      var docFrag;
-      var elem;
-      var pi;
-      var comment;
-      var txt;
-      var cdata;
-      var eRef;
-      var inserted;
-      var insertedVal;
-      var appendedChild;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      docFrag = doc.createDocumentFragment();
-      elem = doc.createElementNS("http://www.w3.org/1999/xhtml","body");
-      pi = doc.createProcessingInstruction("PITarget","PIData");
-      comment = doc.createComment("Comment");
-      txt = doc.createTextNode("Text");
-      cdata = doc.createCDATASection("CDATA");
-      eRef = doc.createEntityReference("alpha");
-      appendedChild = docFrag.appendChild(elem);
-      appendedChild = docFrag.appendChild(pi);
-      appendedChild = docFrag.appendChild(comment);
-      appendedChild = docFrag.appendChild(txt);
-      appendedChild = docFrag.appendChild(cdata);
-      appendedChild = docFrag.appendChild(eRef);
-      inserted = docFrag.insertBefore(comment,pi);
-      insertedVal = inserted.data;
-
-      assertEquals("nodeinsertbefore11_Comment","Comment",insertedVal);
-       inserted = docFrag.insertBefore(txt,comment);
-      insertedVal = inserted.data;
-
-      assertEquals("nodeinsertbefore11_Text","Text",insertedVal);
-       inserted = docFrag.insertBefore(cdata,txt);
-      insertedVal = inserted.data;
-
-      assertEquals("nodeinsertbefore11_CDATA","CDATA",insertedVal);
-       inserted = docFrag.insertBefore(eRef,cdata);
-      insertedVal = inserted.nodeName;
-
-      assertEquals("nodeinsertbefore11_Ent1","alpha",insertedVal);
-       
-}
-
-
-
-
-function runTest() {
-   nodeinsertbefore11();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.xhtml b/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.xhtml
deleted file mode 100644 (file)
index 1a4aa68..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodeinsertbefore11.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15-expected.txt
deleted file mode 100644 (file)
index 7142f3e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodeinsertbefore15
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.js b/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.js
deleted file mode 100644 (file)
index 7f3716e..0000000
+++ /dev/null
@@ -1,177 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodeinsertbefore15";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       A NO_MODIFICATION_ALLOWED_ERR is raised if the node is read-only.
-       
-       Using insertBefore on a new EntityReference node attempt to insert Element, Text,
-       Comment, ProcessingInstruction and CDATASection nodes before an element child
-       and verify if a NO_MODIFICATION_ALLOWED_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-952280727
-*/
-function nodeinsertbefore15() {
-   var success;
-    if(checkInitialization(builder, "nodeinsertbefore15") != null) return;
-    var doc;
-      var entRef;
-      var elemChild;
-      var txt;
-      var elem;
-      var comment;
-      var pi;
-      var cdata;
-      var inserted;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      entRef = doc.createEntityReference("delta");
-      elemChild = entRef.firstChild;
-
-      cdata = doc.createCDATASection("CDATASection");
-      
-       {
-               success = false;
-               try {
-            inserted = entRef.insertBefore(cdata,elemChild);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_1",success);
-       }
-pi = doc.createProcessingInstruction("target","data");
-      
-       {
-               success = false;
-               try {
-            inserted = entRef.insertBefore(pi,elemChild);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_2",success);
-       }
-comment = doc.createComment("Comment");
-      
-       {
-               success = false;
-               try {
-            inserted = entRef.insertBefore(comment,elemChild);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_3",success);
-       }
-txt = doc.createTextNode("Text");
-      
-       {
-               success = false;
-               try {
-            inserted = entRef.insertBefore(txt,elemChild);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_4",success);
-       }
-elem = doc.createElementNS("http://www.w3.org/1999/xhtml","body");
-      
-       {
-               success = false;
-               try {
-            inserted = entRef.insertBefore(elem,elemChild);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_5",success);
-       }
-
-}
-
-
-
-
-function runTest() {
-   nodeinsertbefore15();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.xhtml b/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.xhtml
deleted file mode 100644 (file)
index 6f0d00b..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodeinsertbefore15.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/noderemovechild12-expected.txt b/LayoutTests/dom/xhtml/level3/core/noderemovechild12-expected.txt
deleted file mode 100644 (file)
index 1c0e175..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/noderemovechild12
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/noderemovechild12.js b/LayoutTests/dom/xhtml/level3/core/noderemovechild12.js
deleted file mode 100644 (file)
index 4e18a22..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/noderemovechild12";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-       setImplementationAttribute("namespaceAware", true);
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       The method removeChild removes the child node indicated by oldChild from the list 
-       of children, and returns it. 
-
-       Using removeChild on a new DocumentFragment node attempt to remove a new EntityReference node.
-        Also attempt to remove the document fragment node from the EntityReference.  Verify that a 
-        NO_MODIFICATION_ALLOWED_ERR (EntityReference node is read-only) or a NOT_FOUND_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-1734834066
-*/
-function noderemovechild12() {
-   var success;
-    if(checkInitialization(builder, "noderemovechild12") != null) return;
-    var doc;
-      var docFrag;
-      var eRef;
-      var removedERef;
-      var appendedChild;
-      var removedChild;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      docFrag = doc.createDocumentFragment();
-      eRef = doc.createEntityReference("ent1");
-      appendedChild = docFrag.appendChild(eRef);
-      removedChild = docFrag.removeChild(eRef);
-      removedERef = docFrag.firstChild;
-
-      assertNull("noderemovechild12",removedERef);
-    
-      try {
-      removedChild = eRef.removeChild(docFrag);
-      
-      } catch (ex) {
-                 if (typeof(ex.code) != 'undefined') {      
-       switch(ex.code) {
-       case /* NOT_FOUND_ERR */ 8 :
-       break;
-      case /* NO_MODIFICATION_ALLOWED_ERR */ 7 :
-       break;
-          default:
-          throw ex;
-          }
-       } else { 
-       throw ex;
-        }
-         }
-        
-}
-
-
-
-
-function runTest() {
-   noderemovechild12();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/noderemovechild12.xhtml b/LayoutTests/dom/xhtml/level3/core/noderemovechild12.xhtml
deleted file mode 100644 (file)
index 736ed92..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="noderemovechild12.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/noderemovechild13-expected.txt b/LayoutTests/dom/xhtml/level3/core/noderemovechild13-expected.txt
deleted file mode 100644 (file)
index 96e56a6..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/noderemovechild13
-Status failure
-Message        txtNotNull: assertNotNull failed
diff --git a/LayoutTests/dom/xhtml/level3/core/noderemovechild13.js b/LayoutTests/dom/xhtml/level3/core/noderemovechild13.js
deleted file mode 100644 (file)
index 6c80ffb..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/noderemovechild13";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using removeChild on a new EntityReference node attempt to remove the first child 
-       of this node and verify if a NO_MODIFICATION_ALLOWED_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-1734834066
-*/
-function noderemovechild13() {
-   var success;
-    if(checkInitialization(builder, "noderemovechild13") != null) return;
-    var doc;
-      var txt;
-      var eRef;
-      var removed;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      eRef = doc.createEntityReference("alpha");
-      txt = eRef.firstChild;
-
-      assertNotNull("txtNotNull",txt);
-
-       {
-               success = false;
-               try {
-            removed = eRef.removeChild(txt);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR",success);
-       }
-
-}
-
-
-
-
-function runTest() {
-   noderemovechild13();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/noderemovechild13.xhtml b/LayoutTests/dom/xhtml/level3/core/noderemovechild13.xhtml
deleted file mode 100644 (file)
index 71317a4..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="noderemovechild13.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/noderemovechild14-expected.txt b/LayoutTests/dom/xhtml/level3/core/noderemovechild14-expected.txt
deleted file mode 100644 (file)
index 1235bf4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/noderemovechild14
-Status failure
-Message        piNotNull: assertNotNull failed
diff --git a/LayoutTests/dom/xhtml/level3/core/noderemovechild14.js b/LayoutTests/dom/xhtml/level3/core/noderemovechild14.js
deleted file mode 100644 (file)
index 03d5a19..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/noderemovechild14";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using removeChild on a new EntityReference node attempt to remove its last ProcessingInstruction 
-       child node and verify if a NO_MODIFICATION_ALLOWED_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-1734834066
-*/
-function noderemovechild14() {
-   var success;
-    if(checkInitialization(builder, "noderemovechild14") != null) return;
-    var doc;
-      var removed;
-      var eRef;
-      var pi;
-      var entName;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      eRef = doc.createEntityReference("ent4");
-      pi = eRef.lastChild;
-
-      assertNotNull("piNotNull",pi);
-
-       {
-               success = false;
-               try {
-            removed = eRef.removeChild(pi);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR",success);
-       }
-
-}
-
-
-
-
-function runTest() {
-   noderemovechild14();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/noderemovechild14.xhtml b/LayoutTests/dom/xhtml/level3/core/noderemovechild14.xhtml
deleted file mode 100644 (file)
index 0084f7d..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="noderemovechild14.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/noderemovechild15-expected.txt b/LayoutTests/dom/xhtml/level3/core/noderemovechild15-expected.txt
deleted file mode 100644 (file)
index 802e0c2..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/noderemovechild15
-Status failure
-Message        elemNotNull: assertNotNull failed
diff --git a/LayoutTests/dom/xhtml/level3/core/noderemovechild15.js b/LayoutTests/dom/xhtml/level3/core/noderemovechild15.js
deleted file mode 100644 (file)
index 53b3f7c..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/noderemovechild15";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using removeChild on a new EntityReference node attempt to remove an Element child 
-       and verify if a NO_MODIFICATION_ALLOWED_ERR is thrown. 
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-1734834066
-*/
-function noderemovechild15() {
-   var success;
-    if(checkInitialization(builder, "noderemovechild15") != null) return;
-    var doc;
-      var eRef;
-      var elem;
-      var entName;
-      var removed;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      eRef = doc.createEntityReference("ent4");
-      elem = eRef.firstChild;
-
-      assertNotNull("elemNotNull",elem);
-
-       {
-               success = false;
-               try {
-            removed = eRef.removeChild(elem);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR",success);
-       }
-
-}
-
-
-
-
-function runTest() {
-   noderemovechild15();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/noderemovechild15.xhtml b/LayoutTests/dom/xhtml/level3/core/noderemovechild15.xhtml
deleted file mode 100644 (file)
index 0a48627..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="noderemovechild15.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild18-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodereplacechild18-expected.txt
deleted file mode 100644 (file)
index 3d9f841..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild18
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild18.js b/LayoutTests/dom/xhtml/level3/core/nodereplacechild18.js
deleted file mode 100644 (file)
index ea0b672..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild18";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using replaceChild on a DocumentFragment node attempt to replace a CDATASection node with 
-       a EntityReference and vice versa verify the data of the replaced nodes.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild18() {
-   var success;
-    if(checkInitialization(builder, "nodereplacechild18") != null) return;
-    var doc;
-      var docFrag;
-      var entRef;
-      var cdata;
-      var replacedCData;
-      var replacedEref;
-      var cdataName;
-      var erefName;
-      var appendedChild;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      docFrag = doc.createDocumentFragment();
-      cdata = doc.createCDATASection("CDATASection");
-      entRef = doc.createEntityReference("alpha");
-      appendedChild = docFrag.appendChild(entRef);
-      appendedChild = docFrag.appendChild(cdata);
-      replacedCData = docFrag.replaceChild(entRef,cdata);
-      cdataName = replacedCData.nodeValue;
-
-      assertEquals("nodereplacechild18_1","CDATASection",cdataName);
-       replacedEref = docFrag.replaceChild(cdata,entRef);
-      erefName = replacedEref.nodeName;
-
-      assertEquals("nodereplacechild18_2","alpha",erefName);
-       
-}
-
-
-
-
-function runTest() {
-   nodereplacechild18();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild18.xhtml b/LayoutTests/dom/xhtml/level3/core/nodereplacechild18.xhtml
deleted file mode 100644 (file)
index 1d767b9..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodereplacechild18.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild19-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodereplacechild19-expected.txt
deleted file mode 100644 (file)
index a8a2d36..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild19
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild19.js b/LayoutTests/dom/xhtml/level3/core/nodereplacechild19.js
deleted file mode 100644 (file)
index db9a17d..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild19";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using replaceChild on a DocumentFragment node attempt to replace an Element node with 
-       its EntityReference child verify the nodeName of the replaced node.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild19() {
-   var success;
-    if(checkInitialization(builder, "nodereplacechild19") != null) return;
-    var doc;
-      var docFrag;
-      var entRef;
-      var elem;
-      var replaced;
-      var nodeName;
-      var appendedChild;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      docFrag = doc.createDocumentFragment();
-      elem = doc.createElementNS("http://www.w3.org/1999/xhtml","dom3:p");
-      entRef = doc.createEntityReference("alpha");
-      appendedChild = elem.appendChild(entRef);
-      appendedChild = docFrag.appendChild(elem);
-      replaced = docFrag.replaceChild(entRef,elem);
-      nodeName = replaced.nodeName;
-
-      assertEquals("nodereplacechild19","dom3:p",nodeName);
-       
-}
-
-
-
-
-function runTest() {
-   nodereplacechild19();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild19.xhtml b/LayoutTests/dom/xhtml/level3/core/nodereplacechild19.xhtml
deleted file mode 100644 (file)
index 325b2cb..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodereplacechild19.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild22-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodereplacechild22-expected.txt
deleted file mode 100644 (file)
index 391daf2..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild22
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild22.js b/LayoutTests/dom/xhtml/level3/core/nodereplacechild22.js
deleted file mode 100644 (file)
index fd3f423..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild22";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using replaceChild on a new EntityReference node attempt to replace an EntityReference node with 
-       its Element parent, with itself and vice versa verify if a NO_MODIFICATION_ALLOWED_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild22() {
-   var success;
-    if(checkInitialization(builder, "nodereplacechild22") != null) return;
-    var doc;
-      var entRefMain;
-      var entRef;
-      var elem;
-      var appendedChild;
-      var replacedChild;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      elem = doc.createElementNS("http://www.w3.org/1999/xhtml","dom3:p");
-      entRefMain = doc.createEntityReference("delta");
-      entRef = doc.createEntityReference("beta");
-      appendedChild = elem.appendChild(entRef);
-      
-       {
-               success = false;
-               try {
-            replacedChild = entRefMain.replaceChild(elem,entRef);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_1",success);
-       }
-
-       {
-               success = false;
-               try {
-            replacedChild = entRefMain.replaceChild(entRef,elem);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_2",success);
-       }
-
-       {
-               success = false;
-               try {
-            replacedChild = entRefMain.replaceChild(entRefMain,entRef);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_3",success);
-       }
-
-}
-
-
-
-
-function runTest() {
-   nodereplacechild22();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild22.xhtml b/LayoutTests/dom/xhtml/level3/core/nodereplacechild22.xhtml
deleted file mode 100644 (file)
index 3f3254e..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodereplacechild22.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild23-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodereplacechild23-expected.txt
deleted file mode 100644 (file)
index 418b77b..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild23
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild23.js b/LayoutTests/dom/xhtml/level3/core/nodereplacechild23.js
deleted file mode 100644 (file)
index 9c31afc..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild23";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using replaceChild on a new EntityReference node attempt to replace an Element, Text,
-       Comment, ProcessingInstruction and CDATASection nodes with each other and in each case
-       verify if a NO_MODIFICATION_ALLOWED_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild23() {
-   var success;
-    if(checkInitialization(builder, "nodereplacechild23") != null) return;
-    var doc;
-      var entRef;
-      var txt;
-      var elem;
-      var comment;
-      var pi;
-      var cdata;
-      var replaced;
-      var appendedChild;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      elem = doc.createElementNS("http://www.w3.org/1999/xhtml","dom3:p");
-      entRef = doc.createEntityReference("delta");
-      txt = doc.createTextNode("Text");
-      comment = doc.createComment("Comment");
-      cdata = doc.createCDATASection("CDATASection");
-      pi = doc.createProcessingInstruction("target","data");
-      appendedChild = elem.appendChild(entRef);
-      appendedChild = elem.appendChild(txt);
-      appendedChild = elem.appendChild(comment);
-      appendedChild = elem.appendChild(pi);
-      appendedChild = elem.appendChild(cdata);
-      
-       {
-               success = false;
-               try {
-            replaced = entRef.replaceChild(cdata,elem);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_1",success);
-       }
-
-       {
-               success = false;
-               try {
-            replaced = entRef.replaceChild(pi,cdata);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_2",success);
-       }
-
-       {
-               success = false;
-               try {
-            replaced = entRef.replaceChild(comment,pi);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_3",success);
-       }
-
-       {
-               success = false;
-               try {
-            replaced = entRef.replaceChild(txt,comment);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_4",success);
-       }
-
-       {
-               success = false;
-               try {
-            replaced = entRef.replaceChild(elem,txt);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-               }
-               assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_5",success);
-       }
-
-}
-
-
-
-
-function runTest() {
-   nodereplacechild23();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild23.xhtml b/LayoutTests/dom/xhtml/level3/core/nodereplacechild23.xhtml
deleted file mode 100644 (file)
index d58a1d2..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodereplacechild23.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild30-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodereplacechild30-expected.txt
deleted file mode 100644 (file)
index 49f83e7..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild30
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild30.js b/LayoutTests/dom/xhtml/level3/core/nodereplacechild30.js
deleted file mode 100644 (file)
index 37358f9..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild30";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-
-
-
-       Using replaceChild on an Element node attempt to replace a new Element child node with 
-       new child nodes and vice versa and in each case verify the name of the replaced node.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild30() {
-   var success;
-    if(checkInitialization(builder, "nodereplacechild30") != null) return;
-    var doc;
-      var parent;
-      var oldChild;
-      var newElement;
-      var newText;
-      var newComment;
-      var newPI;
-      var newCdata;
-      var newERef;
-      var replaced;
-      var nodeName;
-      var appendedChild;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      parent = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:html");
-      oldChild = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:head");
-      newElement = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:body");
-      appendedChild = parent.appendChild(oldChild);
-      appendedChild = parent.appendChild(newElement);
-      newText = doc.createTextNode("Text");
-      appendedChild = parent.appendChild(newText);
-      newComment = doc.createComment("Comment");
-      appendedChild = parent.appendChild(newComment);
-      newPI = doc.createProcessingInstruction("target","data");
-      appendedChild = parent.appendChild(newPI);
-      newCdata = doc.createCDATASection("Cdata");
-      appendedChild = parent.appendChild(newCdata);
-      newERef = doc.createEntityReference("delta");
-      appendedChild = parent.appendChild(newERef);
-      replaced = parent.replaceChild(newElement,oldChild);
-      nodeName = replaced.nodeName;
-
-      assertEquals("nodereplacechild30_1","xhtml:head",nodeName);
-       replaced = parent.replaceChild(oldChild,newElement);
-      nodeName = replaced.nodeName;
-
-      assertEquals("nodereplacechild30_2","xhtml:body",nodeName);
-       replaced = parent.replaceChild(newText,oldChild);
-      nodeName = replaced.nodeName;
-
-      assertEquals("nodereplacechild30_3","xhtml:head",nodeName);
-       replaced = parent.replaceChild(oldChild,newText);
-      nodeName = replaced.nodeName;
-
-      assertEquals("nodereplacechild30_4","#text",nodeName);
-       replaced = parent.replaceChild(newComment,oldChild);
-      nodeName = replaced.nodeName;
-
-      assertEquals("nodereplacechild30_5","xhtml:head",nodeName);
-       replaced = parent.replaceChild(oldChild,newComment);
-      nodeName = replaced.nodeName;
-
-      assertEquals("nodereplacechild30_6","#comment",nodeName);
-       replaced = parent.replaceChild(oldChild,newPI);
-      nodeName = replaced.nodeName;
-
-      assertEquals("nodereplacechild30_7","target",nodeName);
-       replaced = parent.replaceChild(oldChild,newCdata);
-      nodeName = replaced.nodeName;
-
-      assertEquals("nodereplacechild30_8","#cdata-section",nodeName);
-       replaced = parent.replaceChild(oldChild,newERef);
-      nodeName = replaced.nodeName;
-
-      assertEquals("nodereplacechild30_9","delta",nodeName);
-       
-}
-
-
-
-
-function runTest() {
-   nodereplacechild30();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild30.xhtml b/LayoutTests/dom/xhtml/level3/core/nodereplacechild30.xhtml
deleted file mode 100644 (file)
index cdb5cbb..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodereplacechild30.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild33-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodereplacechild33-expected.txt
deleted file mode 100644 (file)
index 233f929..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild33
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild33.js b/LayoutTests/dom/xhtml/level3/core/nodereplacechild33.js
deleted file mode 100644 (file)
index e74be44..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild33";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using replaceChild on a default Attr node to replace its Text Child with a 
-       new EntityReference Node and verify the value of the replaced child.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild33() {
-   var success;
-    if(checkInitialization(builder, "nodereplacechild33") != null) return;
-    var doc;
-      var childList;
-      var elem;
-      var parent;
-      var oldChild;
-      var newChild;
-      var replaced;
-      var nodeValue;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      newChild = doc.createEntityReference("delta");
-      childList = doc.getElementsByTagName("p");
-      elem = childList.item(3);
-      parent = elem.getAttributeNode("dir");
-      oldChild = parent.lastChild;
-
-      replaced = parent.replaceChild(newChild,oldChild);
-      nodeValue = replaced.nodeValue;
-
-      assertEquals("nodereplacechild33","rtl",nodeValue);
-       
-}
-
-
-
-
-function runTest() {
-   nodereplacechild33();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild33.xhtml b/LayoutTests/dom/xhtml/level3/core/nodereplacechild33.xhtml
deleted file mode 100644 (file)
index d7990c1..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodereplacechild33.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild34-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodereplacechild34-expected.txt
deleted file mode 100644 (file)
index 435ee4d..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild34
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.js b/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.js
deleted file mode 100644 (file)
index 6f4a35a..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild34";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using replaceChild on a new Attr node, replace its new EntityReference Child with a 
-       new Text Node and verify the value of the new child.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild34() {
-   var success;
-    if(checkInitialization(builder, "nodereplacechild34") != null) return;
-    var doc;
-      var parent;
-      var oldChild;
-      var newChild;
-      var nodeValue;
-      var appendedChild;
-      var replaced;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      parent = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
-      oldChild = doc.createEntityReference("delta");
-      appendedChild = parent.appendChild(oldChild);
-      newChild = doc.createTextNode("Text");
-      replaced = parent.replaceChild(newChild,oldChild);
-      nodeValue = parent.value;
-
-      assertEquals("nodereplacechild34","Text",nodeValue);
-       
-}
-
-
-
-
-function runTest() {
-   nodereplacechild34();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.xhtml b/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.xhtml
deleted file mode 100644 (file)
index 3069bb0..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodereplacechild34.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild35-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodereplacechild35-expected.txt
deleted file mode 100644 (file)
index 851c988..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild35
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.js b/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.js
deleted file mode 100644 (file)
index 1bae867..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild35";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using replaceChild on a new Attr node, replace its new EntityRefernece Child with a 
-       new Attr Node and verify if a HIERARCHY_REQUEST_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild35() {
-   var success;
-    if(checkInitialization(builder, "nodereplacechild35") != null) return;
-    var doc;
-      var parent;
-      var oldChild;
-      var newChild;
-      var nodeValue;
-      var appendedChild;
-      var replaced;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      parent = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
-      oldChild = doc.createEntityReference("delta");
-      appendedChild = parent.appendChild(oldChild);
-      newChild = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
-      
-       {
-               success = false;
-               try {
-            replaced = parent.replaceChild(newChild,oldChild);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 3);
-               }
-               assertTrue("throw_HIERARCHY_REQUEST_ERR",success);
-       }
-
-}
-
-
-
-
-function runTest() {
-   nodereplacechild35();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.xhtml b/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.xhtml
deleted file mode 100644 (file)
index 2e6721c..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodereplacechild35.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild36-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodereplacechild36-expected.txt
deleted file mode 100644 (file)
index 9199e01..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild36
-Status Success
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.js b/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.js
deleted file mode 100644 (file)
index fea225b..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild36";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using replaceChild on a new Attr node, replace its new EntityRefernece node with a 
-       new Text Node and verify if a NOT_FOUND_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild36() {
-   var success;
-    if(checkInitialization(builder, "nodereplacechild36") != null) return;
-    var doc;
-      var parent;
-      var oldChild;
-      var newChild;
-      var nodeValue;
-      var replaced;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      parent = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
-      oldChild = doc.createEntityReference("delta");
-      newChild = doc.createTextNode("Text");
-      
-       {
-               success = false;
-               try {
-            replaced = parent.replaceChild(newChild,oldChild);
-        }
-               catch(ex) {
-      success = (typeof(ex.code) != 'undefined' && ex.code == 8);
-               }
-               assertTrue("throw_NOT_FOUND_ERR",success);
-       }
-
-}
-
-
-
-
-function runTest() {
-   nodereplacechild36();
-}
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.xhtml b/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.xhtml
deleted file mode 100644 (file)
index caa880b..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-   "xhtml1-strict.dtd" [
-   <!ENTITY alpha "&#945;">
-   <!ENTITY beta "&#946;">
-   <!ENTITY gamma "&#947;">
-   <!ENTITY delta "&#948;">
-   <!ENTITY epsilon "&#949;">
-   <!ENTITY alpha "&#950;">
-   <!NOTATION notation1 PUBLIC "notation1File">
-   <!NOTATION notation2 SYSTEM "notation2File">
-   <!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED>
-   <!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED>
-   <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
-   <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
-   <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodereplacechild36.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0001</em>
-  <strong>Margaret Martin</strong>
-  <code>Accountant</code>
-  <sup>56,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
-  <em>EMP0002</em>
-  <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
-  <code>Secretary</code>
-  <sup>35,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
-  <em>EMP0003</em>
-  <strong>Roger
- Jones</strong>
-  <code>Department Manager</code>
-  <sup>100,000</sup>
-  <var>&ent4;</var>
-  <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
-  <em>EMP0004</em>
-  <strong>Jeny Oconnor</strong>
-  <code>Personnel Director</code>
-  <sup>95,000</sup>
-  <var>Female</var>
-  <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
-  <em>EMP0005</em>
-  <strong>Robert Myers</strong>
-  <code>Computer Specialist</code>
-  <sup>90,000</sup>
-  <var>male</var>
-  <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild37-expected.txt b/LayoutTests/dom/xhtml/level3/core/nodereplacechild37-expected.txt
deleted file mode 100644 (file)
index b2c1aa5..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild37
-Status failure
-Message        throw_WRONG_DOCUMENT_ERR: assertTrue failed
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js b/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js
deleted file mode 100644 (file)
index 4fd0264..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] 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. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild37";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "hc_staff");
-        
-      var doc2Ref = null;
-      if (typeof(this.doc2) != 'undefined') {
-        doc2Ref = this.doc2;
-      }
-      docsLoaded += preload(doc2Ref, "doc2", "hc_staff");
-        
-       if (docsLoaded == 2) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-       catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 2) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-       Using replaceChild on a new Attr node, replace its new Text node with a 
-       new EntityReference Node created by another document and verify if a 
-       WRONG_DOCUMENT_ERR is raised.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild37() {
-   var success;
-    if(checkInitialization(builder, "nodereplacechild37") != null) return;
-    var doc;
-      var doc2;
-      var parent;
-      var oldChild;
-      var newChild;
-      var nodeValue;
-      var replaced;
-      var appendedChild;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "hc_staff");
-      
-      var