summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/dom-level2-core/files/staffNS.svg
blob: 7a7c26ee8981041d1024d38f1ba107b4a39237fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?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>