source: NonGTP/Xerces/xerces-c_2_8_0/tests/DOM/TypeInfo/data/TypeInfoNoDTD.xml @ 2674

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