1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/tests/mochitest/dom-level2-core/files/staffNS.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,59 @@ 1.4 +<?xml version="1.0"?><?TEST-STYLE PIDATA?> 1.5 +<!DOCTYPE staff PUBLIC "STAFF" "staffNS.dtd" 1.6 +[ 1.7 + <!ENTITY ent1 "es"> 1.8 + <!ENTITY ent2 "1900 Dallas Road"> 1.9 + <!ENTITY ent3 "Texas"> 1.10 + <!ENTITY ent4 "<entElement1 xmlns:local1='www.xyz.com'>Element data</entElement1><?PItarget PIdata?>"> 1.11 + <!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1> 1.12 + <!ENTITY ent6 PUBLIC "uri" "file" NDATA notation2> 1.13 + <!ENTITY ent1 "This entity should be discarded"> 1.14 + <!NOTATION notation1 PUBLIC "notation1File"> 1.15 + <!NOTATION notation2 SYSTEM "notation2File"> 1.16 +]> 1.17 +<!-- This is comment number 1.--> 1.18 +<staff> 1.19 + <employee xmlns="http://www.nist.gov" xmlns:dmstc="http://www.usa.com"> 1.20 + <employeeId>EMP0001</employeeId> 1.21 + <name>Margaret Martin</name> 1.22 + <position>Accountant</position> 1.23 + <salary>56,000</salary> 1.24 + <gender>Female</gender> 1.25 + <address dmstc:domestic="Yes">1230 North Ave. Dallas, Texas 98551</address> 1.26 + </employee> 1.27 + <employee xmlns:dmstc="http://www.usa.com"> 1.28 + <employeeId>EMP0002</employeeId> 1.29 + <name>Martha Raynolds 1.30 +<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]> 1.31 +<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></name> 1.32 + <position>Secretary</position> 1.33 + <salary>35,000</salary> 1.34 + <gender>Female</gender> 1.35 + <address dmstc:domestic="Yes" street="Yes">&ent2; Dallas, &ent3; 1.36 + 98554</address> 1.37 + </employee> 1.38 + <employee xmlns:dmstc="http://www.netzero.com"> 1.39 + <employeeId>EMP0003</employeeId> 1.40 + <name>Roger 1.41 + Jones</name> 1.42 + <position>Department Manager</position> 1.43 + <salary>100,000</salary> 1.44 + <gender>&ent4;</gender> 1.45 + <address dmstc:domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address> 1.46 + </employee> 1.47 + <emp:employee xmlns:emp="http://www.nist.gov" xmlns:nm="http://www.altavista.com" > <emp:employeeId>EMP0004</emp:employeeId> 1.48 + <nm:name>Jeny Oconnor</nm:name> 1.49 + <emp:position>Personnel Director</emp:position> 1.50 + <emp:salary>95,000</emp:salary> 1.51 + <emp:gender>Female</emp:gender> 1.52 + <emp:address emp:domestic="Yes" street="Y&ent1;" emp:zone="CANADA" emp:local1="TRUE">27 South Road. Dallas, texas 98556</emp:address> 1.53 + </emp:employee> 1.54 + <employee xmlns:emp2="http://www.nist.gov"> 1.55 + <employeeId>EMP0005</employeeId> 1.56 + <name>Robert Myers</name> 1.57 + <position>Computer Specialist</position> 1.58 + <salary>90,000</salary> 1.59 + <gender>male</gender> 1.60 + <address street="Yes" xmlns="http://www.nist.gov">1821 Nordic. Road, Irving Texas 98558</address> 1.61 + </employee> 1.62 + </staff>