0
|
1 |
<?xml version='1.0'?>
|
|
2 |
<!-- XML Schema schema for XML Schemas: Part 2: Datatypes -->
|
|
3 |
<!DOCTYPE xsd:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN"
|
|
4 |
"XMLSchema.dtd" [
|
|
5 |
|
|
6 |
<!--
|
|
7 |
keep this schema XML1.0 DTD valid
|
|
8 |
-->
|
|
9 |
<!ENTITY % schemaAttrs 'xmlns:hfp CDATA #IMPLIED'>
|
|
10 |
|
|
11 |
<!ELEMENT hfp:hasFacet EMPTY>
|
|
12 |
<!ATTLIST hfp:hasFacet
|
|
13 |
name NMTOKEN #REQUIRED>
|
|
14 |
|
|
15 |
<!ELEMENT hfp:hasProperty EMPTY>
|
|
16 |
<!ATTLIST hfp:hasProperty
|
|
17 |
name NMTOKEN #REQUIRED
|
|
18 |
value CDATA #REQUIRED>
|
|
19 |
<!--
|
|
20 |
Make sure that processors that do not read the external
|
|
21 |
subset will know about the various IDs we declare
|
|
22 |
-->
|
|
23 |
<!ATTLIST xsd:simpleType id ID #IMPLIED>
|
|
24 |
<!ATTLIST xsd:maxExclusive id ID #IMPLIED>
|
|
25 |
<!ATTLIST xsd:minExclusive id ID #IMPLIED>
|
|
26 |
<!ATTLIST xsd:maxInclusive id ID #IMPLIED>
|
|
27 |
<!ATTLIST xsd:minInclusive id ID #IMPLIED>
|
|
28 |
<!ATTLIST xsd:totalDigits id ID #IMPLIED>
|
|
29 |
<!ATTLIST xsd:fractionDigits id ID #IMPLIED>
|
|
30 |
<!ATTLIST xsd:length id ID #IMPLIED>
|
|
31 |
<!ATTLIST xsd:minLength id ID #IMPLIED>
|
|
32 |
<!ATTLIST xsd:maxLength id ID #IMPLIED>
|
|
33 |
<!ATTLIST xsd:enumeration id ID #IMPLIED>
|
|
34 |
<!ATTLIST xsd:pattern id ID #IMPLIED>
|
|
35 |
<!ATTLIST xsd:appinfo id ID #IMPLIED>
|
|
36 |
<!ATTLIST xsd:documentation id ID #IMPLIED>
|
|
37 |
<!ATTLIST xsd:list id ID #IMPLIED>
|
|
38 |
<!ATTLIST xsd:union id ID #IMPLIED>
|
|
39 |
]>
|
|
40 |
|
|
41 |
|
|
42 |
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
43 |
targetNamespace="http://www.w3.org/2001/XMLSchema"
|
|
44 |
version="Id: datatypes.xsd,v 1.52 2001/04/27 11:49:21 ht Exp "
|
|
45 |
xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
|
|
46 |
elementFormDefault="qualified"
|
|
47 |
blockDefault="#all"
|
|
48 |
xml:lang="en">
|
|
49 |
|
|
50 |
<xsd:annotation>
|
|
51 |
<xsd:documentation source="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes">
|
|
52 |
The schema corresponding to this document is normative,
|
|
53 |
with respect to the syntactic constraints it expresses in the
|
|
54 |
XML Schema language. The documentation (within <documentation>
|
|
55 |
elements) below, is not normative, but rather highlights important
|
|
56 |
aspects of the W3C Recommendation of which this is a part
|
|
57 |
</xsd:documentation>
|
|
58 |
</xsd:annotation>
|
|
59 |
|
|
60 |
<xsd:annotation>
|
|
61 |
<xsd:documentation>
|
|
62 |
First the built-in primitive datatypes. These definitions are for
|
|
63 |
information only, the real built-in definitions are magic. Note in
|
|
64 |
particular that there is no type named 'anySimpleType'. The
|
|
65 |
primitives should really be derived from no type at all, and
|
|
66 |
anySimpleType should be derived as a union of all the primitives.
|
|
67 |
</xsd:documentation>
|
|
68 |
|
|
69 |
<xsd:documentation>
|
|
70 |
For each built-in datatype in this schema (both primitive and
|
|
71 |
derived) can be uniquely addressed via a URI constructed
|
|
72 |
as follows:
|
|
73 |
1) the base URI is the URI of the XML Schema namespace
|
|
74 |
2) the fragment identifier is the name of the datatype
|
|
75 |
|
|
76 |
For example, to address the int datatype, the URI is:
|
|
77 |
|
|
78 |
http://www.w3.org/2001/XMLSchema#int
|
|
79 |
|
|
80 |
Additionally, each facet definition element can be uniquely
|
|
81 |
addressed via a URI constructed as follows:
|
|
82 |
1) the base URI is the URI of the XML Schema namespace
|
|
83 |
2) the fragment identifier is the name of the facet
|
|
84 |
|
|
85 |
For example, to address the maxInclusive facet, the URI is:
|
|
86 |
|
|
87 |
http://www.w3.org/2001/XMLSchema#maxInclusive
|
|
88 |
|
|
89 |
Additionally, each facet usage in a built-in datatype definition
|
|
90 |
can be uniquely addressed via a URI constructed as follows:
|
|
91 |
1) the base URI is the URI of the XML Schema namespace
|
|
92 |
2) the fragment identifier is the name of the datatype, followed
|
|
93 |
by a period (".") followed by the name of the facet
|
|
94 |
|
|
95 |
For example, to address the usage of the maxInclusive facet in
|
|
96 |
the definition of int, the URI is:
|
|
97 |
|
|
98 |
http://www.w3.org/2001/XMLSchema#int.maxInclusive
|
|
99 |
|
|
100 |
</xsd:documentation>
|
|
101 |
</xsd:annotation>
|
|
102 |
|
|
103 |
<!--
|
|
104 |
<xsd:simpleType name="string" id="string">
|
|
105 |
<xsd:annotation>
|
|
106 |
<xsd:appinfo>
|
|
107 |
<hfp:hasFacet name="length"/>
|
|
108 |
<hfp:hasFacet name="minLength"/>
|
|
109 |
<hfp:hasFacet name="maxLength"/>
|
|
110 |
<hfp:hasFacet name="pattern"/>
|
|
111 |
<hfp:hasFacet name="enumeration"/>
|
|
112 |
<hfp:hasFacet name="whiteSpace"/>
|
|
113 |
<hfp:hasProperty name="ordered" value="false"/>
|
|
114 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
115 |
<hfp:hasProperty name="cardinality" value="countably infinite"/>
|
|
116 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
117 |
</xsd:appinfo>
|
|
118 |
<xsd:documentation
|
|
119 |
source="http://www.w3.org/TR/xmlschema-2/#string"/>
|
|
120 |
</xsd:annotation>
|
|
121 |
<xsd:restriction base="xsd:anySimpleType">
|
|
122 |
<xsd:whiteSpace value="preserve" id="string.preserve"/>
|
|
123 |
</xsd:restriction>
|
|
124 |
</xsd:simpleType>
|
|
125 |
|
|
126 |
<xsd:simpleType name="boolean" id="boolean">
|
|
127 |
<xsd:annotation>
|
|
128 |
<xsd:appinfo>
|
|
129 |
<hfp:hasFacet name="pattern"/>
|
|
130 |
<hfp:hasFacet name="whiteSpace"/>
|
|
131 |
<hfp:hasProperty name="ordered" value="false"/>
|
|
132 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
133 |
<hfp:hasProperty name="cardinality" value="finite"/>
|
|
134 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
135 |
</xsd:appinfo>
|
|
136 |
<xsd:documentation
|
|
137 |
source="http://www.w3.org/TR/xmlschema-2/#boolean"/>
|
|
138 |
</xsd:annotation>
|
|
139 |
<xsd:restriction base="xsd:anySimpleType">
|
|
140 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
141 |
id="boolean.whiteSpace"/>
|
|
142 |
</xsd:restriction>
|
|
143 |
</xsd:simpleType>
|
|
144 |
|
|
145 |
<xsd:simpleType name="float" id="float">
|
|
146 |
<xsd:annotation>
|
|
147 |
<xsd:appinfo>
|
|
148 |
<hfp:hasFacet name="pattern"/>
|
|
149 |
<hfp:hasFacet name="enumeration"/>
|
|
150 |
<hfp:hasFacet name="whiteSpace"/>
|
|
151 |
<hfp:hasFacet name="maxInclusive"/>
|
|
152 |
<hfp:hasFacet name="maxExclusive"/>
|
|
153 |
<hfp:hasFacet name="minInclusive"/>
|
|
154 |
<hfp:hasFacet name="minExclusive"/>
|
|
155 |
<hfp:hasProperty name="ordered" value="total"/>
|
|
156 |
<hfp:hasProperty name="bounded" value="true"/>
|
|
157 |
<hfp:hasProperty name="cardinality" value="finite"/>
|
|
158 |
<hfp:hasProperty name="numeric" value="true"/>
|
|
159 |
</xsd:appinfo>
|
|
160 |
<xsd:documentation
|
|
161 |
source="http://www.w3.org/TR/xmlschema-2/#float"/>
|
|
162 |
</xsd:annotation>
|
|
163 |
<xsd:restriction base="xsd:anySimpleType">
|
|
164 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
165 |
id="float.whiteSpace"/>
|
|
166 |
</xsd:restriction>
|
|
167 |
</xsd:simpleType>
|
|
168 |
|
|
169 |
<xsd:simpleType name="double" id="double">
|
|
170 |
<xsd:annotation>
|
|
171 |
<xsd:appinfo>
|
|
172 |
<hfp:hasFacet name="pattern"/>
|
|
173 |
<hfp:hasFacet name="enumeration"/>
|
|
174 |
<hfp:hasFacet name="whiteSpace"/>
|
|
175 |
<hfp:hasFacet name="maxInclusive"/>
|
|
176 |
<hfp:hasFacet name="maxExclusive"/>
|
|
177 |
<hfp:hasFacet name="minInclusive"/>
|
|
178 |
<hfp:hasFacet name="minExclusive"/>
|
|
179 |
<hfp:hasProperty name="ordered" value="total"/>
|
|
180 |
<hfp:hasProperty name="bounded" value="true"/>
|
|
181 |
<hfp:hasProperty name="cardinality" value="finite"/>
|
|
182 |
<hfp:hasProperty name="numeric" value="true"/>
|
|
183 |
</xsd:appinfo>
|
|
184 |
<xsd:documentation
|
|
185 |
source="http://www.w3.org/TR/xmlschema-2/#double"/>
|
|
186 |
</xsd:annotation>
|
|
187 |
<xsd:restriction base="xsd:anySimpleType">
|
|
188 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
189 |
id="double.whiteSpace"/>
|
|
190 |
</xsd:restriction>
|
|
191 |
</xsd:simpleType>
|
|
192 |
|
|
193 |
<xsd:simpleType name="decimal" id="decimal">
|
|
194 |
<xsd:annotation>
|
|
195 |
<xsd:appinfo>
|
|
196 |
<hfp:hasFacet name="totalDigits"/>
|
|
197 |
<hfp:hasFacet name="fractionDigits"/>
|
|
198 |
<hfp:hasFacet name="pattern"/>
|
|
199 |
<hfp:hasFacet name="whiteSpace"/>
|
|
200 |
<hfp:hasFacet name="enumeration"/>
|
|
201 |
<hfp:hasFacet name="maxInclusive"/>
|
|
202 |
<hfp:hasFacet name="maxExclusive"/>
|
|
203 |
<hfp:hasFacet name="minInclusive"/>
|
|
204 |
<hfp:hasFacet name="minExclusive"/>
|
|
205 |
<hfp:hasProperty name="ordered" value="total"/>
|
|
206 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
207 |
<hfp:hasProperty name="cardinality"
|
|
208 |
value="countably infinite"/>
|
|
209 |
<hfp:hasProperty name="numeric" value="true"/>
|
|
210 |
</xsd:appinfo>
|
|
211 |
<xsd:documentation
|
|
212 |
source="http://www.w3.org/TR/xmlschema-2/#decimal"/>
|
|
213 |
</xsd:annotation>
|
|
214 |
<xsd:restriction base="xsd:anySimpleType">
|
|
215 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
216 |
id="decimal.whiteSpace"/>
|
|
217 |
</xsd:restriction>
|
|
218 |
</xsd:simpleType>
|
|
219 |
|
|
220 |
<xsd:simpleType name="duration" id="duration">
|
|
221 |
<xsd:annotation>
|
|
222 |
<xsd:appinfo>
|
|
223 |
<hfp:hasFacet name="pattern"/>
|
|
224 |
<hfp:hasFacet name="enumeration"/>
|
|
225 |
<hfp:hasFacet name="whiteSpace"/>
|
|
226 |
<hfp:hasFacet name="maxInclusive"/>
|
|
227 |
<hfp:hasFacet name="maxExclusive"/>
|
|
228 |
<hfp:hasFacet name="minInclusive"/>
|
|
229 |
<hfp:hasFacet name="minExclusive"/>
|
|
230 |
<hfp:hasProperty name="ordered" value="partial"/>
|
|
231 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
232 |
<hfp:hasProperty name="cardinality"
|
|
233 |
value="countably infinite"/>
|
|
234 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
235 |
</xsd:appinfo>
|
|
236 |
<xsd:documentation
|
|
237 |
source="http://www.w3.org/TR/xmlschema-2/#duration"/>
|
|
238 |
</xsd:annotation>
|
|
239 |
<xsd:restriction base="xsd:anySimpleType">
|
|
240 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
241 |
id="duration.whiteSpace"/>
|
|
242 |
</xsd:restriction>
|
|
243 |
</xsd:simpleType>
|
|
244 |
|
|
245 |
<xsd:simpleType name="dateTime" id="dateTime">
|
|
246 |
<xsd:annotation>
|
|
247 |
<xsd:appinfo>
|
|
248 |
<hfp:hasFacet name="pattern"/>
|
|
249 |
<hfp:hasFacet name="enumeration"/>
|
|
250 |
<hfp:hasFacet name="whiteSpace"/>
|
|
251 |
<hfp:hasFacet name="maxInclusive"/>
|
|
252 |
<hfp:hasFacet name="maxExclusive"/>
|
|
253 |
<hfp:hasFacet name="minInclusive"/>
|
|
254 |
<hfp:hasFacet name="minExclusive"/>
|
|
255 |
<hfp:hasProperty name="ordered" value="partial"/>
|
|
256 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
257 |
<hfp:hasProperty name="cardinality"
|
|
258 |
value="countably infinite"/>
|
|
259 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
260 |
</xsd:appinfo>
|
|
261 |
<xsd:documentation
|
|
262 |
source="http://www.w3.org/TR/xmlschema-2/#dateTime"/>
|
|
263 |
</xsd:annotation>
|
|
264 |
<xsd:restriction base="xsd:anySimpleType">
|
|
265 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
266 |
id="dateTime.whiteSpace"/>
|
|
267 |
</xsd:restriction>
|
|
268 |
</xsd:simpleType>
|
|
269 |
|
|
270 |
<xsd:simpleType name="time" id="time">
|
|
271 |
<xsd:annotation>
|
|
272 |
<xsd:appinfo>
|
|
273 |
<hfp:hasFacet name="pattern"/>
|
|
274 |
<hfp:hasFacet name="enumeration"/>
|
|
275 |
<hfp:hasFacet name="whiteSpace"/>
|
|
276 |
<hfp:hasFacet name="maxInclusive"/>
|
|
277 |
<hfp:hasFacet name="maxExclusive"/>
|
|
278 |
<hfp:hasFacet name="minInclusive"/>
|
|
279 |
<hfp:hasFacet name="minExclusive"/>
|
|
280 |
<hfp:hasProperty name="ordered" value="partial"/>
|
|
281 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
282 |
<hfp:hasProperty name="cardinality"
|
|
283 |
value="countably infinite"/>
|
|
284 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
285 |
</xsd:appinfo>
|
|
286 |
<xsd:documentation
|
|
287 |
source="http://www.w3.org/TR/xmlschema-2/#time"/>
|
|
288 |
</xsd:annotation>
|
|
289 |
<xsd:restriction base="xsd:anySimpleType">
|
|
290 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
291 |
id="time.whiteSpace"/>
|
|
292 |
</xsd:restriction>
|
|
293 |
</xsd:simpleType>
|
|
294 |
|
|
295 |
<xsd:simpleType name="date" id="date">
|
|
296 |
<xsd:annotation>
|
|
297 |
<xsd:appinfo>
|
|
298 |
<hfp:hasFacet name="pattern"/>
|
|
299 |
<hfp:hasFacet name="enumeration"/>
|
|
300 |
<hfp:hasFacet name="whiteSpace"/>
|
|
301 |
<hfp:hasFacet name="maxInclusive"/>
|
|
302 |
<hfp:hasFacet name="maxExclusive"/>
|
|
303 |
<hfp:hasFacet name="minInclusive"/>
|
|
304 |
<hfp:hasFacet name="minExclusive"/>
|
|
305 |
<hfp:hasProperty name="ordered" value="partial"/>
|
|
306 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
307 |
<hfp:hasProperty name="cardinality"
|
|
308 |
value="countably infinite"/>
|
|
309 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
310 |
</xsd:appinfo>
|
|
311 |
<xsd:documentation
|
|
312 |
source="http://www.w3.org/TR/xmlschema-2/#date"/>
|
|
313 |
</xsd:annotation>
|
|
314 |
<xsd:restriction base="xsd:anySimpleType">
|
|
315 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
316 |
id="date.whiteSpace"/>
|
|
317 |
</xsd:restriction>
|
|
318 |
</xsd:simpleType>
|
|
319 |
|
|
320 |
<xsd:simpleType name="gYearMonth" id="gYearMonth">
|
|
321 |
<xsd:annotation>
|
|
322 |
<xsd:appinfo>
|
|
323 |
<hfp:hasFacet name="pattern"/>
|
|
324 |
<hfp:hasFacet name="enumeration"/>
|
|
325 |
<hfp:hasFacet name="whiteSpace"/>
|
|
326 |
<hfp:hasFacet name="maxInclusive"/>
|
|
327 |
<hfp:hasFacet name="maxExclusive"/>
|
|
328 |
<hfp:hasFacet name="minInclusive"/>
|
|
329 |
<hfp:hasFacet name="minExclusive"/>
|
|
330 |
<hfp:hasProperty name="ordered" value="partial"/>
|
|
331 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
332 |
<hfp:hasProperty name="cardinality"
|
|
333 |
value="countably infinite"/>
|
|
334 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
335 |
</xsd:appinfo>
|
|
336 |
<xsd:documentation
|
|
337 |
source="http://www.w3.org/TR/xmlschema-2/#gYearMonth"/>
|
|
338 |
</xsd:annotation>
|
|
339 |
<xsd:restriction base="xsd:anySimpleType">
|
|
340 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
341 |
id="gYearMonth.whiteSpace"/>
|
|
342 |
</xsd:restriction>
|
|
343 |
</xsd:simpleType>
|
|
344 |
|
|
345 |
<xsd:simpleType name="gYear" id="gYear">
|
|
346 |
<xsd:annotation>
|
|
347 |
<xsd:appinfo>
|
|
348 |
<hfp:hasFacet name="pattern"/>
|
|
349 |
<hfp:hasFacet name="enumeration"/>
|
|
350 |
<hfp:hasFacet name="whiteSpace"/>
|
|
351 |
<hfp:hasFacet name="maxInclusive"/>
|
|
352 |
<hfp:hasFacet name="maxExclusive"/>
|
|
353 |
<hfp:hasFacet name="minInclusive"/>
|
|
354 |
<hfp:hasFacet name="minExclusive"/>
|
|
355 |
<hfp:hasProperty name="ordered" value="partial"/>
|
|
356 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
357 |
<hfp:hasProperty name="cardinality"
|
|
358 |
value="countably infinite"/>
|
|
359 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
360 |
</xsd:appinfo>
|
|
361 |
<xsd:documentation
|
|
362 |
source="http://www.w3.org/TR/xmlschema-2/#gYear"/>
|
|
363 |
</xsd:annotation>
|
|
364 |
<xsd:restriction base="xsd:anySimpleType">
|
|
365 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
366 |
id="gYear.whiteSpace"/>
|
|
367 |
</xsd:restriction>
|
|
368 |
</xsd:simpleType>
|
|
369 |
|
|
370 |
<xsd:simpleType name="gMonthDay" id="gMonthDay">
|
|
371 |
<xsd:annotation>
|
|
372 |
<xsd:appinfo>
|
|
373 |
<hfp:hasFacet name="pattern"/>
|
|
374 |
<hfp:hasFacet name="enumeration"/>
|
|
375 |
<hfp:hasFacet name="whiteSpace"/>
|
|
376 |
<hfp:hasFacet name="maxInclusive"/>
|
|
377 |
<hfp:hasFacet name="maxExclusive"/>
|
|
378 |
<hfp:hasFacet name="minInclusive"/>
|
|
379 |
<hfp:hasFacet name="minExclusive"/>
|
|
380 |
<hfp:hasProperty name="ordered" value="partial"/>
|
|
381 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
382 |
<hfp:hasProperty name="cardinality"
|
|
383 |
value="countably infinite"/>
|
|
384 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
385 |
</xsd:appinfo>
|
|
386 |
<xsd:documentation
|
|
387 |
source="http://www.w3.org/TR/xmlschema-2/#gMonthDay"/>
|
|
388 |
</xsd:annotation>
|
|
389 |
<xsd:restriction base="xsd:anySimpleType">
|
|
390 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
391 |
id="gMonthDay.whiteSpace"/>
|
|
392 |
</xsd:restriction>
|
|
393 |
</xsd:simpleType>
|
|
394 |
|
|
395 |
<xsd:simpleType name="gDay" id="gDay">
|
|
396 |
<xsd:annotation>
|
|
397 |
<xsd:appinfo>
|
|
398 |
<hfp:hasFacet name="pattern"/>
|
|
399 |
<hfp:hasFacet name="enumeration"/>
|
|
400 |
<hfp:hasFacet name="whiteSpace"/>
|
|
401 |
<hfp:hasFacet name="maxInclusive"/>
|
|
402 |
<hfp:hasFacet name="maxExclusive"/>
|
|
403 |
<hfp:hasFacet name="minInclusive"/>
|
|
404 |
<hfp:hasFacet name="minExclusive"/>
|
|
405 |
<hfp:hasProperty name="ordered" value="partial"/>
|
|
406 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
407 |
<hfp:hasProperty name="cardinality"
|
|
408 |
value="countably infinite"/>
|
|
409 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
410 |
</xsd:appinfo>
|
|
411 |
<xsd:documentation
|
|
412 |
source="http://www.w3.org/TR/xmlschema-2/#gDay"/>
|
|
413 |
</xsd:annotation>
|
|
414 |
<xsd:restriction base="xsd:anySimpleType">
|
|
415 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
416 |
id="gDay.whiteSpace"/>
|
|
417 |
</xsd:restriction>
|
|
418 |
</xsd:simpleType>
|
|
419 |
|
|
420 |
<xsd:simpleType name="gMonth" id="gMonth">
|
|
421 |
<xsd:annotation>
|
|
422 |
<xsd:appinfo>
|
|
423 |
<hfp:hasFacet name="pattern"/>
|
|
424 |
<hfp:hasFacet name="enumeration"/>
|
|
425 |
<hfp:hasFacet name="whiteSpace"/>
|
|
426 |
<hfp:hasFacet name="maxInclusive"/>
|
|
427 |
<hfp:hasFacet name="maxExclusive"/>
|
|
428 |
<hfp:hasFacet name="minInclusive"/>
|
|
429 |
<hfp:hasFacet name="minExclusive"/>
|
|
430 |
<hfp:hasProperty name="ordered" value="partial"/>
|
|
431 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
432 |
<hfp:hasProperty name="cardinality"
|
|
433 |
value="countably infinite"/>
|
|
434 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
435 |
</xsd:appinfo>
|
|
436 |
<xsd:documentation
|
|
437 |
source="http://www.w3.org/TR/xmlschema-2/#gMonth"/>
|
|
438 |
</xsd:annotation>
|
|
439 |
<xsd:restriction base="xsd:anySimpleType">
|
|
440 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
441 |
id="gMonth.whiteSpace"/>
|
|
442 |
</xsd:restriction>
|
|
443 |
</xsd:simpleType>
|
|
444 |
|
|
445 |
<xsd:simpleType name="hexBinary" id="hexBinary">
|
|
446 |
<xsd:annotation>
|
|
447 |
<xsd:appinfo>
|
|
448 |
<hfp:hasFacet name="length"/>
|
|
449 |
<hfp:hasFacet name="minLength"/>
|
|
450 |
<hfp:hasFacet name="maxLength"/>
|
|
451 |
<hfp:hasFacet name="pattern"/>
|
|
452 |
<hfp:hasFacet name="enumeration"/>
|
|
453 |
<hfp:hasFacet name="whiteSpace"/>
|
|
454 |
<hfp:hasProperty name="ordered" value="false"/>
|
|
455 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
456 |
<hfp:hasProperty name="cardinality"
|
|
457 |
value="countably infinite"/>
|
|
458 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
459 |
</xsd:appinfo>
|
|
460 |
<xsd:documentation
|
|
461 |
source="http://www.w3.org/TR/xmlschema-2/#binary"/>
|
|
462 |
</xsd:annotation>
|
|
463 |
<xsd:restriction base="xsd:anySimpleType">
|
|
464 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
465 |
id="hexBinary.whiteSpace"/>
|
|
466 |
</xsd:restriction>
|
|
467 |
</xsd:simpleType>
|
|
468 |
|
|
469 |
<xsd:simpleType name="base64Binary" id="base64Binary">
|
|
470 |
<xsd:annotation>
|
|
471 |
<xsd:appinfo>
|
|
472 |
<hfp:hasFacet name="length"/>
|
|
473 |
<hfp:hasFacet name="minLength"/>
|
|
474 |
<hfp:hasFacet name="maxLength"/>
|
|
475 |
<hfp:hasFacet name="pattern"/>
|
|
476 |
<hfp:hasFacet name="enumeration"/>
|
|
477 |
<hfp:hasFacet name="whiteSpace"/>
|
|
478 |
<hfp:hasProperty name="ordered" value="false"/>
|
|
479 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
480 |
<hfp:hasProperty name="cardinality"
|
|
481 |
value="countably infinite"/>
|
|
482 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
483 |
</xsd:appinfo>
|
|
484 |
<xsd:documentation
|
|
485 |
source="http://www.w3.org/TR/xmlschema-2/#base64Binary"/>
|
|
486 |
</xsd:annotation>
|
|
487 |
<xsd:restriction base="xsd:anySimpleType">
|
|
488 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
489 |
id="base64Binary.whiteSpace"/>
|
|
490 |
</xsd:restriction>
|
|
491 |
</xsd:simpleType>
|
|
492 |
|
|
493 |
<xsd:simpleType name="anyURI" id="anyURI">
|
|
494 |
<xsd:annotation>
|
|
495 |
<xsd:appinfo>
|
|
496 |
<hfp:hasFacet name="length"/>
|
|
497 |
<hfp:hasFacet name="minLength"/>
|
|
498 |
<hfp:hasFacet name="maxLength"/>
|
|
499 |
<hfp:hasFacet name="pattern"/>
|
|
500 |
<hfp:hasFacet name="enumeration"/>
|
|
501 |
<hfp:hasFacet name="whiteSpace"/>
|
|
502 |
<hfp:hasProperty name="ordered" value="false"/>
|
|
503 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
504 |
<hfp:hasProperty name="cardinality"
|
|
505 |
value="countably infinite"/>
|
|
506 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
507 |
</xsd:appinfo>
|
|
508 |
<xsd:documentation
|
|
509 |
source="http://www.w3.org/TR/xmlschema-2/#anyURI"/>
|
|
510 |
</xsd:annotation>
|
|
511 |
<xsd:restriction base="xsd:anySimpleType">
|
|
512 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
513 |
id="anyURI.whiteSpace"/>
|
|
514 |
</xsd:restriction>
|
|
515 |
</xsd:simpleType>
|
|
516 |
|
|
517 |
<xsd:simpleType name="QName" id="QName">
|
|
518 |
<xsd:annotation>
|
|
519 |
<xsd:appinfo>
|
|
520 |
<hfp:hasFacet name="length"/>
|
|
521 |
<hfp:hasFacet name="minLength"/>
|
|
522 |
<hfp:hasFacet name="maxLength"/>
|
|
523 |
<hfp:hasFacet name="pattern"/>
|
|
524 |
<hfp:hasFacet name="enumeration"/>
|
|
525 |
<hfp:hasFacet name="whiteSpace"/>
|
|
526 |
<hfp:hasProperty name="ordered" value="false"/>
|
|
527 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
528 |
<hfp:hasProperty name="cardinality"
|
|
529 |
value="countably infinite"/>
|
|
530 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
531 |
</xsd:appinfo>
|
|
532 |
<xsd:documentation
|
|
533 |
source="http://www.w3.org/TR/xmlschema-2/#QName"/>
|
|
534 |
</xsd:annotation>
|
|
535 |
<xsd:restriction base="xsd:anySimpleType">
|
|
536 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
537 |
id="QName.whiteSpace"/>
|
|
538 |
</xsd:restriction>
|
|
539 |
</xsd:simpleType>
|
|
540 |
|
|
541 |
|
|
542 |
<xsd:simpleType name="NOTATION" id="NOTATION">
|
|
543 |
<xsd:annotation>
|
|
544 |
<xsd:appinfo>
|
|
545 |
<hfp:hasFacet name="length"/>
|
|
546 |
<hfp:hasFacet name="minLength"/>
|
|
547 |
<hfp:hasFacet name="maxLength"/>
|
|
548 |
<hfp:hasFacet name="pattern"/>
|
|
549 |
<hfp:hasFacet name="enumeration"/>
|
|
550 |
<hfp:hasFacet name="whiteSpace"/>
|
|
551 |
<hfp:hasProperty name="ordered" value="false"/>
|
|
552 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
553 |
<hfp:hasProperty name="cardinality"
|
|
554 |
value="countably infinite"/>
|
|
555 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
556 |
</xsd:appinfo>
|
|
557 |
<xsd:documentation
|
|
558 |
source="http://www.w3.org/TR/xmlschema-2/#NOTATION"/>
|
|
559 |
<xsd:documentation>
|
|
560 |
NOTATION cannot be used directly in a schema; rather a type
|
|
561 |
must be derived from it by specifying at least one enumeration
|
|
562 |
facet whose value is the name of a NOTATION declared in the
|
|
563 |
schema.
|
|
564 |
</xsd:documentation>
|
|
565 |
</xsd:annotation>
|
|
566 |
<xsd:restriction base="xsd:anySimpleType">
|
|
567 |
<xsd:whiteSpace value="collapse" fixed="true"
|
|
568 |
id="NOTATION.whiteSpace"/>
|
|
569 |
</xsd:restriction>
|
|
570 |
</xsd:simpleType>
|
|
571 |
-->
|
|
572 |
|
|
573 |
<!-- PATCH, to be corrected -->
|
|
574 |
<xsd:simpleType name="QName" id="QName">
|
|
575 |
<xsd:restriction base="xsd:Name"/>
|
|
576 |
</xsd:simpleType>
|
|
577 |
<!-- PATCH end -->
|
|
578 |
|
|
579 |
<xsd:annotation>
|
|
580 |
<xsd:documentation>
|
|
581 |
Now the derived primitive types
|
|
582 |
</xsd:documentation>
|
|
583 |
</xsd:annotation>
|
|
584 |
|
|
585 |
<xsd:simpleType name="normalizedString" id="normalizedString">
|
|
586 |
<xsd:annotation>
|
|
587 |
<xsd:documentation
|
|
588 |
source="http://www.w3.org/TR/xmlschema-2/#normalizedString"/>
|
|
589 |
</xsd:annotation>
|
|
590 |
<xsd:restriction base="xsd:string">
|
|
591 |
<xsd:whiteSpace value="replace"
|
|
592 |
id="normalizedString.whiteSpace"/>
|
|
593 |
</xsd:restriction>
|
|
594 |
</xsd:simpleType>
|
|
595 |
|
|
596 |
<xsd:simpleType name="token" id="token">
|
|
597 |
<xsd:annotation>
|
|
598 |
<xsd:documentation
|
|
599 |
source="http://www.w3.org/TR/xmlschema-2/#token"/>
|
|
600 |
</xsd:annotation>
|
|
601 |
<xsd:restriction base="xsd:normalizedString">
|
|
602 |
<xsd:whiteSpace value="collapse" id="token.whiteSpace"/>
|
|
603 |
</xsd:restriction>
|
|
604 |
</xsd:simpleType>
|
|
605 |
|
|
606 |
<xsd:simpleType name="language" id="language">
|
|
607 |
<xsd:annotation>
|
|
608 |
<xsd:documentation
|
|
609 |
source="http://www.w3.org/TR/xmlschema-2/#language"/>
|
|
610 |
</xsd:annotation>
|
|
611 |
<xsd:restriction base="xsd:token">
|
|
612 |
<xsd:pattern
|
|
613 |
value="([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]{1,8})(-[a-zA-Z]{1,8})*"
|
|
614 |
id="language.pattern">
|
|
615 |
<xsd:annotation>
|
|
616 |
<xsd:documentation
|
|
617 |
source="http://www.w3.org/TR/REC-xml#NT-LanguageID">
|
|
618 |
pattern specifies the content of section 2.12 of XML 1.0e2
|
|
619 |
and RFC 1766
|
|
620 |
</xsd:documentation>
|
|
621 |
</xsd:annotation>
|
|
622 |
</xsd:pattern>
|
|
623 |
</xsd:restriction>
|
|
624 |
</xsd:simpleType>
|
|
625 |
|
|
626 |
<xsd:simpleType name="IDREFS" id="IDREFS">
|
|
627 |
<xsd:annotation>
|
|
628 |
<xsd:appinfo>
|
|
629 |
<hfp:hasFacet name="length"/>
|
|
630 |
<hfp:hasFacet name="minLength"/>
|
|
631 |
<hfp:hasFacet name="maxLength"/>
|
|
632 |
<hfp:hasFacet name="enumeration"/>
|
|
633 |
<hfp:hasFacet name="whiteSpace"/>
|
|
634 |
<hfp:hasProperty name="ordered" value="false"/>
|
|
635 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
636 |
<hfp:hasProperty name="cardinality"
|
|
637 |
value="countably infinite"/>
|
|
638 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
639 |
</xsd:appinfo>
|
|
640 |
<xsd:documentation
|
|
641 |
source="http://www.w3.org/TR/xmlschema-2/#IDREFS"/>
|
|
642 |
</xsd:annotation>
|
|
643 |
<xsd:restriction>
|
|
644 |
<xsd:simpleType>
|
|
645 |
<xsd:list itemType="xsd:IDREF"/>
|
|
646 |
</xsd:simpleType>
|
|
647 |
<xsd:minLength value="1" id="IDREFS.minLength"/>
|
|
648 |
</xsd:restriction>
|
|
649 |
</xsd:simpleType>
|
|
650 |
|
|
651 |
<xsd:simpleType name="ENTITIES" id="ENTITIES">
|
|
652 |
<xsd:annotation>
|
|
653 |
<xsd:appinfo>
|
|
654 |
<hfp:hasFacet name="length"/>
|
|
655 |
<hfp:hasFacet name="minLength"/>
|
|
656 |
<hfp:hasFacet name="maxLength"/>
|
|
657 |
<hfp:hasFacet name="enumeration"/>
|
|
658 |
<hfp:hasFacet name="whiteSpace"/>
|
|
659 |
<hfp:hasProperty name="ordered" value="false"/>
|
|
660 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
661 |
<hfp:hasProperty name="cardinality"
|
|
662 |
value="countably infinite"/>
|
|
663 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
664 |
</xsd:appinfo>
|
|
665 |
<xsd:documentation
|
|
666 |
source="http://www.w3.org/TR/xmlschema-2/#ENTITIES"/>
|
|
667 |
</xsd:annotation>
|
|
668 |
<xsd:restriction>
|
|
669 |
<xsd:simpleType>
|
|
670 |
<xsd:list itemType="xsd:ENTITY"/>
|
|
671 |
</xsd:simpleType>
|
|
672 |
<xsd:minLength value="1" id="ENTITIES.minLength"/>
|
|
673 |
</xsd:restriction>
|
|
674 |
</xsd:simpleType>
|
|
675 |
|
|
676 |
<xsd:simpleType name="NMTOKEN" id="NMTOKEN">
|
|
677 |
<xsd:annotation>
|
|
678 |
<xsd:documentation
|
|
679 |
source="http://www.w3.org/TR/xmlschema-2/#NMTOKEN"/>
|
|
680 |
</xsd:annotation>
|
|
681 |
<xsd:restriction base="xsd:token">
|
|
682 |
<xsd:pattern value="[\w.\-:]+" id="NMTOKEN.pattern">
|
|
683 |
<xsd:annotation>
|
|
684 |
<xsd:documentation
|
|
685 |
source="http://www.w3.org/TR/REC-xml#NT-Nmtoken">
|
|
686 |
pattern matches production 7 from the XML spec
|
|
687 |
</xsd:documentation>
|
|
688 |
</xsd:annotation>
|
|
689 |
</xsd:pattern>
|
|
690 |
</xsd:restriction>
|
|
691 |
</xsd:simpleType>
|
|
692 |
|
|
693 |
<xsd:simpleType name="NMTOKENS" id="NMTOKENS">
|
|
694 |
<xsd:annotation>
|
|
695 |
<xsd:appinfo>
|
|
696 |
<hfp:hasFacet name="length"/>
|
|
697 |
<hfp:hasFacet name="minLength"/>
|
|
698 |
<hfp:hasFacet name="maxLength"/>
|
|
699 |
<hfp:hasFacet name="enumeration"/>
|
|
700 |
<hfp:hasFacet name="whiteSpace"/>
|
|
701 |
<hfp:hasProperty name="ordered" value="false"/>
|
|
702 |
<hfp:hasProperty name="bounded" value="false"/>
|
|
703 |
<hfp:hasProperty name="cardinality"
|
|
704 |
value="countably infinite"/>
|
|
705 |
<hfp:hasProperty name="numeric" value="false"/>
|
|
706 |
</xsd:appinfo>
|
|
707 |
<xsd:documentation
|
|
708 |
source="http://www.w3.org/TR/xmlschema-2/#NMTOKENS"/>
|
|
709 |
</xsd:annotation>
|
|
710 |
<xsd:restriction>
|
|
711 |
<xsd:simpleType>
|
|
712 |
<xsd:list itemType="xsd:NMTOKEN"/>
|
|
713 |
</xsd:simpleType>
|
|
714 |
<xsd:minLength value="1" id="NMTOKENS.minLength"/>
|
|
715 |
</xsd:restriction>
|
|
716 |
</xsd:simpleType>
|
|
717 |
|
|
718 |
<xsd:simpleType name="Name" id="Name">
|
|
719 |
<xsd:annotation>
|
|
720 |
<xsd:documentation
|
|
721 |
source="http://www.w3.org/TR/xmlschema-2/#Name"/>
|
|
722 |
</xsd:annotation>
|
|
723 |
<xsd:restriction base="xsd:token">
|
|
724 |
<xsd:pattern value="[a-zA-z_:][\w.\-:]*" id="Name.pattern">
|
|
725 |
<xsd:annotation>
|
|
726 |
<xsd:documentation
|
|
727 |
source="http://www.w3.org/TR/REC-xml#NT-Name">
|
|
728 |
pattern matches production 5 from the XML spec
|
|
729 |
</xsd:documentation>
|
|
730 |
</xsd:annotation>
|
|
731 |
</xsd:pattern>
|
|
732 |
</xsd:restriction>
|
|
733 |
</xsd:simpleType>
|
|
734 |
|
|
735 |
<xsd:simpleType name="NCName" id="NCName">
|
|
736 |
<xsd:annotation>
|
|
737 |
<xsd:documentation
|
|
738 |
source="http://www.w3.org/TR/xmlschema-2/#NCName"/>
|
|
739 |
</xsd:annotation>
|
|
740 |
<xsd:restriction base="xsd:Name">
|
|
741 |
<xsd:pattern value="[a-zA-z_][\w.\-]*" id="NCName.pattern">
|
|
742 |
<xsd:annotation>
|
|
743 |
<xsd:documentation
|
|
744 |
source="http://www.w3.org/TR/REC-xml-names/#NT-NCName">
|
|
745 |
pattern matches production 4 from the Namespaces in XML spec
|
|
746 |
</xsd:documentation>
|
|
747 |
</xsd:annotation>
|
|
748 |
</xsd:pattern>
|
|
749 |
</xsd:restriction>
|
|
750 |
</xsd:simpleType>
|
|
751 |
|
|
752 |
<xsd:simpleType name="ID" id="ID">
|
|
753 |
<xsd:annotation>
|
|
754 |
<xsd:documentation
|
|
755 |
source="http://www.w3.org/TR/xmlschema-2/#ID"/>
|
|
756 |
</xsd:annotation>
|
|
757 |
<xsd:restriction base="xsd:NCName"/>
|
|
758 |
</xsd:simpleType>
|
|
759 |
|
|
760 |
<xsd:simpleType name="IDREF" id="IDREF">
|
|
761 |
<xsd:annotation>
|
|
762 |
<xsd:documentation
|
|
763 |
source="http://www.w3.org/TR/xmlschema-2/#IDREF"/>
|
|
764 |
</xsd:annotation>
|
|
765 |
<xsd:restriction base="xsd:NCName"/>
|
|
766 |
</xsd:simpleType>
|
|
767 |
|
|
768 |
<xsd:simpleType name="ENTITY" id="ENTITY">
|
|
769 |
<xsd:annotation>
|
|
770 |
<xsd:documentation
|
|
771 |
source="http://www.w3.org/TR/xmlschema-2/#ENTITY"/>
|
|
772 |
</xsd:annotation>
|
|
773 |
<xsd:restriction base="xsd:NCName"/>
|
|
774 |
</xsd:simpleType>
|
|
775 |
|
|
776 |
<!--
|
|
777 |
<xsd:simpleType name="integer" id="integer">
|
|
778 |
<xsd:annotation>
|
|
779 |
<xsd:documentation
|
|
780 |
source="http://www.w3.org/TR/xmlschema-2/#integer"/>
|
|
781 |
</xsd:annotation>
|
|
782 |
<xsd:restriction base="xsd:decimal">
|
|
783 |
<xsd:fractionDigits value="0" fixed="true" id="integer.fractionDigits"/>
|
|
784 |
</xsd:restriction>
|
|
785 |
</xsd:simpleType>
|
|
786 |
-->
|
|
787 |
|
|
788 |
<xsd:simpleType name="nonPositiveInteger" id="nonPositiveInteger">
|
|
789 |
<xsd:annotation>
|
|
790 |
<xsd:documentation
|
|
791 |
source="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger"/>
|
|
792 |
</xsd:annotation>
|
|
793 |
<xsd:restriction base="xsd:integer">
|
|
794 |
<xsd:maxInclusive value="0" id="nonPositiveInteger.maxInclusive"/>
|
|
795 |
</xsd:restriction>
|
|
796 |
</xsd:simpleType>
|
|
797 |
|
|
798 |
<xsd:simpleType name="negativeInteger" id="negativeInteger">
|
|
799 |
<xsd:annotation>
|
|
800 |
<xsd:documentation
|
|
801 |
source="http://www.w3.org/TR/xmlschema-2/#negativeInteger"/>
|
|
802 |
</xsd:annotation>
|
|
803 |
<xsd:restriction base="xsd:nonPositiveInteger">
|
|
804 |
<xsd:maxInclusive value="-1" id="negativeInteger.maxInclusive"/>
|
|
805 |
</xsd:restriction>
|
|
806 |
</xsd:simpleType>
|
|
807 |
|
|
808 |
<xsd:simpleType name="long" id="long">
|
|
809 |
<xsd:annotation>
|
|
810 |
<xsd:appinfo>
|
|
811 |
<hfp:hasProperty name="bounded" value="true"/>
|
|
812 |
<hfp:hasProperty name="cardinality" value="finite"/>
|
|
813 |
</xsd:appinfo>
|
|
814 |
<xsd:documentation
|
|
815 |
source="http://www.w3.org/TR/xmlschema-2/#long"/>
|
|
816 |
</xsd:annotation>
|
|
817 |
<xsd:restriction base="xsd:integer">
|
|
818 |
<xsd:minInclusive value="-2147483648" id="long.minInclusive"/>
|
|
819 |
<xsd:maxInclusive value="2147483647" id="long.maxInclusive"/>
|
|
820 |
</xsd:restriction>
|
|
821 |
</xsd:simpleType>
|
|
822 |
|
|
823 |
<xsd:simpleType name="int" id="int">
|
|
824 |
<xsd:annotation>
|
|
825 |
<xsd:documentation
|
|
826 |
source="http://www.w3.org/TR/xmlschema-2/#int"/>
|
|
827 |
</xsd:annotation>
|
|
828 |
<xsd:restriction base="xsd:long">
|
|
829 |
<xsd:minInclusive value="-2147483648" id="int.minInclusive"/>
|
|
830 |
<xsd:maxInclusive value="2147483647" id="int.maxInclusive"/>
|
|
831 |
</xsd:restriction>
|
|
832 |
</xsd:simpleType>
|
|
833 |
|
|
834 |
<xsd:simpleType name="short" id="short">
|
|
835 |
<xsd:annotation>
|
|
836 |
<xsd:documentation
|
|
837 |
source="http://www.w3.org/TR/xmlschema-2/#short"/>
|
|
838 |
</xsd:annotation>
|
|
839 |
<xsd:restriction base="xsd:int">
|
|
840 |
<xsd:minInclusive value="-32768" id="short.minInclusive"/>
|
|
841 |
<xsd:maxInclusive value="32767" id="short.maxInclusive"/>
|
|
842 |
</xsd:restriction>
|
|
843 |
</xsd:simpleType>
|
|
844 |
|
|
845 |
<xsd:simpleType name="byte" id="byte">
|
|
846 |
<xsd:annotation>
|
|
847 |
<xsd:documentation
|
|
848 |
source="http://www.w3.org/TR/xmlschema-2/#byte"/>
|
|
849 |
</xsd:annotation>
|
|
850 |
<xsd:restriction base="xsd:short">
|
|
851 |
<xsd:minInclusive value="-128" id="byte.minInclusive"/>
|
|
852 |
<xsd:maxInclusive value="127" id="byte.maxInclusive"/>
|
|
853 |
</xsd:restriction>
|
|
854 |
</xsd:simpleType>
|
|
855 |
|
|
856 |
<xsd:simpleType name="nonNegativeInteger" id="nonNegativeInteger">
|
|
857 |
<xsd:annotation>
|
|
858 |
<xsd:documentation
|
|
859 |
source="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger"/>
|
|
860 |
</xsd:annotation>
|
|
861 |
<xsd:restriction base="xsd:integer">
|
|
862 |
<xsd:minInclusive value="0" id="nonNegativeInteger.minInclusive"/>
|
|
863 |
</xsd:restriction>
|
|
864 |
</xsd:simpleType>
|
|
865 |
|
|
866 |
<xsd:simpleType name="unsignedLong" id="unsignedLong">
|
|
867 |
<xsd:annotation>
|
|
868 |
<xsd:appinfo>
|
|
869 |
<hfp:hasProperty name="bounded" value="true"/>
|
|
870 |
<hfp:hasProperty name="cardinality" value="finite"/>
|
|
871 |
</xsd:appinfo>
|
|
872 |
<xsd:documentation
|
|
873 |
source="http://www.w3.org/TR/xmlschema-2/#unsignedLong"/>
|
|
874 |
</xsd:annotation>
|
|
875 |
<xsd:restriction base="xsd:nonNegativeInteger">
|
|
876 |
<xsd:maxInclusive value="2147483647"
|
|
877 |
id="unsignedLong.maxInclusive"/>
|
|
878 |
</xsd:restriction>
|
|
879 |
</xsd:simpleType>
|
|
880 |
|
|
881 |
<xsd:simpleType name="unsignedInt" id="unsignedInt">
|
|
882 |
<xsd:annotation>
|
|
883 |
<xsd:documentation
|
|
884 |
source="http://www.w3.org/TR/xmlschema-2/#unsignedInt"/>
|
|
885 |
</xsd:annotation>
|
|
886 |
<xsd:restriction base="xsd:unsignedLong">
|
|
887 |
<xsd:maxInclusive value="2147483647"
|
|
888 |
id="unsignedInt.maxInclusive"/>
|
|
889 |
</xsd:restriction>
|
|
890 |
</xsd:simpleType>
|
|
891 |
|
|
892 |
<xsd:simpleType name="unsignedShort" id="unsignedShort">
|
|
893 |
<xsd:annotation>
|
|
894 |
<xsd:documentation
|
|
895 |
source="http://www.w3.org/TR/xmlschema-2/#unsignedShort"/>
|
|
896 |
</xsd:annotation>
|
|
897 |
<xsd:restriction base="xsd:unsignedInt">
|
|
898 |
<xsd:maxInclusive value="65535"
|
|
899 |
id="unsignedShort.maxInclusive"/>
|
|
900 |
</xsd:restriction>
|
|
901 |
</xsd:simpleType>
|
|
902 |
|
|
903 |
<xsd:simpleType name="unsignedByte" id="unsignedBtype">
|
|
904 |
<xsd:annotation>
|
|
905 |
<xsd:documentation
|
|
906 |
source="http://www.w3.org/TR/xmlschema-2/#unsignedByte"/>
|
|
907 |
</xsd:annotation>
|
|
908 |
<xsd:restriction base="xsd:unsignedShort">
|
|
909 |
<xsd:maxInclusive value="255" id="unsignedByte.maxInclusive"/>
|
|
910 |
</xsd:restriction>
|
|
911 |
</xsd:simpleType>
|
|
912 |
|
|
913 |
<xsd:simpleType name="positiveInteger" id="positiveInteger">
|
|
914 |
<xsd:annotation>
|
|
915 |
<xsd:documentation
|
|
916 |
source="http://www.w3.org/TR/xmlschema-2/#positiveInteger"/>
|
|
917 |
</xsd:annotation>
|
|
918 |
<xsd:restriction base="xsd:nonNegativeInteger">
|
|
919 |
<xsd:minInclusive value="1" id="positiveInteger.minInclusive"/>
|
|
920 |
</xsd:restriction>
|
|
921 |
</xsd:simpleType>
|
|
922 |
|
|
923 |
<xsd:simpleType name="derivationControl">
|
|
924 |
<xsd:annotation>
|
|
925 |
<xsd:documentation>
|
|
926 |
A utility type, not for public use</xsd:documentation>
|
|
927 |
</xsd:annotation>
|
|
928 |
<xsd:restriction base="xsd:NMTOKEN">
|
|
929 |
<xsd:enumeration value="substitution"/>
|
|
930 |
<xsd:enumeration value="extension"/>
|
|
931 |
<xsd:enumeration value="restriction"/>
|
|
932 |
<xsd:enumeration value="list"/>
|
|
933 |
<xsd:enumeration value="union"/>
|
|
934 |
</xsd:restriction>
|
|
935 |
</xsd:simpleType>
|
|
936 |
|
|
937 |
<xsd:group name="simpleDerivation">
|
|
938 |
<xsd:choice>
|
|
939 |
<xsd:element ref="xsd:restriction"/>
|
|
940 |
<xsd:element ref="xsd:list"/>
|
|
941 |
<xsd:element ref="xsd:union"/>
|
|
942 |
</xsd:choice>
|
|
943 |
</xsd:group>
|
|
944 |
|
|
945 |
<xsd:simpleType name="simpleDerivationSet">
|
|
946 |
<xsd:annotation>
|
|
947 |
<xsd:documentation>
|
|
948 |
#all or (possibly empty) subset of {restriction, union, list}
|
|
949 |
</xsd:documentation>
|
|
950 |
<xsd:documentation>
|
|
951 |
A utility type, not for public use</xsd:documentation>
|
|
952 |
</xsd:annotation>
|
|
953 |
<xsd:union>
|
|
954 |
<xsd:simpleType>
|
|
955 |
<xsd:restriction base="xsd:token">
|
|
956 |
<xsd:enumeration value="#all"/>
|
|
957 |
</xsd:restriction>
|
|
958 |
</xsd:simpleType>
|
|
959 |
<xsd:simpleType>
|
|
960 |
<xsd:restriction base="xsd:derivationControl">
|
|
961 |
<xsd:enumeration value="list"/>
|
|
962 |
<xsd:enumeration value="union"/>
|
|
963 |
<xsd:enumeration value="restriction"/>
|
|
964 |
</xsd:restriction>
|
|
965 |
</xsd:simpleType>
|
|
966 |
</xsd:union>
|
|
967 |
</xsd:simpleType>
|
|
968 |
|
|
969 |
<xsd:complexType name="simpleType" abstract="true">
|
|
970 |
<xsd:complexContent>
|
|
971 |
<xsd:extension base="xsd:annotated">
|
|
972 |
<xsd:group ref="xsd:simpleDerivation"/>
|
|
973 |
<xsd:attribute name="final" type="xsd:simpleDerivationSet"/>
|
|
974 |
<xsd:attribute name="name" type="xsd:NCName">
|
|
975 |
<xsd:annotation>
|
|
976 |
<xsd:documentation>
|
|
977 |
Can be restricted to required or forbidden
|
|
978 |
</xsd:documentation>
|
|
979 |
</xsd:annotation>
|
|
980 |
</xsd:attribute>
|
|
981 |
</xsd:extension>
|
|
982 |
</xsd:complexContent>
|
|
983 |
</xsd:complexType>
|
|
984 |
|
|
985 |
<xsd:complexType name="topLevelSimpleType">
|
|
986 |
<xsd:complexContent>
|
|
987 |
<xsd:restriction base="xsd:simpleType">
|
|
988 |
<xsd:sequence>
|
|
989 |
<xsd:element ref="xsd:annotation" minOccurs="0"/>
|
|
990 |
<xsd:group ref="xsd:simpleDerivation"/>
|
|
991 |
</xsd:sequence>
|
|
992 |
<xsd:attribute name="name" use="required"
|
|
993 |
type="xsd:NCName">
|
|
994 |
<xsd:annotation>
|
|
995 |
<xsd:documentation>
|
|
996 |
Required at the top level
|
|
997 |
</xsd:documentation>
|
|
998 |
</xsd:annotation>
|
|
999 |
</xsd:attribute>
|
|
1000 |
</xsd:restriction>
|
|
1001 |
</xsd:complexContent>
|
|
1002 |
</xsd:complexType>
|
|
1003 |
|
|
1004 |
<xsd:complexType name="localSimpleType">
|
|
1005 |
<xsd:complexContent>
|
|
1006 |
<xsd:restriction base="xsd:simpleType">
|
|
1007 |
<xsd:sequence>
|
|
1008 |
<xsd:element ref="xsd:annotation" minOccurs="0"/>
|
|
1009 |
<xsd:group ref="xsd:simpleDerivation"/>
|
|
1010 |
</xsd:sequence>
|
|
1011 |
<xsd:attribute name="name" use="prohibited">
|
|
1012 |
<xsd:annotation>
|
|
1013 |
<xsd:documentation>
|
|
1014 |
Forbidden when nested
|
|
1015 |
</xsd:documentation>
|
|
1016 |
</xsd:annotation>
|
|
1017 |
</xsd:attribute>
|
|
1018 |
<xsd:attribute name="final" use="prohibited"/>
|
|
1019 |
</xsd:restriction>
|
|
1020 |
</xsd:complexContent>
|
|
1021 |
</xsd:complexType>
|
|
1022 |
|
|
1023 |
<xsd:element name="simpleType" type="xsd:topLevelSimpleType" id="simpleType">
|
|
1024 |
<xsd:annotation>
|
|
1025 |
<xsd:documentation
|
|
1026 |
source="http://www.w3.org/TR/xmlschema-2/#element-simpleType"/>
|
|
1027 |
</xsd:annotation>
|
|
1028 |
</xsd:element>
|
|
1029 |
|
|
1030 |
<xsd:group name="facets">
|
|
1031 |
<xsd:annotation>
|
|
1032 |
<xsd:documentation>
|
|
1033 |
We should use a substitution group for facets, but
|
|
1034 |
that's ruled out because it would allow users to
|
|
1035 |
add their own, which we're not ready for yet.
|
|
1036 |
</xsd:documentation>
|
|
1037 |
</xsd:annotation>
|
|
1038 |
<xsd:choice>
|
|
1039 |
<xsd:element ref="xsd:minExclusive"/>
|
|
1040 |
<xsd:element ref="xsd:minInclusive"/>
|
|
1041 |
<xsd:element ref="xsd:maxExclusive"/>
|
|
1042 |
<xsd:element ref="xsd:maxInclusive"/>
|
|
1043 |
<xsd:element ref="xsd:totalDigits"/>
|
|
1044 |
<xsd:element ref="xsd:fractionDigits"/>
|
|
1045 |
<xsd:element ref="xsd:length"/>
|
|
1046 |
<xsd:element ref="xsd:minLength"/>
|
|
1047 |
<xsd:element ref="xsd:maxLength"/>
|
|
1048 |
<xsd:element ref="xsd:enumeration"/>
|
|
1049 |
<xsd:element ref="xsd:whiteSpace"/>
|
|
1050 |
<xsd:element ref="xsd:pattern"/>
|
|
1051 |
</xsd:choice>
|
|
1052 |
</xsd:group>
|
|
1053 |
|
|
1054 |
<xsd:group name="simpleRestrictionModel">
|
|
1055 |
<xsd:sequence>
|
|
1056 |
<xsd:element name="simpleType" type="xsd:localSimpleType" minOccurs="0"/>
|
|
1057 |
<xsd:group ref="xsd:facets" minOccurs="0" maxOccurs="unbounded"/>
|
|
1058 |
</xsd:sequence>
|
|
1059 |
</xsd:group>
|
|
1060 |
|
|
1061 |
<xsd:element name="restriction" id="restriction">
|
|
1062 |
<xsd:complexType>
|
|
1063 |
<xsd:annotation>
|
|
1064 |
<xsd:documentation
|
|
1065 |
source="http://www.w3.org/TR/xmlschema-2/#element-restriction">
|
|
1066 |
base attribute and simpleType child are mutually
|
|
1067 |
exclusive, but one or other is required
|
|
1068 |
</xsd:documentation>
|
|
1069 |
</xsd:annotation>
|
|
1070 |
<xsd:complexContent>
|
|
1071 |
<xsd:extension base="xsd:annotated">
|
|
1072 |
<xsd:group ref="xsd:simpleRestrictionModel"/>
|
|
1073 |
<xsd:attribute name="base" type="xsd:QName" use="optional"/>
|
|
1074 |
</xsd:extension>
|
|
1075 |
</xsd:complexContent>
|
|
1076 |
</xsd:complexType>
|
|
1077 |
</xsd:element>
|
|
1078 |
|
|
1079 |
<xsd:element name="list" id="list">
|
|
1080 |
<xsd:complexType>
|
|
1081 |
<xsd:annotation>
|
|
1082 |
<xsd:documentation
|
|
1083 |
source="http://www.w3.org/TR/xmlschema-2/#element-list">
|
|
1084 |
itemType attribute and simpleType child are mutually
|
|
1085 |
exclusive, but one or other is required
|
|
1086 |
</xsd:documentation>
|
|
1087 |
</xsd:annotation>
|
|
1088 |
<xsd:complexContent>
|
|
1089 |
<xsd:extension base="xsd:annotated">
|
|
1090 |
<xsd:sequence>
|
|
1091 |
<xsd:element name="simpleType" type="xsd:localSimpleType"
|
|
1092 |
minOccurs="0"/>
|
|
1093 |
</xsd:sequence>
|
|
1094 |
<xsd:attribute name="itemType" type="xsd:QName" use="optional"/>
|
|
1095 |
</xsd:extension>
|
|
1096 |
</xsd:complexContent>
|
|
1097 |
</xsd:complexType>
|
|
1098 |
</xsd:element>
|
|
1099 |
|
|
1100 |
<xsd:element name="union" id="union">
|
|
1101 |
<xsd:complexType>
|
|
1102 |
<xsd:annotation>
|
|
1103 |
<xsd:documentation
|
|
1104 |
source="http://www.w3.org/TR/xmlschema-2/#element-union">
|
|
1105 |
memberTypes attribute must be non-empty or there must be
|
|
1106 |
at least one simpleType child
|
|
1107 |
</xsd:documentation>
|
|
1108 |
</xsd:annotation>
|
|
1109 |
<xsd:complexContent>
|
|
1110 |
<xsd:extension base="xsd:annotated">
|
|
1111 |
<xsd:sequence>
|
|
1112 |
<xsd:element name="simpleType" type="xsd:localSimpleType"
|
|
1113 |
minOccurs="0" maxOccurs="unbounded"/>
|
|
1114 |
</xsd:sequence>
|
|
1115 |
<xsd:attribute name="memberTypes" use="optional">
|
|
1116 |
<xsd:simpleType>
|
|
1117 |
<xsd:list itemType="xsd:QName"/>
|
|
1118 |
</xsd:simpleType>
|
|
1119 |
</xsd:attribute>
|
|
1120 |
</xsd:extension>
|
|
1121 |
</xsd:complexContent>
|
|
1122 |
</xsd:complexType>
|
|
1123 |
</xsd:element>
|
|
1124 |
|
|
1125 |
<xsd:complexType name="facet">
|
|
1126 |
<xsd:complexContent>
|
|
1127 |
<xsd:extension base="xsd:annotated">
|
|
1128 |
<xsd:attribute name="value" use="required"/>
|
|
1129 |
<xsd:attribute name="fixed" type="xsd:boolean" use="optional"
|
|
1130 |
default="false"/>
|
|
1131 |
</xsd:extension>
|
|
1132 |
</xsd:complexContent>
|
|
1133 |
</xsd:complexType>
|
|
1134 |
|
|
1135 |
<xsd:complexType name="noFixedFacet">
|
|
1136 |
<xsd:complexContent>
|
|
1137 |
<xsd:restriction base="xsd:facet">
|
|
1138 |
<xsd:sequence>
|
|
1139 |
<xsd:element ref="xsd:annotation" minOccurs="0"/>
|
|
1140 |
</xsd:sequence>
|
|
1141 |
<xsd:attribute name="fixed" use="prohibited"/>
|
|
1142 |
</xsd:restriction>
|
|
1143 |
</xsd:complexContent>
|
|
1144 |
</xsd:complexType>
|
|
1145 |
|
|
1146 |
<xsd:element name="minExclusive" id="minExclusive" type="xsd:facet">
|
|
1147 |
<xsd:annotation>
|
|
1148 |
<xsd:documentation
|
|
1149 |
source="http://www.w3.org/TR/xmlschema-2/#element-minExclusive"/>
|
|
1150 |
</xsd:annotation>
|
|
1151 |
</xsd:element>
|
|
1152 |
<xsd:element name="minInclusive" id="minInclusive" type="xsd:facet">
|
|
1153 |
<xsd:annotation>
|
|
1154 |
<xsd:documentation
|
|
1155 |
source="http://www.w3.org/TR/xmlschema-2/#element-minInclusive"/>
|
|
1156 |
</xsd:annotation>
|
|
1157 |
</xsd:element>
|
|
1158 |
|
|
1159 |
<xsd:element name="maxExclusive" id="maxExclusive" type="xsd:facet">
|
|
1160 |
<xsd:annotation>
|
|
1161 |
<xsd:documentation
|
|
1162 |
source="http://www.w3.org/TR/xmlschema-2/#element-maxExclusive"/>
|
|
1163 |
</xsd:annotation>
|
|
1164 |
</xsd:element>
|
|
1165 |
<xsd:element name="maxInclusive" id="maxInclusive" type="xsd:facet">
|
|
1166 |
<xsd:annotation>
|
|
1167 |
<xsd:documentation
|
|
1168 |
source="http://www.w3.org/TR/xmlschema-2/#element-maxInclusive"/>
|
|
1169 |
</xsd:annotation>
|
|
1170 |
</xsd:element>
|
|
1171 |
|
|
1172 |
<xsd:complexType name="numFacet">
|
|
1173 |
<xsd:complexContent>
|
|
1174 |
<xsd:restriction base="xsd:facet">
|
|
1175 |
<xsd:sequence>
|
|
1176 |
<xsd:element ref="xsd:annotation" minOccurs="0"/>
|
|
1177 |
</xsd:sequence>
|
|
1178 |
<xsd:attribute name="value" type="xsd:nonNegativeInteger" use="required"/>
|
|
1179 |
</xsd:restriction>
|
|
1180 |
</xsd:complexContent>
|
|
1181 |
</xsd:complexType>
|
|
1182 |
|
|
1183 |
<xsd:element name="totalDigits" id="totalDigits">
|
|
1184 |
<xsd:annotation>
|
|
1185 |
<xsd:documentation
|
|
1186 |
source="http://www.w3.org/TR/xmlschema-2/#element-totalDigits"/>
|
|
1187 |
</xsd:annotation>
|
|
1188 |
<xsd:complexType>
|
|
1189 |
<xsd:complexContent>
|
|
1190 |
<xsd:restriction base="xsd:numFacet">
|
|
1191 |
<xsd:sequence>
|
|
1192 |
<xsd:element ref="xsd:annotation" minOccurs="0"/>
|
|
1193 |
</xsd:sequence>
|
|
1194 |
<xsd:attribute name="value" type="xsd:positiveInteger" use="required"/>
|
|
1195 |
</xsd:restriction>
|
|
1196 |
</xsd:complexContent>
|
|
1197 |
</xsd:complexType>
|
|
1198 |
</xsd:element>
|
|
1199 |
<xsd:element name="fractionDigits" id="fractionDigits" type="xsd:numFacet">
|
|
1200 |
<xsd:annotation>
|
|
1201 |
<xsd:documentation
|
|
1202 |
source="http://www.w3.org/TR/xmlschema-2/#element-fractionDigits"/>
|
|
1203 |
</xsd:annotation>
|
|
1204 |
</xsd:element>
|
|
1205 |
|
|
1206 |
<xsd:element name="length" id="length" type="xsd:numFacet">
|
|
1207 |
<xsd:annotation>
|
|
1208 |
<xsd:documentation
|
|
1209 |
source="http://www.w3.org/TR/xmlschema-2/#element-length"/>
|
|
1210 |
</xsd:annotation>
|
|
1211 |
</xsd:element>
|
|
1212 |
<xsd:element name="minLength" id="minLength" type="xsd:numFacet">
|
|
1213 |
<xsd:annotation>
|
|
1214 |
<xsd:documentation
|
|
1215 |
source="http://www.w3.org/TR/xmlschema-2/#element-minLength"/>
|
|
1216 |
</xsd:annotation>
|
|
1217 |
</xsd:element>
|
|
1218 |
<xsd:element name="maxLength" id="maxLength" type="xsd:numFacet">
|
|
1219 |
<xsd:annotation>
|
|
1220 |
<xsd:documentation
|
|
1221 |
source="http://www.w3.org/TR/xmlschema-2/#element-maxLength"/>
|
|
1222 |
</xsd:annotation>
|
|
1223 |
</xsd:element>
|
|
1224 |
|
|
1225 |
<xsd:element name="enumeration" id="enumeration" type="xsd:noFixedFacet">
|
|
1226 |
<xsd:annotation>
|
|
1227 |
<xsd:documentation
|
|
1228 |
source="http://www.w3.org/TR/xmlschema-2/#element-enumeration"/>
|
|
1229 |
</xsd:annotation>
|
|
1230 |
</xsd:element>
|
|
1231 |
|
|
1232 |
<xsd:element name="whiteSpace" id="whiteSpace">
|
|
1233 |
<xsd:annotation>
|
|
1234 |
<xsd:documentation
|
|
1235 |
source="http://www.w3.org/TR/xmlschema-2/#element-whiteSpace"/>
|
|
1236 |
</xsd:annotation>
|
|
1237 |
<xsd:complexType>
|
|
1238 |
<xsd:complexContent>
|
|
1239 |
<xsd:restriction base="xsd:facet">
|
|
1240 |
<xsd:sequence>
|
|
1241 |
<xsd:element ref="xsd:annotation" minOccurs="0"/>
|
|
1242 |
</xsd:sequence>
|
|
1243 |
<xsd:attribute name="value" use="required">
|
|
1244 |
<xsd:simpleType>
|
|
1245 |
<xsd:restriction base="xsd:NMTOKEN">
|
|
1246 |
<xsd:enumeration value="preserve"/>
|
|
1247 |
<xsd:enumeration value="replace"/>
|
|
1248 |
<xsd:enumeration value="collapse"/>
|
|
1249 |
</xsd:restriction>
|
|
1250 |
</xsd:simpleType>
|
|
1251 |
</xsd:attribute>
|
|
1252 |
</xsd:restriction>
|
|
1253 |
</xsd:complexContent>
|
|
1254 |
</xsd:complexType>
|
|
1255 |
</xsd:element>
|
|
1256 |
|
|
1257 |
<xsd:element name="pattern" id="pattern" type="xsd:noFixedFacet">
|
|
1258 |
<xsd:annotation>
|
|
1259 |
<xsd:documentation
|
|
1260 |
source="http://www.w3.org/TR/xmlschema-2/#element-pattern"/>
|
|
1261 |
</xsd:annotation>
|
|
1262 |
</xsd:element>
|
|
1263 |
|
|
1264 |
</xsd:schema>
|