1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/tests/mochitest/dom-level1-core/files/staff.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,72 @@ 1.4 +<?xml version="1.0"?><?TEST-STYLE PIDATA?> 1.5 +<!DOCTYPE svg SYSTEM "staff.dtd" [ 1.6 + <!ENTITY ent1 "es"> 1.7 + <!ENTITY ent2 "1900 Dallas Road"> 1.8 + <!ENTITY ent3 "Texas"> 1.9 + <!ENTITY ent4 "<entElement domestic='Yes'>Element data</entElement><?PItarget PIdata?>"> 1.10 + <!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1> 1.11 + <!ENTITY ent1 "This entity should be discarded"> 1.12 + <!NOTATION notation1 PUBLIC "notation1File"> 1.13 + <!NOTATION notation2 SYSTEM "notation2File"> 1.14 + <!ATTLIST employee xmlns CDATA #IMPLIED> 1.15 + <!ELEMENT svg (rect, script, employee+)> 1.16 + <!ATTLIST svg 1.17 + xmlns CDATA #FIXED "http://www.w3.org/2000/svg" 1.18 + name CDATA #IMPLIED> 1.19 + <!ELEMENT rect EMPTY> 1.20 + <!ATTLIST rect 1.21 + x CDATA #REQUIRED 1.22 + y CDATA #REQUIRED 1.23 + width CDATA #REQUIRED 1.24 + height CDATA #REQUIRED> 1.25 + <!ELEMENT script (#PCDATA)> 1.26 + <!ATTLIST script type CDATA #IMPLIED> 1.27 + <!ENTITY svgunit SYSTEM "svgunit.js"> 1.28 + <!ENTITY svgtest SYSTEM "svgtest.js"> 1.29 +]> 1.30 +<!-- This is comment number 1.--> 1.31 +<svg xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="100" height="100"/><script type="text/ecmascript">&svgunit;&svgtest;</script> 1.32 + <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> 1.33 + <employeeId>EMP0001</employeeId> 1.34 + <name>Margaret Martin</name> 1.35 + <position>Accountant</position> 1.36 + <salary>56,000</salary> 1.37 + <gender>Female</gender> 1.38 + <address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address> 1.39 + </employee> 1.40 + <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> 1.41 + <employeeId>EMP0002</employeeId> 1.42 + <name>Martha Raynolds<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]> 1.43 +<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></name> 1.44 + <position>Secretary</position> 1.45 + <salary>35,000</salary> 1.46 + <gender>Female</gender> 1.47 + <address domestic="Yes" street="Yes">&ent2; Dallas, &ent3; 1.48 + 98554</address> 1.49 + </employee> 1.50 + <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> 1.51 + <employeeId>EMP0003</employeeId> 1.52 + <name>Roger 1.53 + Jones</name> 1.54 + <position>Department Manager</position> 1.55 + <salary>100,000</salary> 1.56 + <gender>&ent4;</gender> 1.57 + <address domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address> 1.58 + </employee> 1.59 + <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> 1.60 + <employeeId>EMP0004</employeeId> 1.61 + <name>Jeny Oconnor</name> 1.62 + <position>Personnel Director</position> 1.63 + <salary>95,000</salary> 1.64 + <gender>Female</gender> 1.65 + <address domestic="Yes" street="Y&ent1;">27 South Road. Dallas, Texas 98556</address> 1.66 + </employee> 1.67 + <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> 1.68 + <employeeId>EMP0005</employeeId> 1.69 + <name>Robert Myers</name> 1.70 + <position>Computer Specialist</position> 1.71 + <salary>90,000</salary> 1.72 + <gender>male</gender> 1.73 + <address street="Yes">1821 Nordic. Road, Irving Texas 98558</address> 1.74 + </employee> 1.75 + </svg>