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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial