diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 18:28:14 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 18:28:14 -0800 |
commit | 1c0fed63c71ddb230f3b304aac12caffbedf2f21 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /dom/src/test/resources | |
parent | 2fb02ef3025449e24e756a7f645ea6eab7a1fd4f (diff) | |
download | libcore-1c0fed63c71ddb230f3b304aac12caffbedf2f21.zip libcore-1c0fed63c71ddb230f3b304aac12caffbedf2f21.tar.gz libcore-1c0fed63c71ddb230f3b304aac12caffbedf2f21.tar.bz2 |
auto import from //depot/cupcake/@135843
Diffstat (limited to 'dom/src/test/resources')
25 files changed, 0 insertions, 862 deletions
diff --git a/dom/src/test/resources/META-INF/MANIFEST.MF b/dom/src/test/resources/META-INF/MANIFEST.MF deleted file mode 100644 index aaf3eba..0000000 --- a/dom/src/test/resources/META-INF/MANIFEST.MF +++ /dev/null @@ -1,16 +0,0 @@ -Manifest-Version: 2.0
-Class-Path: dom3-xml-apis.jar dom3-xercesImpl.jar xmlParserAPIs.jar x
- ercesImpl.jar xerces.jar xml4j.jar xmlparserv2.jar crimson.jar parser
- .jar jaxp.jar xml-apis.jar gnujaxp.jar dom4j-full.jar batik-svg-dom.j
- ar crimson-parser.jar avalon-run.jar
-Created-By: 1.4.2_04 (Sun Microsystems Inc.)
-Main-Class: org.w3c.domts.level2.core.alltests
-
-Name: org/w3c/domts/level2/core
-Implementation-Title: W3C/NIST Test Suite for DOM Level 2 Core
-Specification-Title: W3C/NIST Test Suite for DOM Level 2 Core
-Specification-Version: 0.0.1
-Specification-Vendor: World Wide Web Consortium
-Implementation-Version: 0.0.1
-Implementation-Vendor: World Wide Web Consortium
-
diff --git a/dom/src/test/resources/build.xml b/dom/src/test/resources/build.xml deleted file mode 100644 index 50060e0..0000000 --- a/dom/src/test/resources/build.xml +++ /dev/null @@ -1,106 +0,0 @@ -<!-- JUnit build script using ant 1.3 -->
-<project name="junit" default="dist" basedir=".">
- <target name="init">
- <tstamp/>
- <property name="version" value="3.7" />
- <property name="dist" value="junit${version}" />
- <property name="versionfile" value="junit/runner/Version.java" />
- <property name="zipfile" value="${dist}.zip" />
- </target>
-
- <target name="versiontag" depends="init">
- <filter token="version" value="${version}" />
- <copy
- file="${versionfile}"
- tofile="${versionfile}tmp"
- filtering="on"
- />
- <move file="${versionfile}tmp" tofile="${versionfile}" />
- </target>
-
- <target name="build" depends="versiontag">
- <javac
- srcdir="."
- destdir="."
- debug="on"
- />
- </target>
-
- <target name="dist" depends="build">
- <delete dir="${dist}" />
- <mkdir dir="${dist}" />
- <jar
- jarfile="${dist}/src.jar"
- basedir="."
- excludes="${dist}/src.jar, junit/tests/**, junit/samples/**, **/*.class, doc/**, README.html, build.xml"
- />
- <jar
- jarfile="${dist}/junit.jar"
- basedir="."
- excludes="${dist}/junit.jar, junit/tests/**, junit/samples/**, **/*.java, doc/**, README.html, jar-manifest.txt"
- />
- <copy todir="${dist}/junit/samples">
- <fileset dir="junit/samples" />
- </copy>
- <copy todir="${dist}/junit/tests">
- <fileset dir="junit/tests" />
- </copy>
- <delete file="${dist}/junit/tests/test.jar"/>
- <jar
- jarfile="${dist}/junit/tests/test.jar"
- basedir="."
- includes="junit/tests/LoadedFromJar.class"
- />
- <mkdir dir="${dist}/javadoc" />
- <javadoc
- sourcepath="."
- packagenames="junit.framework.*, junit.extensions.*"
- destdir="${dist}/javadoc"
- author="false"
- version="false"
- use="false"
- windowtitle="JUnit API"
- />
- <copy todir="${dist}/doc">
- <fileset dir="doc"/>
- </copy>
- <copy file="README.html" tofile="${dist}/README.html" />
-
- <java classname="junit.textui.TestRunner" fork="yes">
- <arg value="junit.samples.AllTests" />
- <classpath>
- <pathelement location="${dist}" />
- <pathelement location="${dist}/junit.jar" />
- </classpath>
- </java>
- </target>
-
- <target name="zip">
- <!-- !!! hard code names, variable substitution doesn't work !!! -->
- <zip
- zipfile="junit3.6.zip"
- basedir="."
- includes="junit3.6/**"
- />
- </target>
-
- <target name="awtui" depends="dist">
- <java classname="junit.awtui.TestRunner" fork="yes">
- <arg value="junit.samples.AllTests" />
- <classpath>
- <pathelement location="${dist}" />
- <pathelement location="${dist}/junit.jar" />
- </classpath>
- </java>
- </target>
-
- <target name="swingui" depends="dist">
- <java classname="junit.swingui.TestRunner" fork="yes">
- <arg value="junit.samples.AllTests" />
- <classpath>
- <pathelement location="${dist}" />
- <pathelement location="${dist}/junit.jar" />
- </classpath>
- </java>
- </target>
-</project>
diff --git a/dom/src/test/resources/hc_nodtdstaff.html b/dom/src/test/resources/hc_nodtdstaff.html deleted file mode 100644 index f98d0be..0000000 --- a/dom/src/test/resources/hc_nodtdstaff.html +++ /dev/null @@ -1,10 +0,0 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>hc_nodtdstaff</title></head><body onload="parent.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> -</body></html> diff --git a/dom/src/test/resources/hc_nodtdstaff.svg b/dom/src/test/resources/hc_nodtdstaff.svg deleted file mode 100644 index 89f26f6..0000000 --- a/dom/src/test/resources/hc_nodtdstaff.svg +++ /dev/null @@ -1,10 +0,0 @@ -<svg xmlns='http://www.w3.org/2000/svg'><rect x="0" y="0" width="100" height="100"/><head xmlns='http://www.w3.org/1999/xhtml'><title>hc_nodtdstaff</title></head><body xmlns='http://www.w3.org/1999/xhtml'> - <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> -</body></svg> diff --git a/dom/src/test/resources/hc_nodtdstaff.xhtml b/dom/src/test/resources/hc_nodtdstaff.xhtml deleted file mode 100644 index 8a5d8a8..0000000 --- a/dom/src/test/resources/hc_nodtdstaff.xhtml +++ /dev/null @@ -1,10 +0,0 @@ -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>hc_nodtdstaff</title></head><body onload="parent.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> -</body></html> diff --git a/dom/src/test/resources/hc_nodtdstaff.xml b/dom/src/test/resources/hc_nodtdstaff.xml deleted file mode 100644 index 85c0693..0000000 --- a/dom/src/test/resources/hc_nodtdstaff.xml +++ /dev/null @@ -1,10 +0,0 @@ -<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_nodtdstaff</title></head><body onload="parent.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> -</body></html> diff --git a/dom/src/test/resources/hc_staff.html b/dom/src/test/resources/hc_staff.html deleted file mode 100644 index 9acf750..0000000 --- a/dom/src/test/resources/hc_staff.html +++ /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="svgunit.js"></script><script charset="UTF-8" type="text/javascript" src="svgtest.js"></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="parent.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 &ent2; -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">β Dallas, γ - 98554</acronym> - </p> - <p> - <em>EMP0003</em> - <strong>Roger - Jones</strong> - <code>Department Manager</code> - <sup>100,000</sup> - <var>δ</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α">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/dom/src/test/resources/hc_staff.svg b/dom/src/test/resources/hc_staff.svg deleted file mode 100644 index cd0cc47..0000000 --- a/dom/src/test/resources/hc_staff.svg +++ /dev/null @@ -1,72 +0,0 @@ -<?xml version="1.0"?><?TEST-STYLE PIDATA?> -<!DOCTYPE svg - PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "xhtml1-strict.dtd" [ - <!ENTITY alpha "α"> - <!ENTITY beta "β"> - <!ENTITY gamma "γ"> - <!ENTITY delta "δ"> - <!ENTITY epsilon "ε"> - <!ENTITY alpha "ζ"> - <!NOTATION notation1 PUBLIC "notation1File"> - <!NOTATION notation2 SYSTEM "notation2File"> - <!ATTLIST acronym dir CDATA "ltr"> - <!ATTLIST head xmlns CDATA #IMPLIED> - <!ATTLIST body xmlns CDATA #IMPLIED> - <!ELEMENT svg (rect, script, head, body)> - <!ATTLIST svg xmlns CDATA #IMPLIED> - <!ELEMENT rect EMPTY> - <!ATTLIST rect - x CDATA #IMPLIED - y CDATA #IMPLIED - width CDATA #IMPLIED - height CDATA #IMPLIED> - <!ENTITY svgunit SYSTEM "svgunit.js"> - <!ENTITY svgtest SYSTEM "svgtest.js"> -]> -<!-- This is comment number 1.--> -<svg xmlns='http://www.w3.org/2000/svg'><rect x="0" y="0" width="100" height="100"/><script type="text/ecmascript">&svgtest;&svgunit;</script><head xmlns='http://www.w3.org/1999/xhtml'><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title></head><body xmlns='http://www.w3.org/1999/xhtml'> - <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 &ent2; -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">β Dallas, γ - 98554</acronym> - </p> - <p> - <em>EMP0003</em> - <strong>Roger - Jones</strong> - <code>Department Manager</code> - <sup>100,000</sup> - <var>δ</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α">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></svg> diff --git a/dom/src/test/resources/hc_staff.xhtml b/dom/src/test/resources/hc_staff.xhtml deleted file mode 100644 index 2df9a74..0000000 --- a/dom/src/test/resources/hc_staff.xhtml +++ /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 "α"> - <!ENTITY beta "β"> - <!ENTITY gamma "γ"> - <!ENTITY delta "δ"> - <!ENTITY epsilon "ε"> - <!ENTITY alpha "ζ"> - <!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="svgunit.js"/><script charset="UTF-8" type="text/javascript" src="svgtest.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="parent.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 &ent2; -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">β Dallas, γ - 98554</acronym> - </p> - <p> - <em>EMP0003</em> - <strong>Roger - Jones</strong> - <code>Department Manager</code> - <sup>100,000</sup> - <var>δ</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α">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/dom/src/test/resources/hc_staff.xml b/dom/src/test/resources/hc_staff.xml deleted file mode 100644 index 2df9a74..0000000 --- a/dom/src/test/resources/hc_staff.xml +++ /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 "α"> - <!ENTITY beta "β"> - <!ENTITY gamma "γ"> - <!ENTITY delta "δ"> - <!ENTITY epsilon "ε"> - <!ENTITY alpha "ζ"> - <!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="svgunit.js"/><script charset="UTF-8" type="text/javascript" src="svgtest.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="parent.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 &ent2; -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">β Dallas, γ - 98554</acronym> - </p> - <p> - <em>EMP0003</em> - <strong>Roger - Jones</strong> - <code>Department Manager</code> - <sup>100,000</sup> - <var>δ</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α">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/dom/src/test/resources/internalSubset01.js b/dom/src/test/resources/internalSubset01.js deleted file mode 100644 index e69de29..0000000 --- a/dom/src/test/resources/internalSubset01.js +++ /dev/null diff --git a/dom/src/test/resources/nodtdstaff.svg b/dom/src/test/resources/nodtdstaff.svg deleted file mode 100644 index 01aa823..0000000 --- a/dom/src/test/resources/nodtdstaff.svg +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<svg xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="100" height="100"/> - <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> - <employeeId>EMP0001</employeeId> - <name>Margaret Martin</name> - <position>Accountant</position> - <salary>56,000</salary> - <gender>Female</gender> - <address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address> - </employee> -</svg> diff --git a/dom/src/test/resources/nodtdstaff.xml b/dom/src/test/resources/nodtdstaff.xml deleted file mode 100644 index 054a5e1..0000000 --- a/dom/src/test/resources/nodtdstaff.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<staff> - <employee> - <employeeId>EMP0001</employeeId> - <name>Margaret Martin</name> - <position>Accountant</position> - <salary>56,000</salary> - <gender>Female</gender> - <address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address> - </employee> -</staff> diff --git a/dom/src/test/resources/staff.dtd b/dom/src/test/resources/staff.dtd deleted file mode 100644 index 02a994d..0000000 --- a/dom/src/test/resources/staff.dtd +++ /dev/null @@ -1,17 +0,0 @@ -<!ELEMENT employeeId (#PCDATA)> -<!ELEMENT name (#PCDATA)> -<!ELEMENT position (#PCDATA)> -<!ELEMENT salary (#PCDATA)> -<!ELEMENT address (#PCDATA)> -<!ELEMENT entElement ( #PCDATA ) > -<!ELEMENT gender ( #PCDATA | entElement )* > -<!ELEMENT employee (employeeId, name, position, salary, gender, address) > -<!ELEMENT staff (employee)+> -<!ATTLIST entElement - attr1 CDATA "Attr"> -<!ATTLIST address - domestic CDATA #IMPLIED - street CDATA "Yes"> -<!ATTLIST entElement - domestic CDATA "MALE" > - diff --git a/dom/src/test/resources/staff.svg b/dom/src/test/resources/staff.svg deleted file mode 100644 index fd67323..0000000 --- a/dom/src/test/resources/staff.svg +++ /dev/null @@ -1,72 +0,0 @@ -<?xml version="1.0"?><?TEST-STYLE PIDATA?> -<!DOCTYPE svg SYSTEM "staff.dtd" [ - <!ENTITY ent1 "es"> - <!ENTITY ent2 "1900 Dallas Road"> - <!ENTITY ent3 "Texas"> - <!ENTITY ent4 "<entElement domestic='Yes'>Element data</entElement><?PItarget PIdata?>"> - <!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1> - <!ENTITY ent1 "This entity should be discarded"> - <!NOTATION notation1 PUBLIC "notation1File"> - <!NOTATION notation2 SYSTEM "notation2File"> - <!ATTLIST employee xmlns CDATA #IMPLIED> - <!ELEMENT svg (rect, script, employee+)> - <!ATTLIST svg - xmlns CDATA #FIXED "http://www.w3.org/2000/svg" - name CDATA #IMPLIED> - <!ELEMENT rect EMPTY> - <!ATTLIST rect - x CDATA #REQUIRED - y CDATA #REQUIRED - width CDATA #REQUIRED - height CDATA #REQUIRED> - <!ELEMENT script (#PCDATA)> - <!ATTLIST script type CDATA #IMPLIED> - <!ENTITY svgunit SYSTEM "svgunit.js"> - <!ENTITY svgtest SYSTEM "svgtest.js"> -]> -<!-- This is comment number 1.--> -<svg xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="100" height="100"/><script type="text/ecmascript">&svgtest;&svgunit;</script> - <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> - <employeeId>EMP0001</employeeId> - <name>Margaret Martin</name> - <position>Accountant</position> - <salary>56,000</salary> - <gender>Female</gender> - <address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address> - </employee> - <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> - <employeeId>EMP0002</employeeId> - <name>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;]]></name> - <position>Secretary</position> - <salary>35,000</salary> - <gender>Female</gender> - <address domestic="Yes" street="Yes">&ent2; Dallas, &ent3; - 98554</address> - </employee> - <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> - <employeeId>EMP0003</employeeId> - <name>Roger - Jones</name> - <position>Department Manager</position> - <salary>100,000</salary> - <gender>&ent4;</gender> - <address domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address> - </employee> - <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> - <employeeId>EMP0004</employeeId> - <name>Jeny Oconnor</name> - <position>Personnel Director</position> - <salary>95,000</salary> - <gender>Female</gender> - <address domestic="Yes" street="Y&ent1;">27 South Road. Dallas, Texas 98556</address> - </employee> - <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> - <employeeId>EMP0005</employeeId> - <name>Robert Myers</name> - <position>Computer Specialist</position> - <salary>90,000</salary> - <gender>male</gender> - <address street="Yes">1821 Nordic. Road, Irving Texas 98558</address> - </employee> - </svg> diff --git a/dom/src/test/resources/staff.xml b/dom/src/test/resources/staff.xml deleted file mode 100644 index f89c510..0000000 --- a/dom/src/test/resources/staff.xml +++ /dev/null @@ -1,57 +0,0 @@ -<?xml version="1.0"?><?TEST-STYLE PIDATA?> -<!DOCTYPE staff SYSTEM "staff.dtd" [ - <!ENTITY ent1 "es"> - <!ENTITY ent2 "1900 Dallas Road"> - <!ENTITY ent3 "Texas"> - <!ENTITY ent4 "<entElement domestic='Yes'>Element data</entElement><?PItarget PIdata?>"> - <!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1> - <!ENTITY ent1 "This entity should be discarded"> - <!NOTATION notation1 PUBLIC "notation1File"> - <!NOTATION notation2 SYSTEM "notation2File"> -]> -<!-- This is comment number 1.--> -<staff> - <employee> - <employeeId>EMP0001</employeeId> - <name>Margaret Martin</name> - <position>Accountant</position> - <salary>56,000</salary> - <gender>Female</gender> - <address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address> - </employee> - <employee> - <employeeId>EMP0002</employeeId> - <name>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;]]></name> - <position>Secretary</position> - <salary>35,000</salary> - <gender>Female</gender> - <address domestic="Yes" street="Yes">&ent2; Dallas, &ent3; - 98554</address> - </employee> - <employee> - <employeeId>EMP0003</employeeId> - <name>Roger - Jones</name> - <position>Department Manager</position> - <salary>100,000</salary> - <gender>&ent4;</gender> - <address domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address> - </employee> - <employee> - <employeeId>EMP0004</employeeId> - <name>Jeny Oconnor</name> - <position>Personnel Director</position> - <salary>95,000</salary> - <gender>Female</gender> - <address domestic="Yes" street="Y&ent1;">27 South Road. Dallas, Texas 98556</address> - </employee> - <employee> - <employeeId>EMP0005</employeeId> - <name>Robert Myers</name> - <position>Computer Specialist</position> - <salary>90,000</salary> - <gender>male</gender> - <address street="Yes">1821 Nordic. Road, Irving Texas 98558</address> - </employee> - </staff> diff --git a/dom/src/test/resources/staff2.dtd b/dom/src/test/resources/staff2.dtd deleted file mode 100644 index 0bac8f2..0000000 --- a/dom/src/test/resources/staff2.dtd +++ /dev/null @@ -1,24 +0,0 @@ -<!ELEMENT employeeId (#PCDATA)> -<!ELEMENT name (#PCDATA)> -<!ELEMENT position (#PCDATA)> -<!ELEMENT salary (#PCDATA)> -<!ELEMENT address (#PCDATA)> -<!ELEMENT gender ( #PCDATA)> -<!ELEMENT employee (employeeId, name, position, salary, gender, address) > -<!ATTLIST employee xmlns CDATA #IMPLIED> -<!ELEMENT staff (employee)+> -<!ELEMENT svg (rect, script, employee+)> -<!ATTLIST svg - xmlns CDATA #FIXED "http://www.w3.org/2000/svg" - name CDATA #IMPLIED> -<!ELEMENT rect EMPTY> -<!ATTLIST rect - x CDATA #REQUIRED - y CDATA #REQUIRED - width CDATA #REQUIRED - height CDATA #REQUIRED> -<!ELEMENT script (#PCDATA)> -<!ATTLIST script type CDATA #IMPLIED> -<!ENTITY svgunit SYSTEM "svgunit.js"> -<!ENTITY svgtest SYSTEM "internalSubset01.js"> - diff --git a/dom/src/test/resources/staff2.svg b/dom/src/test/resources/staff2.svg deleted file mode 100644 index 6f89dad..0000000 --- a/dom/src/test/resources/staff2.svg +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE svg SYSTEM "staff2.dtd" []>
-<!-- This is comment number 1.-->
-<svg xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="100" height="100"/><script type="text/ecmascript">&svgtest;&svgunit;</script>
- <employee xmlns="http://www.example.com">
- <employeeId>EMP0001</employeeId>
- <name>Margaret Martin</name>
- <position>Accountant</position>
- <salary>56,000</salary>
- <gender>Female</gender>
- <address>1230 North Ave. Dallas, Texas 98551</address>
- </employee>
- </svg>
diff --git a/dom/src/test/resources/staff2.xml b/dom/src/test/resources/staff2.xml deleted file mode 100644 index d3d9a13..0000000 --- a/dom/src/test/resources/staff2.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?><?TEST-STYLE PIDATA?> -<!DOCTYPE staff SYSTEM "staff2.dtd" []> -<!-- This is comment number 1.--> -<staff> - <employee> - <employeeId>EMP0001</employeeId> - <name>Margaret Martin</name> - <position>Accountant</position> - <salary>56,000</salary> - <gender>Female</gender> - <address>1230 North Ave. Dallas, Texas 98551</address> - </employee> - </staff> diff --git a/dom/src/test/resources/staffNS.dtd b/dom/src/test/resources/staffNS.dtd deleted file mode 100644 index 7643773..0000000 --- a/dom/src/test/resources/staffNS.dtd +++ /dev/null @@ -1,45 +0,0 @@ -<!ELEMENT staff (employee+,emp:employee,employee) > -<!ELEMENT employee (employeeId,name,position,salary,gender,address) > -<!ATTLIST employee xmlns CDATA #IMPLIED> -<!ATTLIST employee xmlns:dmstc CDATA #IMPLIED> -<!ATTLIST employee xmlns:emp2 CDATA #IMPLIED> - -<!ELEMENT employeeId (#PCDATA) > - -<!ELEMENT name (#PCDATA) > - -<!ELEMENT position (#PCDATA) > - -<!ELEMENT salary (#PCDATA) > - -<!ELEMENT entElement1 (#PCDATA) > -<!ELEMENT gender (#PCDATA | entElement1)* > -<!ATTLIST entElement1 xmlns:local1 CDATA #IMPLIED > - -<!ELEMENT address (#PCDATA) > -<!ATTLIST address dmstc:domestic CDATA #IMPLIED> -<!ATTLIST address street CDATA #IMPLIED> -<!ATTLIST address domestic CDATA #IMPLIED> -<!ATTLIST address xmlns CDATA #IMPLIED> - -<!ELEMENT emp:employee (emp:employeeId,nm:name,emp:position,emp:salary,emp:gender,emp:address) > -<!ATTLIST emp:employee xmlns:emp CDATA #IMPLIED> -<!ATTLIST emp:employee xmlns:nm CDATA #IMPLIED> -<!ATTLIST emp:employee defaultAttr CDATA 'defaultVal'> - -<!ELEMENT emp:employeeId (#PCDATA) > - -<!ELEMENT nm:name (#PCDATA) > - -<!ELEMENT emp:position (#PCDATA) > - -<!ELEMENT emp:salary (#PCDATA) > - -<!ELEMENT emp:gender (#PCDATA) > - -<!ELEMENT emp:address (#PCDATA) > -<!ATTLIST emp:address emp:domestic CDATA #IMPLIED> -<!ATTLIST emp:address street CDATA #IMPLIED> -<!ATTLIST emp:address emp:zone ID #IMPLIED> -<!ATTLIST emp:address emp:district CDATA 'DISTRICT'> -<!ATTLIST emp:address emp:local1 CDATA 'FALSE'> diff --git a/dom/src/test/resources/staffNS.svg b/dom/src/test/resources/staffNS.svg deleted file mode 100644 index 7a7c26e..0000000 --- a/dom/src/test/resources/staffNS.svg +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version="1.0"?><?TEST-STYLE PIDATA?> -<!DOCTYPE svg PUBLIC "STAFF" "staffNS.dtd" -[ - <!ENTITY ent1 "es"> - <!ENTITY ent2 "1900 Dallas Road"> - <!ENTITY ent3 "Texas"> - <!ENTITY ent4 "<entElement1 xmlns:local1='www.xyz.com'>Element data</entElement1><?PItarget PIdata?>"> - <!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1> - <!ENTITY ent6 PUBLIC "uri" "file" NDATA notation2> - <!ENTITY ent1 "This entity should be discarded"> - <!NOTATION notation1 PUBLIC "notation1File"> - <!NOTATION notation2 SYSTEM "notation2File"> - <!ELEMENT svg (rect, script, employee+, emp:employee, employee*)> - <!ATTLIST svg - xmlns CDATA #FIXED "http://www.w3.org/2000/svg" - name CDATA #IMPLIED> - <!ELEMENT rect EMPTY> - <!ATTLIST rect - x CDATA #REQUIRED - y CDATA #REQUIRED - width CDATA #REQUIRED - height CDATA #REQUIRED> - <!ELEMENT script (#PCDATA)> - <!ATTLIST script type CDATA #IMPLIED> - <!ENTITY svgunit SYSTEM "svgunit.js"> - <!ENTITY svgtest SYSTEM "svgtest.js"> -]> -<!-- This is comment number 1.--> -<svg xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="100" height="100"/><script type="text/ecmascript">&svgtest;&svgunit;</script> - <employee xmlns="http://www.nist.gov" xmlns:dmstc="http://www.usa.com"> - <employeeId>EMP0001</employeeId> - <name>Margaret Martin</name> - <position>Accountant</position> - <salary>56,000</salary> - <gender>Female</gender> - <address dmstc:domestic="Yes">1230 North Ave. Dallas, Texas 98551</address> - </employee> - <employee xmlns:dmstc="http://www.usa.com" xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2/Files"> - <employeeId>EMP0002</employeeId> - <name>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;]]></name> - <position>Secretary</position> - <salary>35,000</salary> - <gender>Female</gender> - <address dmstc:domestic="Yes" street="Yes">&ent2; Dallas, &ent3; - 98554</address> - </employee> - <employee xmlns:dmstc="http://www.netzero.com" xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2/Files"> - <employeeId>EMP0003</employeeId> - <name>Roger - Jones</name> - <position>Department Manager</position> - <salary>100,000</salary> - <gender>&ent4;</gender> - <address dmstc:domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address> - </employee> - <emp:employee xmlns:emp="http://www.nist.gov" xmlns:nm="http://www.altavista.com" > <emp:employeeId>EMP0004</emp:employeeId> - <nm:name>Jeny Oconnor</nm:name> - <emp:position>Personnel Director</emp:position> - <emp:salary>95,000</emp:salary> - <emp:gender>Female</emp:gender> - <emp:address emp:domestic="Yes" street="Y&ent1;" emp:zone="CANADA" emp:local1="TRUE">27 South Road. Dallas, texas 98556</emp:address> - </emp:employee> - <employee xmlns:emp2="http://www.nist.gov" xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2/Files"> - <employeeId>EMP0005</employeeId> - <name>Robert Myers</name> - <position>Computer Specialist</position> - <salary>90,000</salary> - <gender>male</gender> - <address street="Yes" xmlns="http://www.nist.gov">1821 Nordic. Road, Irving Texas 98558</address> - </employee> - </svg> diff --git a/dom/src/test/resources/staffNS.xml b/dom/src/test/resources/staffNS.xml deleted file mode 100644 index 1cb1459..0000000 --- a/dom/src/test/resources/staffNS.xml +++ /dev/null @@ -1,59 +0,0 @@ -<?xml version="1.0"?><?TEST-STYLE PIDATA?> -<!DOCTYPE staff PUBLIC "STAFF" "staffNS.dtd" -[ - <!ENTITY ent1 "es"> - <!ENTITY ent2 "1900 Dallas Road"> - <!ENTITY ent3 "Texas"> - <!ENTITY ent4 "<entElement1 xmlns:local1='www.xyz.com'>Element data</entElement1><?PItarget PIdata?>"> - <!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1> - <!ENTITY ent6 PUBLIC "uri" "file" NDATA notation2> - <!ENTITY ent1 "This entity should be discarded"> - <!NOTATION notation1 PUBLIC "notation1File"> - <!NOTATION notation2 SYSTEM "notation2File"> -]> -<!-- This is comment number 1.--> -<staff> - <employee xmlns="http://www.nist.gov" xmlns:dmstc="http://www.usa.com"> - <employeeId>EMP0001</employeeId> - <name>Margaret Martin</name> - <position>Accountant</position> - <salary>56,000</salary> - <gender>Female</gender> - <address dmstc:domestic="Yes">1230 North Ave. Dallas, Texas 98551</address> - </employee> - <employee xmlns:dmstc="http://www.usa.com"> - <employeeId>EMP0002</employeeId> - <name>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;]]></name> - <position>Secretary</position> - <salary>35,000</salary> - <gender>Female</gender> - <address dmstc:domestic="Yes" street="Yes">&ent2; Dallas, &ent3; - 98554</address> - </employee> - <employee xmlns:dmstc="http://www.netzero.com"> - <employeeId>EMP0003</employeeId> - <name>Roger - Jones</name> - <position>Department Manager</position> - <salary>100,000</salary> - <gender>&ent4;</gender> - <address dmstc:domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address> - </employee> - <emp:employee xmlns:emp="http://www.nist.gov" xmlns:nm="http://www.altavista.com" > <emp:employeeId>EMP0004</emp:employeeId> - <nm:name>Jeny Oconnor</nm:name> - <emp:position>Personnel Director</emp:position> - <emp:salary>95,000</emp:salary> - <emp:gender>Female</emp:gender> - <emp:address emp:domestic="Yes" street="Y&ent1;" emp:zone="CANADA" emp:local1="TRUE">27 South Road. Dallas, texas 98556</emp:address> - </emp:employee> - <employee xmlns:emp2="http://www.nist.gov"> - <employeeId>EMP0005</employeeId> - <name>Robert Myers</name> - <position>Computer Specialist</position> - <salary>90,000</salary> - <gender>male</gender> - <address street="Yes" xmlns="http://www.nist.gov">1821 Nordic. Road, Irving Texas 98558</address> - </employee> - </staff> diff --git a/dom/src/test/resources/svgtest.js b/dom/src/test/resources/svgtest.js deleted file mode 100644 index e69de29..0000000 --- a/dom/src/test/resources/svgtest.js +++ /dev/null diff --git a/dom/src/test/resources/svgunit.js b/dom/src/test/resources/svgunit.js deleted file mode 100644 index e69de29..0000000 --- a/dom/src/test/resources/svgunit.js +++ /dev/null diff --git a/dom/src/test/resources/xhtml1-strict.dtd b/dom/src/test/resources/xhtml1-strict.dtd deleted file mode 100644 index fefb77f..0000000 --- a/dom/src/test/resources/xhtml1-strict.dtd +++ /dev/null @@ -1,65 +0,0 @@ -<!--
-
-Copyright (c) 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-
-<!--
-
-This is a radically simplified DTD for use in the DOM Test Suites
-due to a XML non-conformance of one implementation in processing
-parameter entities. When that non-conformance is resolved,
-this DTD can be replaced by the normal DTD for XHTML.
-
--->
-
-
-<!ELEMENT html (head, body)>
-<!ATTLIST html xmlns CDATA #IMPLIED>
-<!ELEMENT head (meta,title,script*)>
-<!ELEMENT meta EMPTY>
-<!ATTLIST meta
- http-equiv CDATA #IMPLIED
- content CDATA #IMPLIED>
-<!ELEMENT title (#PCDATA)>
-<!ELEMENT body (p*)>
-<!ATTLIST body onload CDATA #IMPLIED>
-<!ELEMENT p (#PCDATA|em|strong|code|sup|var|acronym|abbr)*>
-<!ATTLIST p
- xmlns:dmstc CDATA #IMPLIED
- xmlns:nm CDATA #IMPLIED
- xmlns:emp2 CDATA #IMPLIED
- id ID #IMPLIED
->
-<!ELEMENT em (#PCDATA)>
-<!ELEMENT span (#PCDATA)>
-<!ELEMENT strong (#PCDATA)>
-<!ELEMENT code (#PCDATA)>
-<!ELEMENT sup (#PCDATA)>
-<!ELEMENT var (#PCDATA|span)*>
-<!ELEMENT acronym (#PCDATA)>
-<!ATTLIST acronym
- title CDATA #IMPLIED
- class CDATA #IMPLIED
- id ID #IMPLIED
->
-<!ELEMENT abbr (#PCDATA)>
-<!ATTLIST abbr
- title CDATA #IMPLIED
- class CDATA #IMPLIED
- id ID #IMPLIED
->
-<!ELEMENT script (#PCDATA)>
-<!ATTLIST script
- type CDATA #IMPLIED
- src CDATA #IMPLIED
- charset CDATA #IMPLIED>
|