Permalink
Browse files

82% passing (no level2 :/) fixing issues where node is trying to requ…

…ire .xml files
  • Loading branch information...
1 parent e5728a8 commit 90dd215f1ce5ec87c68fa9f18f2639ce34da5bec @tmpvar committed Aug 12, 2010
View
@@ -175,6 +175,6 @@ exports.tests = {
doc.documentElement.style.backgroundColor = 'white';
assertEquals('',
'<html style="color: black; background-color: white">\r\n</html>\r\n',
- require('jsdom/browser/domtohtml').domToHtml(doc));
+ require(__dirname + '/../../lib/jsdom/browser/domtohtml').domToHtml(doc));
}
};
@@ -1,4 +1,4 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
+/*<?xml version="1.0"?><?TEST-STYLE PIDATA?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"xhtml1-strict.dtd" [
@@ -17,7 +17,7 @@
<p>
<em>EMP0001</em>
<strong>Margaret Martin</strong>
- <code>Accountant</code>
+ <code>Accountant</code>
<sup>56,000</sup>
<var>Female</var>
<acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
@@ -57,4 +57,4 @@ This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
<var>male</var>
<acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
</p>
-</body></html>
+</body></html>*/
@@ -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="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 &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>
@@ -1,4 +1,4 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
+/*<?xml version="1.0"?><?TEST-STYLE PIDATA?>
<!DOCTYPE staff SYSTEM "staff.dtd" [
<!ENTITY ent1 "es">
<!ENTITY ent2 "1900 Dallas Road">
@@ -14,7 +14,7 @@
<employee>
<employeeId>EMP0001</employeeId>
<name>Margaret Martin</name>
- <position>Accountant</position>
+ <position>Accountant</position>
<salary>56,000</salary>
<gender>Female</gender>
<address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address>
@@ -54,4 +54,4 @@
<gender>male</gender>
<address street="Yes">1821 Nordic. Road, Irving Texas 98558</address>
</employee>
- </staff>
+ </staff>*/
@@ -1,13 +1,13 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
+/*<?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>
+ <position>Accountant</position>
<salary>56,000</salary>
<gender>Female</gender>
<address>1230 North Ave. Dallas, Texas 98551</address>
</employee>
- </staff>
+ </staff>*/
@@ -1,5 +1,5 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE staff PUBLIC "STAFF" "staffNS.dtd"
+/*<?xml version="1.0"?><?TEST-STYLE PIDATA?>
+<!DOCTYPE staff PUBLIC "STAFF" "staffNS.dtd"
[
<!ENTITY ent1 "es">
<!ENTITY ent2 "1900 Dallas Road">
@@ -16,7 +16,7 @@
<employee xmlns="http://www.nist.gov" xmlns:dmstc="http://www.usa.com">
<employeeId>EMP0001</employeeId>
<name>Margaret Martin</name>
- <position>Accountant</position>
+ <position>Accountant</position>
<salary>56,000</salary>
<gender>Female</gender>
<address dmstc:domestic="Yes">1230 North Ave. Dallas, Texas 98551</address>
@@ -56,4 +56,4 @@
<gender>male</gender>
<address street="Yes" xmlns="http://www.nist.gov">1821 Nordic. Road, Irving Texas 98558</address>
</employee>
- </staff>
+ </staff>*/

0 comments on commit 90dd215

Please sign in to comment.