source: trunk/QA/xmlconf/ibm/valid/P54/ibm54v01.xml @ 450

Last change on this file since 450 was 450, checked in by cameron, 9 years ago

Include xmlconf

  • Property svn:executable set to *
File size: 1.8 KB
Line 
1<?xml version="1.0"?>
2<!DOCTYPE root [
3  <!ELEMENT root ANY>
4  <!ELEMENT a (#PCDATA) >
5  <!ELEMENT b (#PCDATA) >
6  <!ELEMENT c (#PCDATA) >
7  <!ELEMENT d (#PCDATA) >
8  <!ELEMENT e (#PCDATA) >
9  <!ELEMENT f (#PCDATA) >
10  <!ELEMENT g (#PCDATA) >
11  <!ELEMENT h (#PCDATA) >
12  <!ELEMENT i (#PCDATA) >
13  <!ELEMENT j (#PCDATA) >
14  <!ELEMENT k (#PCDATA) >
15  <!--* Tests all Attbuite types in P55,P56,P57,P58,P59 *-->
16  <!ATTLIST a aattr1 ID #REQUIRED>
17  <!ATTLIST b battr1 CDATA #REQUIRED
18              battr2 (good|bad) #REQUIRED
19              battr3 ID #REQUIRED>
20  <!ATTLIST c c_reference IDREF #REQUIRED>
21  <!ATTLIST d d_reference IDREFS #REQUIRED>
22  <!ENTITY xmltech SYSTEM "xmltech.gif" NDATA gif>
23  <!NOTATION gif SYSTEM "gif">
24  <!ATTLIST e eattr1 ENTITY #REQUIRED>
25  <!ENTITY IBMlogo SYSTEM "IBMlogo.gif" NDATA gif>
26  <!ATTLIST f fattr1 ENTITIES #REQUIRED>
27  <!ATTLIST g gattr1 NMTOKEN #REQUIRED>
28  <!ATTLIST h hattr1 NMTOKENS #REQUIRED>
29  <!NOTATION UTF-8 SYSTEM "UTF-8">
30  <!ATTLIST i iattr1 NOTATION (UTF-8) #REQUIRED>
31  <!--* Tests all DefaultDecl in P60 -->
32  <!ATTLIST j jattr1 CDATA #REQUIRED
33              jattr2 CDATA "good"
34              jattr3 CDATA #FIXED "fixed"
35              jattr4 CDATA #IMPLIED >
36
37]>
38<root>
39  <a aattr1 = "a1"> Element type a </a>
40  <b battr1 = "anyvalue" battr2="good" battr3 ="b1"> Element type b </b>
41  <c c_reference = "b1"> Element type c </c>
42  <d d_reference = "a1 b1"> Element type d </d>
43  <e eattr1 = "xmltech"> Element type e </e>
44  <f fattr1 = "xmltech IBMlogo"> Element type f </f>
45  <g gattr1 = "xml4j3_0_0_EA3"> Element type g </g>
46  <h hattr1 = "xml4j3_0_0_EA3 Xerces-J_1_0_1"> Element type h </h>
47  <i iattr1 = "UTF-8"> Element type i </i>
48  <j jattr1 = "anyvalue" jattr2="good" jattr3 ="fixed"> Element type j </j>
49</root>
50<!--* a valid test: tests P54 *-->
Note: See TracBrowser for help on using the repository browser.