dom/tests/mochitest/dom-level2-core/files/staff.xml

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 <?xml version="1.0"?><?TEST-STYLE PIDATA?>
michael@0 2 <!DOCTYPE staff 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 ]>
michael@0 12 <!-- This is comment number 1.-->
michael@0 13 <staff>
michael@0 14 <employee>
michael@0 15 <employeeId>EMP0001</employeeId>
michael@0 16 <name>Margaret Martin</name>
michael@0 17 <position>Accountant</position>
michael@0 18 <salary>56,000</salary>
michael@0 19 <gender>Female</gender>
michael@0 20 <address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address>
michael@0 21 </employee>
michael@0 22 <employee>
michael@0 23 <employeeId>EMP0002</employeeId>
michael@0 24 <name>Martha Raynolds<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
michael@0 25 <![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></name>
michael@0 26 <position>Secretary</position>
michael@0 27 <salary>35,000</salary>
michael@0 28 <gender>Female</gender>
michael@0 29 <address domestic="Yes" street="Yes">&ent2; Dallas, &ent3;
michael@0 30 98554</address>
michael@0 31 </employee>
michael@0 32 <employee>
michael@0 33 <employeeId>EMP0003</employeeId>
michael@0 34 <name>Roger
michael@0 35 Jones</name>
michael@0 36 <position>Department Manager</position>
michael@0 37 <salary>100,000</salary>
michael@0 38 <gender>&ent4;</gender>
michael@0 39 <address domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address>
michael@0 40 </employee>
michael@0 41 <employee>
michael@0 42 <employeeId>EMP0004</employeeId>
michael@0 43 <name>Jeny Oconnor</name>
michael@0 44 <position>Personnel Director</position>
michael@0 45 <salary>95,000</salary>
michael@0 46 <gender>Female</gender>
michael@0 47 <address domestic="Yes" street="Y&ent1;">27 South Road. Dallas, Texas 98556</address>
michael@0 48 </employee>
michael@0 49 <employee>
michael@0 50 <employeeId>EMP0005</employeeId>
michael@0 51 <name>Robert Myers</name>
michael@0 52 <position>Computer Specialist</position>
michael@0 53 <salary>90,000</salary>
michael@0 54 <gender>male</gender>
michael@0 55 <address street="Yes">1821 Nordic. Road, Irving Texas 98558</address>
michael@0 56 </employee>
michael@0 57 </staff>

mercurial