source: icXML/icXML-devel/tests/src/DOM/TypeInfo/data/TypeInfo.xml @ 2726

Last change on this file since 2726 was 2726, checked in by cameron, 7 years ago

Add original Xerces tests and samples directories

File size: 4.7 KB
Line 
1<!DOCTYPE root SYSTEM "TypeInfo.dtd" >
2<root xsi:noNamespaceSchemaLocation="TypeInfo.xsd"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ss="http://www.secondSchema" >
3<attrTest 
4anySimpleType="asdas"
5string="string"
6boolean="true"
7decimal="2.0"
8float="2.1"
9double="2.1"
10duration="P1Y2M3DT10H30M"
11dateTime="2000-10-30T11:12:00"
12time="11:12:00"
13date="2000-10-30"
14gYearMonth="1999-01"
15gYear="1999"
16gMonthDay="--01-08"
17gDay="---21"
18gMonth="--12--"
19hexBinary="0FB7"
20base64Binary="abcd"
21anyURI="http://www.example.com/"
22QName="xsla"
23normalizedString="example"
24token="example"
25language="en"
26NMTOKEN="example"
27NMTOKENS="example bar"
28Name="example"
29NCName="example"
30integer="1"
31nonPositiveInteger="-1"
32negativeInteger="-1"
33long="1"
34int="1"
35short="1"
36byte="1"
37nonNegativeInteger="1"
38unsignedLong="1"
39unsignedInt="1"
40unsignedShort="1"
41unsignedByte="1"
42positiveInteger="1"
43ID="abc"
44IDREF="abc"
45IDREFS="abc"
46ENTITY="APACHE"
47ENTITIES="APACHE"
48defaultString="test"
49xmlns:prefix="http://lala" 
50xsi:noNamespaceSchemaLocation="hello"
51/>
52<eleTest >
53  <level1string >string</level1string>
54  <level1boolean >true</level1boolean>
55  <level1decimal >2.0</level1decimal>
56  <level1float >2.1</level1float>
57  <level1double >2.1</level1double>
58  <level1duration >P1Y2M3DT10H30M</level1duration>
59  <level1dateTime >2000-10-30T11:12:00</level1dateTime>
60  <level1time >11:12:00</level1time>
61  <level1date >2000-10-30</level1date>
62  <level1gYearMonth >1999-01</level1gYearMonth>
63  <level1gYear >1999</level1gYear>
64  <level1gMonthDay >--01-08</level1gMonthDay>
65  <level1gDay >---21</level1gDay>
66  <level1gMonth >--12--</level1gMonth>
67  <level1hexBinary >0FB7</level1hexBinary>
68  <level1base64Binary >abcd</level1base64Binary>
69  <level1anyURI >http://www.example.com/</level1anyURI>
70  <level1QName >xsla</level1QName>
71  <level1normalizedString >example</level1normalizedString>
72  <level1token >example</level1token>
73  <level1language >en</level1language>
74  <level1NMTOKEN >example</level1NMTOKEN>
75  <level1NMTOKENS >example bar</level1NMTOKENS>
76  <level1Name >example</level1Name>
77  <level1NCName >example</level1NCName>
78  <level1integer >1</level1integer>
79  <level1nonPositiveInteger >-1</level1nonPositiveInteger>
80  <level1negativeInteger >-1</level1negativeInteger>
81  <level1long >1</level1long>
82  <level1int >1</level1int>
83  <level1short >1</level1short>
84  <level1byte >1</level1byte>
85  <level1nonNegativeInteger >1</level1nonNegativeInteger>
86  <level1unsignedLong >1</level1unsignedLong>
87  <level1unsignedInt >1</level1unsignedInt>
88  <level1unsignedShort >1</level1unsignedShort>
89  <level1unsignedByte >1</level1unsignedByte>
90  <level1positiveInteger >1</level1positiveInteger>
91  <level1anyType />
92</eleTest>
93<simpleDerTest decimalDerived="50" stringDerived="hello" >
94  <decimalDerived >20</decimalDerived>
95  <stringDerived >hello</stringDerived>
96</simpleDerTest>
97<complexTest a="abcd" b="hello" c="50" >
98  <a >abcd</a>
99  <b >hello</b>
100  <c >50</c>
101</complexTest>
102<complexDerTest a="abcd" b="hello" c="50" >
103  <a >abcd</a>
104  <b >hello</b>
105  <c >50</c>
106  <d >abcdefg</d>
107</complexDerTest>
108<unionTest >
109  <testEle >50</testEle>
110  <testEle >hello</testEle>
111  <testEle >200</testEle>
112  <testEle >abcdefg</testEle>
113  <testEle2 testAttr="50" testAttr2="hello"  />
114  <testEle2 testAttr="hello" testAttr2="50" />
115  <testEle2 testAttr="200" testAttr2="abcdefg" />
116  <testEle2 testAttr="abcdefg" testAttr2="200" />
117</unionTest>
118<anonymousTest partNum="50">
119  <quantity>50</quantity>
120  <size>25</size>
121  <anonElement>11</anonElement>
122</anonymousTest>
123<xsiTypeTest>
124  <number>99</number>
125  <number xsi:type="level1" >74</number>
126  <number xsi:type="level2" >49</number>
127  <complexXsi >
128    <a >a</a>
129  </complexXsi>
130  <complexXsi xsi:type="level1Complex" >
131    <a >a</a>
132    <b >b</b>
133  </complexXsi>
134  <complexXsi xsi:type="level2Complex" >
135    <a >a</a>
136    <b >b</b>
137    <c >c</c>
138  </complexXsi>
139</xsiTypeTest>
140<anyTestPartial xhtml:attr2="some value" >
141  <xhtml:fakeTag1 />
142  <xhtml:fakeTag2 />
143  <ss:realTag1 >la</ss:realTag1>
144</anyTestPartial>
145<anyTest ss:attr1="string" ss:attr2="2" ss:attr3="string" ss:attr4="2">
146  <ss:realTag2 >la</ss:realTag2>
147  <ss:realTag3 >la</ss:realTag3>
148  <ss:notRealTag >la</ss:notRealTag>
149</anyTest>
150<anyTestAttr1 ss:attr5="2" />
151<anyTestAttr2 ss:attr5="2" />
152<anyTestMissing />
153<invalidTest simple="abcd" invalid="asdas" >
154  <simple >abcd</simple>
155  <complex >
156    <a >asa</a>
157    <invalid />
158  </complex>
159  <number xsi:type="stringDerivedType" >74</number>
160  <complexXsi xsi:type="simpleDerTestType" >
161    <a >a</a>
162    <b >b</b>
163  </complexXsi>
164  <unionTest >hello1</unionTest>
165  <empty ><a /><a /></empty>
166  <invalidAttrTest attr="lala" />
167  <missingAttrTest />
168  <prohibitedAttrTest attr="lala" />
169</invalidTest>
170</root>
Note: See TracBrowser for help on using the repository browser.