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