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