dom/tests/mochitest/dom-level1-core/files/staff.svg

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 <?xml version="1.0"?><?TEST-STYLE PIDATA?>
michael@0 2 <!DOCTYPE svg SYSTEM "staff.dtd" [
michael@0 3 <!ENTITY ent1 "es">
michael@0 4 <!ENTITY ent2 "1900 Dallas Road">
michael@0 5 <!ENTITY ent3 "Texas">
michael@0 6 <!ENTITY ent4 "<entElement domestic='Yes'>Element data</entElement><?PItarget PIdata?>">
michael@0 7 <!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1>
michael@0 8 <!ENTITY ent1 "This entity should be discarded">
michael@0 9 <!NOTATION notation1 PUBLIC "notation1File">
michael@0 10 <!NOTATION notation2 SYSTEM "notation2File">
michael@0 11 <!ATTLIST employee xmlns CDATA #IMPLIED>
michael@0 12 <!ELEMENT svg (rect, script, employee+)>
michael@0 13 <!ATTLIST svg
michael@0 14 xmlns CDATA #FIXED "http://www.w3.org/2000/svg"
michael@0 15 name CDATA #IMPLIED>
michael@0 16 <!ELEMENT rect EMPTY>
michael@0 17 <!ATTLIST rect
michael@0 18 x CDATA #REQUIRED
michael@0 19 y CDATA #REQUIRED
michael@0 20 width CDATA #REQUIRED
michael@0 21 height CDATA #REQUIRED>
michael@0 22 <!ELEMENT script (#PCDATA)>
michael@0 23 <!ATTLIST script type CDATA #IMPLIED>
michael@0 24 <!ENTITY svgunit SYSTEM "svgunit.js">
michael@0 25 <!ENTITY svgtest SYSTEM "svgtest.js">
michael@0 26 ]>
michael@0 27 <!-- This is comment number 1.-->
michael@0 28 <svg xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="100" height="100"/><script type="text/ecmascript">&svgunit;&svgtest;</script>
michael@0 29 <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files">
michael@0 30 <employeeId>EMP0001</employeeId>
michael@0 31 <name>Margaret Martin</name>
michael@0 32 <position>Accountant</position>
michael@0 33 <salary>56,000</salary>
michael@0 34 <gender>Female</gender>
michael@0 35 <address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address>
michael@0 36 </employee>
michael@0 37 <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files">
michael@0 38 <employeeId>EMP0002</employeeId>
michael@0 39 <name>Martha Raynolds<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
michael@0 40 <![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></name>
michael@0 41 <position>Secretary</position>
michael@0 42 <salary>35,000</salary>
michael@0 43 <gender>Female</gender>
michael@0 44 <address domestic="Yes" street="Yes">&ent2; Dallas, &ent3;
michael@0 45 98554</address>
michael@0 46 </employee>
michael@0 47 <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files">
michael@0 48 <employeeId>EMP0003</employeeId>
michael@0 49 <name>Roger
michael@0 50 Jones</name>
michael@0 51 <position>Department Manager</position>
michael@0 52 <salary>100,000</salary>
michael@0 53 <gender>&ent4;</gender>
michael@0 54 <address domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address>
michael@0 55 </employee>
michael@0 56 <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files">
michael@0 57 <employeeId>EMP0004</employeeId>
michael@0 58 <name>Jeny Oconnor</name>
michael@0 59 <position>Personnel Director</position>
michael@0 60 <salary>95,000</salary>
michael@0 61 <gender>Female</gender>
michael@0 62 <address domestic="Yes" street="Y&ent1;">27 South Road. Dallas, Texas 98556</address>
michael@0 63 </employee>
michael@0 64 <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files">
michael@0 65 <employeeId>EMP0005</employeeId>
michael@0 66 <name>Robert Myers</name>
michael@0 67 <position>Computer Specialist</position>
michael@0 68 <salary>90,000</salary>
michael@0 69 <gender>male</gender>
michael@0 70 <address street="Yes">1821 Nordic. Road, Irving Texas 98558</address>
michael@0 71 </employee>
michael@0 72 </svg>

mercurial