Thu, 22 Jan 2015 13:21:57 +0100
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 staff PUBLIC "STAFF" "staffNS.dtd" |
michael@0 | 3 | [ |
michael@0 | 4 | <!ENTITY ent1 "es"> |
michael@0 | 5 | <!ENTITY ent2 "1900 Dallas Road"> |
michael@0 | 6 | <!ENTITY ent3 "Texas"> |
michael@0 | 7 | <!ENTITY ent4 "<entElement1 xmlns:local1='www.xyz.com'>Element data</entElement1><?PItarget PIdata?>"> |
michael@0 | 8 | <!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1> |
michael@0 | 9 | <!ENTITY ent6 PUBLIC "uri" "file" NDATA notation2> |
michael@0 | 10 | <!ENTITY ent1 "This entity should be discarded"> |
michael@0 | 11 | <!NOTATION notation1 PUBLIC "notation1File"> |
michael@0 | 12 | <!NOTATION notation2 SYSTEM "notation2File"> |
michael@0 | 13 | ]> |
michael@0 | 14 | <!-- This is comment number 1.--> |
michael@0 | 15 | <staff> |
michael@0 | 16 | <employee xmlns="http://www.nist.gov" xmlns:dmstc="http://www.usa.com"> |
michael@0 | 17 | <employeeId>EMP0001</employeeId> |
michael@0 | 18 | <name>Margaret Martin</name> |
michael@0 | 19 | <position>Accountant</position> |
michael@0 | 20 | <salary>56,000</salary> |
michael@0 | 21 | <gender>Female</gender> |
michael@0 | 22 | <address dmstc:domestic="Yes">1230 North Ave. Dallas, Texas 98551</address> |
michael@0 | 23 | </employee> |
michael@0 | 24 | <employee xmlns:dmstc="http://www.usa.com"> |
michael@0 | 25 | <employeeId>EMP0002</employeeId> |
michael@0 | 26 | <name>Martha Raynolds |
michael@0 | 27 | <![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]> |
michael@0 | 28 | <![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></name> |
michael@0 | 29 | <position>Secretary</position> |
michael@0 | 30 | <salary>35,000</salary> |
michael@0 | 31 | <gender>Female</gender> |
michael@0 | 32 | <address dmstc:domestic="Yes" street="Yes">&ent2; Dallas, &ent3; |
michael@0 | 33 | 98554</address> |
michael@0 | 34 | </employee> |
michael@0 | 35 | <employee xmlns:dmstc="http://www.netzero.com"> |
michael@0 | 36 | <employeeId>EMP0003</employeeId> |
michael@0 | 37 | <name>Roger |
michael@0 | 38 | Jones</name> |
michael@0 | 39 | <position>Department Manager</position> |
michael@0 | 40 | <salary>100,000</salary> |
michael@0 | 41 | <gender>&ent4;</gender> |
michael@0 | 42 | <address dmstc:domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address> |
michael@0 | 43 | </employee> |
michael@0 | 44 | <emp:employee xmlns:emp="http://www.nist.gov" xmlns:nm="http://www.altavista.com" > <emp:employeeId>EMP0004</emp:employeeId> |
michael@0 | 45 | <nm:name>Jeny Oconnor</nm:name> |
michael@0 | 46 | <emp:position>Personnel Director</emp:position> |
michael@0 | 47 | <emp:salary>95,000</emp:salary> |
michael@0 | 48 | <emp:gender>Female</emp:gender> |
michael@0 | 49 | <emp:address emp:domestic="Yes" street="Y&ent1;" emp:zone="CANADA" emp:local1="TRUE">27 South Road. Dallas, texas 98556</emp:address> |
michael@0 | 50 | </emp:employee> |
michael@0 | 51 | <employee xmlns:emp2="http://www.nist.gov"> |
michael@0 | 52 | <employeeId>EMP0005</employeeId> |
michael@0 | 53 | <name>Robert Myers</name> |
michael@0 | 54 | <position>Computer Specialist</position> |
michael@0 | 55 | <salary>90,000</salary> |
michael@0 | 56 | <gender>male</gender> |
michael@0 | 57 | <address street="Yes" xmlns="http://www.nist.gov">1821 Nordic. Road, Irving Texas 98558</address> |
michael@0 | 58 | </employee> |
michael@0 | 59 | </staff> |