1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" blockDefault="#all" elementFormDefault="qualified" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="EN" xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty">
\r
5 Part 1 version: Id: structures.xsd,v 1.2 2004/01/15 11:34:25 ht Exp
\r
6 Part 2 version: Id: datatypes.xsd,v 1.3 2004/01/23 18:11:13 ht Exp
\r
11 <xs:documentation source="http://www.w3.org/TR/2004/PER-xmlschema-1-20040318/structures.html">
\r
12 The schema corresponding to this document is normative,
\r
13 with respect to the syntactic constraints it expresses in the
\r
14 XML Schema language. The documentation (within <documentation> elements)
\r
15 below, is not normative, but rather highlights important aspects of
\r
16 the W3C Recommendation of which this is a part</xs:documentation>
\r
21 The simpleType element and all of its members are defined
\r
22 towards the end of this schema document</xs:documentation>
\r
25 <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
\r
28 Get access to the xml: attribute groups for xml:lang
\r
29 as declared on 'schema' and 'documentation' below
\r
34 <xs:complexType name="openAttrs">
\r
37 This type is extended by almost all schema types
\r
38 to allow attributes from other namespaces to be
\r
39 added to user schemas.
\r
43 <xs:restriction base="xs:anyType">
\r
44 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
46 </xs:complexContent>
\r
49 <xs:complexType name="annotated">
\r
52 This type is extended by all types which allow annotation
\r
53 other than <schema> itself
\r
57 <xs:extension base="xs:openAttrs">
\r
59 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
61 <xs:attribute name="id" type="xs:ID"/>
\r
63 </xs:complexContent>
\r
66 <xs:group name="schemaTop">
\r
69 This group is for the
\r
70 elements which occur freely at the top level of schemas.
\r
71 All of their types are based on the "annotated" type by extension.</xs:documentation>
\r
74 <xs:group ref="xs:redefinable"/>
\r
75 <xs:element ref="xs:element"/>
\r
76 <xs:element ref="xs:attribute"/>
\r
77 <xs:element ref="xs:notation"/>
\r
81 <xs:group name="redefinable">
\r
84 This group is for the
\r
85 elements which can self-redefine (see <redefine> below).</xs:documentation>
\r
88 <xs:element ref="xs:simpleType"/>
\r
89 <xs:element ref="xs:complexType"/>
\r
90 <xs:element ref="xs:group"/>
\r
91 <xs:element ref="xs:attributeGroup"/>
\r
95 <xs:simpleType name="formChoice">
\r
98 A utility type, not for public use</xs:documentation>
\r
100 <xs:restriction base="xs:NMTOKEN">
\r
101 <xs:enumeration value="qualified"/>
\r
102 <xs:enumeration value="unqualified"/>
\r
106 <xs:simpleType name="reducedDerivationControl">
\r
109 A utility type, not for public use</xs:documentation>
\r
111 <xs:restriction base="xs:derivationControl">
\r
112 <xs:enumeration value="extension"/>
\r
113 <xs:enumeration value="restriction"/>
\r
117 <xs:simpleType name="derivationSet">
\r
120 A utility type, not for public use</xs:documentation>
\r
122 #all or (possibly empty) subset of {extension, restriction}</xs:documentation>
\r
126 <xs:restriction base="xs:token">
\r
127 <xs:enumeration value="#all"/>
\r
131 <xs:list itemType="xs:reducedDerivationControl"/>
\r
136 <xs:simpleType name="typeDerivationControl">
\r
139 A utility type, not for public use</xs:documentation>
\r
141 <xs:restriction base="xs:derivationControl">
\r
142 <xs:enumeration value="extension"/>
\r
143 <xs:enumeration value="restriction"/>
\r
144 <xs:enumeration value="list"/>
\r
145 <xs:enumeration value="union"/>
\r
149 <xs:simpleType name="fullDerivationSet">
\r
152 A utility type, not for public use</xs:documentation>
\r
154 #all or (possibly empty) subset of {extension, restriction, list, union}</xs:documentation>
\r
158 <xs:restriction base="xs:token">
\r
159 <xs:enumeration value="#all"/>
\r
163 <xs:list itemType="xs:typeDerivationControl"/>
\r
168 <xs:element name="schema" id="schema">
\r
170 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-schema"/>
\r
173 <xs:complexContent>
\r
174 <xs:extension base="xs:openAttrs">
\r
176 <xs:choice minOccurs="0" maxOccurs="unbounded">
\r
177 <xs:element ref="xs:include"/>
\r
178 <xs:element ref="xs:import"/>
\r
179 <xs:element ref="xs:redefine"/>
\r
180 <xs:element ref="xs:annotation"/>
\r
182 <xs:sequence minOccurs="0" maxOccurs="unbounded">
\r
183 <xs:group ref="xs:schemaTop"/>
\r
184 <xs:element ref="xs:annotation" minOccurs="0" maxOccurs="unbounded"/>
\r
187 <xs:attribute name="targetNamespace" type="xs:anyURI"/>
\r
188 <xs:attribute name="version" type="xs:token"/>
\r
189 <xs:attribute name="finalDefault" type="xs:fullDerivationSet" use="optional" default=""/>
\r
190 <xs:attribute name="blockDefault" type="xs:blockSet" use="optional" default=""/>
\r
191 <xs:attribute name="attributeFormDefault" type="xs:formChoice" use="optional" default="unqualified"/>
\r
192 <xs:attribute name="elementFormDefault" type="xs:formChoice" use="optional" default="unqualified"/>
\r
193 <xs:attribute name="id" type="xs:ID"/>
\r
194 <xs:attribute ref="xml:lang"/>
\r
196 </xs:complexContent>
\r
199 <xs:key name="element">
\r
200 <xs:selector xpath="xs:element"/>
\r
201 <xs:field xpath="@name"/>
\r
204 <xs:key name="attribute">
\r
205 <xs:selector xpath="xs:attribute"/>
\r
206 <xs:field xpath="@name"/>
\r
209 <xs:key name="type">
\r
210 <xs:selector xpath="xs:complexType|xs:simpleType"/>
\r
211 <xs:field xpath="@name"/>
\r
214 <xs:key name="group">
\r
215 <xs:selector xpath="xs:group"/>
\r
216 <xs:field xpath="@name"/>
\r
219 <xs:key name="attributeGroup">
\r
220 <xs:selector xpath="xs:attributeGroup"/>
\r
221 <xs:field xpath="@name"/>
\r
224 <xs:key name="notation">
\r
225 <xs:selector xpath="xs:notation"/>
\r
226 <xs:field xpath="@name"/>
\r
229 <xs:key name="identityConstraint">
\r
230 <xs:selector xpath=".//xs:key|.//xs:unique|.//xs:keyref"/>
\r
231 <xs:field xpath="@name"/>
\r
236 <xs:simpleType name="allNNI">
\r
237 <xs:annotation><xs:documentation>
\r
238 for maxOccurs</xs:documentation></xs:annotation>
\r
239 <xs:union memberTypes="xs:nonNegativeInteger">
\r
241 <xs:restriction base="xs:NMTOKEN">
\r
242 <xs:enumeration value="unbounded"/>
\r
248 <xs:attributeGroup name="occurs">
\r
249 <xs:annotation><xs:documentation>
\r
250 for all particles</xs:documentation></xs:annotation>
\r
251 <xs:attribute name="minOccurs" type="xs:nonNegativeInteger" use="optional" default="1"/>
\r
252 <xs:attribute name="maxOccurs" type="xs:allNNI" use="optional" default="1"/>
\r
253 </xs:attributeGroup>
\r
255 <xs:attributeGroup name="defRef">
\r
256 <xs:annotation><xs:documentation>
\r
257 for element, group and attributeGroup,
\r
258 which both define and reference</xs:documentation></xs:annotation>
\r
259 <xs:attribute name="name" type="xs:NCName"/>
\r
260 <xs:attribute name="ref" type="xs:QName"/>
\r
261 </xs:attributeGroup>
\r
263 <xs:group name="typeDefParticle">
\r
266 'complexType' uses this</xs:documentation></xs:annotation>
\r
268 <xs:element name="group" type="xs:groupRef"/>
\r
269 <xs:element ref="xs:all"/>
\r
270 <xs:element ref="xs:choice"/>
\r
271 <xs:element ref="xs:sequence"/>
\r
277 <xs:group name="nestedParticle">
\r
279 <xs:element name="element" type="xs:localElement"/>
\r
280 <xs:element name="group" type="xs:groupRef"/>
\r
281 <xs:element ref="xs:choice"/>
\r
282 <xs:element ref="xs:sequence"/>
\r
283 <xs:element ref="xs:any"/>
\r
287 <xs:group name="particle">
\r
289 <xs:element name="element" type="xs:localElement"/>
\r
290 <xs:element name="group" type="xs:groupRef"/>
\r
291 <xs:element ref="xs:all"/>
\r
292 <xs:element ref="xs:choice"/>
\r
293 <xs:element ref="xs:sequence"/>
\r
294 <xs:element ref="xs:any"/>
\r
298 <xs:complexType name="attribute">
\r
299 <xs:complexContent>
\r
300 <xs:extension base="xs:annotated">
\r
302 <xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>
\r
304 <xs:attributeGroup ref="xs:defRef"/>
\r
305 <xs:attribute name="type" type="xs:QName"/>
\r
306 <xs:attribute name="use" use="optional" default="optional">
\r
308 <xs:restriction base="xs:NMTOKEN">
\r
309 <xs:enumeration value="prohibited"/>
\r
310 <xs:enumeration value="optional"/>
\r
311 <xs:enumeration value="required"/>
\r
315 <xs:attribute name="default" type="xs:string"/>
\r
316 <xs:attribute name="fixed" type="xs:string"/>
\r
317 <xs:attribute name="form" type="xs:formChoice"/>
\r
319 </xs:complexContent>
\r
322 <xs:complexType name="topLevelAttribute">
\r
323 <xs:complexContent>
\r
324 <xs:restriction base="xs:attribute">
\r
326 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
327 <xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>
\r
329 <xs:attribute name="ref" use="prohibited"/>
\r
330 <xs:attribute name="form" use="prohibited"/>
\r
331 <xs:attribute name="use" use="prohibited"/>
\r
332 <xs:attribute name="name" use="required" type="xs:NCName"/>
\r
333 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
335 </xs:complexContent>
\r
338 <xs:group name="attrDecls">
\r
340 <xs:choice minOccurs="0" maxOccurs="unbounded">
\r
341 <xs:element name="attribute" type="xs:attribute"/>
\r
342 <xs:element name="attributeGroup" type="xs:attributeGroupRef"/>
\r
344 <xs:element ref="xs:anyAttribute" minOccurs="0"/>
\r
348 <xs:element name="anyAttribute" type="xs:wildcard" id="anyAttribute">
\r
350 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-anyAttribute"/>
\r
354 <xs:group name="complexTypeModel">
\r
356 <xs:element ref="xs:simpleContent"/>
\r
357 <xs:element ref="xs:complexContent"/>
\r
361 This branch is short for
\r
362 <complexContent>
\r
363 <restriction base="xs:anyType">
\r
365 </restriction>
\r
366 </complexContent></xs:documentation>
\r
368 <xs:group ref="xs:typeDefParticle" minOccurs="0"/>
\r
369 <xs:group ref="xs:attrDecls"/>
\r
374 <xs:complexType name="complexType" abstract="true">
\r
375 <xs:complexContent>
\r
376 <xs:extension base="xs:annotated">
\r
377 <xs:group ref="xs:complexTypeModel"/>
\r
378 <xs:attribute name="name" type="xs:NCName">
\r
381 Will be restricted to required or forbidden</xs:documentation>
\r
384 <xs:attribute name="mixed" type="xs:boolean" use="optional" default="false">
\r
387 Not allowed if simpleContent child is chosen.
\r
388 May be overriden by setting on complexContent child.</xs:documentation>
\r
391 <xs:attribute name="abstract" type="xs:boolean" use="optional" default="false"/>
\r
392 <xs:attribute name="final" type="xs:derivationSet"/>
\r
393 <xs:attribute name="block" type="xs:derivationSet"/>
\r
395 </xs:complexContent>
\r
398 <xs:complexType name="topLevelComplexType">
\r
399 <xs:complexContent>
\r
400 <xs:restriction base="xs:complexType">
\r
402 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
403 <xs:group ref="xs:complexTypeModel"/>
\r
405 <xs:attribute name="name" type="xs:NCName" use="required"/>
\r
406 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
408 </xs:complexContent>
\r
411 <xs:complexType name="localComplexType">
\r
412 <xs:complexContent>
\r
413 <xs:restriction base="xs:complexType">
\r
415 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
416 <xs:group ref="xs:complexTypeModel"/>
\r
418 <xs:attribute name="name" use="prohibited"/>
\r
419 <xs:attribute name="abstract" use="prohibited"/>
\r
420 <xs:attribute name="final" use="prohibited"/>
\r
421 <xs:attribute name="block" use="prohibited"/>
\r
422 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
424 </xs:complexContent>
\r
427 <xs:complexType name="restrictionType">
\r
428 <xs:complexContent>
\r
429 <xs:extension base="xs:annotated">
\r
431 <xs:choice minOccurs="0">
\r
432 <xs:group ref="xs:typeDefParticle"/>
\r
433 <xs:group ref="xs:simpleRestrictionModel"/>
\r
435 <xs:group ref="xs:attrDecls"/>
\r
437 <xs:attribute name="base" type="xs:QName" use="required"/>
\r
439 </xs:complexContent>
\r
442 <xs:complexType name="complexRestrictionType">
\r
443 <xs:complexContent>
\r
444 <xs:restriction base="xs:restrictionType">
\r
446 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
447 <xs:choice minOccurs="0">
\r
449 <xs:documentation>This choice is added simply to
\r
450 make this a valid restriction per the REC</xs:documentation>
\r
452 <xs:group ref="xs:typeDefParticle"/>
\r
454 <xs:group ref="xs:attrDecls"/>
\r
456 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
458 </xs:complexContent>
\r
461 <xs:complexType name="extensionType">
\r
462 <xs:complexContent>
\r
463 <xs:extension base="xs:annotated">
\r
465 <xs:group ref="xs:typeDefParticle" minOccurs="0"/>
\r
466 <xs:group ref="xs:attrDecls"/>
\r
468 <xs:attribute name="base" type="xs:QName" use="required"/>
\r
470 </xs:complexContent>
\r
473 <xs:element name="complexContent" id="complexContent">
\r
475 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexContent"/>
\r
478 <xs:complexContent>
\r
479 <xs:extension base="xs:annotated">
\r
481 <xs:element name="restriction" type="xs:complexRestrictionType"/>
\r
482 <xs:element name="extension" type="xs:extensionType"/>
\r
484 <xs:attribute name="mixed" type="xs:boolean">
\r
487 Overrides any setting on complexType parent.</xs:documentation>
\r
491 </xs:complexContent>
\r
495 <xs:complexType name="simpleRestrictionType">
\r
496 <xs:complexContent>
\r
497 <xs:restriction base="xs:restrictionType">
\r
499 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
500 <xs:choice minOccurs="0">
\r
502 <xs:documentation>This choice is added simply to
\r
503 make this a valid restriction per the REC</xs:documentation>
\r
505 <xs:group ref="xs:simpleRestrictionModel"/>
\r
507 <xs:group ref="xs:attrDecls"/>
\r
509 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
511 </xs:complexContent>
\r
514 <xs:complexType name="simpleExtensionType">
\r
515 <xs:complexContent>
\r
516 <xs:restriction base="xs:extensionType">
\r
520 No typeDefParticle group reference</xs:documentation>
\r
522 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
523 <xs:group ref="xs:attrDecls"/>
\r
525 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
527 </xs:complexContent>
\r
530 <xs:element name="simpleContent" id="simpleContent">
\r
532 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-simpleContent"/>
\r
535 <xs:complexContent>
\r
536 <xs:extension base="xs:annotated">
\r
538 <xs:element name="restriction" type="xs:simpleRestrictionType"/>
\r
539 <xs:element name="extension" type="xs:simpleExtensionType"/>
\r
542 </xs:complexContent>
\r
546 <xs:element name="complexType" type="xs:topLevelComplexType" id="complexType">
\r
548 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexType"/>
\r
553 <xs:simpleType name="blockSet">
\r
556 A utility type, not for public use</xs:documentation>
\r
558 #all or (possibly empty) subset of {substitution, extension,
\r
559 restriction}</xs:documentation>
\r
563 <xs:restriction base="xs:token">
\r
564 <xs:enumeration value="#all"/>
\r
570 <xs:restriction base="xs:derivationControl">
\r
571 <xs:enumeration value="extension"/>
\r
572 <xs:enumeration value="restriction"/>
\r
573 <xs:enumeration value="substitution"/>
\r
581 <xs:complexType name="element" abstract="true">
\r
584 The element element can be used either
\r
585 at the top level to define an element-type binding globally,
\r
586 or within a content model to either reference a globally-defined
\r
587 element or type or declare an element-type binding locally.
\r
588 The ref form is not allowed at the top level.</xs:documentation>
\r
591 <xs:complexContent>
\r
592 <xs:extension base="xs:annotated">
\r
594 <xs:choice minOccurs="0">
\r
595 <xs:element name="simpleType" type="xs:localSimpleType"/>
\r
596 <xs:element name="complexType" type="xs:localComplexType"/>
\r
598 <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
\r
600 <xs:attributeGroup ref="xs:defRef"/>
\r
601 <xs:attribute name="type" type="xs:QName"/>
\r
602 <xs:attribute name="substitutionGroup" type="xs:QName"/>
\r
603 <xs:attributeGroup ref="xs:occurs"/>
\r
604 <xs:attribute name="default" type="xs:string"/>
\r
605 <xs:attribute name="fixed" type="xs:string"/>
\r
606 <xs:attribute name="nillable" type="xs:boolean" use="optional" default="false"/>
\r
607 <xs:attribute name="abstract" type="xs:boolean" use="optional" default="false"/>
\r
608 <xs:attribute name="final" type="xs:derivationSet"/>
\r
609 <xs:attribute name="block" type="xs:blockSet"/>
\r
610 <xs:attribute name="form" type="xs:formChoice"/>
\r
612 </xs:complexContent>
\r
615 <xs:complexType name="topLevelElement">
\r
616 <xs:complexContent>
\r
617 <xs:restriction base="xs:element">
\r
619 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
620 <xs:choice minOccurs="0">
\r
621 <xs:element name="simpleType" type="xs:localSimpleType"/>
\r
622 <xs:element name="complexType" type="xs:localComplexType"/>
\r
624 <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
\r
626 <xs:attribute name="ref" use="prohibited"/>
\r
627 <xs:attribute name="form" use="prohibited"/>
\r
628 <xs:attribute name="minOccurs" use="prohibited"/>
\r
629 <xs:attribute name="maxOccurs" use="prohibited"/>
\r
630 <xs:attribute name="name" use="required" type="xs:NCName"/>
\r
631 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
633 </xs:complexContent>
\r
636 <xs:complexType name="localElement">
\r
637 <xs:complexContent>
\r
638 <xs:restriction base="xs:element">
\r
640 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
641 <xs:choice minOccurs="0">
\r
642 <xs:element name="simpleType" type="xs:localSimpleType"/>
\r
643 <xs:element name="complexType" type="xs:localComplexType"/>
\r
645 <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
\r
647 <xs:attribute name="substitutionGroup" use="prohibited"/>
\r
648 <xs:attribute name="final" use="prohibited"/>
\r
649 <xs:attribute name="abstract" use="prohibited"/>
\r
650 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
652 </xs:complexContent>
\r
655 <xs:element name="element" type="xs:topLevelElement" id="element">
\r
657 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-element"/>
\r
661 <xs:complexType name="group" abstract="true">
\r
664 group type for explicit groups, named top-level groups and
\r
665 group references</xs:documentation>
\r
667 <xs:complexContent>
\r
668 <xs:extension base="xs:annotated">
\r
669 <xs:group ref="xs:particle" minOccurs="0" maxOccurs="unbounded"/>
\r
670 <xs:attributeGroup ref="xs:defRef"/>
\r
671 <xs:attributeGroup ref="xs:occurs"/>
\r
673 </xs:complexContent>
\r
676 <xs:complexType name="realGroup">
\r
677 <xs:complexContent>
\r
678 <xs:restriction base="xs:group">
\r
680 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
681 <xs:choice minOccurs="0" maxOccurs="1">
\r
682 <xs:element ref="xs:all"/>
\r
683 <xs:element ref="xs:choice"/>
\r
684 <xs:element ref="xs:sequence"/>
\r
687 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
689 </xs:complexContent>
\r
692 <xs:complexType name="namedGroup">
\r
693 <xs:complexContent>
\r
694 <xs:restriction base="xs:realGroup">
\r
696 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
697 <xs:choice minOccurs="1" maxOccurs="1">
\r
698 <xs:element name="all">
\r
700 <xs:complexContent>
\r
701 <xs:restriction base="xs:all">
\r
702 <xs:group ref="xs:allModel"/>
\r
703 <xs:attribute name="minOccurs" use="prohibited"/>
\r
704 <xs:attribute name="maxOccurs" use="prohibited"/>
\r
705 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
707 </xs:complexContent>
\r
710 <xs:element name="choice" type="xs:simpleExplicitGroup"/>
\r
711 <xs:element name="sequence" type="xs:simpleExplicitGroup"/>
\r
714 <xs:attribute name="name" use="required" type="xs:NCName"/>
\r
715 <xs:attribute name="ref" use="prohibited"/>
\r
716 <xs:attribute name="minOccurs" use="prohibited"/>
\r
717 <xs:attribute name="maxOccurs" use="prohibited"/>
\r
718 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
720 </xs:complexContent>
\r
723 <xs:complexType name="groupRef">
\r
724 <xs:complexContent>
\r
725 <xs:restriction base="xs:realGroup">
\r
727 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
729 <xs:attribute name="ref" use="required" type="xs:QName"/>
\r
730 <xs:attribute name="name" use="prohibited"/>
\r
731 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
733 </xs:complexContent>
\r
736 <xs:complexType name="explicitGroup">
\r
739 group type for the three kinds of group</xs:documentation>
\r
741 <xs:complexContent>
\r
742 <xs:restriction base="xs:group">
\r
744 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
745 <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
\r
747 <xs:attribute name="name" type="xs:NCName" use="prohibited"/>
\r
748 <xs:attribute name="ref" type="xs:QName" use="prohibited"/>
\r
749 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
751 </xs:complexContent>
\r
754 <xs:complexType name="simpleExplicitGroup">
\r
755 <xs:complexContent>
\r
756 <xs:restriction base="xs:explicitGroup">
\r
758 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
759 <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
\r
761 <xs:attribute name="minOccurs" use="prohibited"/>
\r
762 <xs:attribute name="maxOccurs" use="prohibited"/>
\r
763 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
765 </xs:complexContent>
\r
768 <xs:group name="allModel">
\r
770 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
771 <xs:choice minOccurs="0" maxOccurs="unbounded">
\r
773 <xs:documentation>This choice with min/max is here to
\r
774 avoid a pblm with the Elt:All/Choice/Seq
\r
775 Particle derivation constraint</xs:documentation>
\r
777 <xs:element name="element" type="xs:narrowMaxMin"/>
\r
783 <xs:complexType name="narrowMaxMin">
\r
785 <xs:documentation>restricted max/min</xs:documentation>
\r
787 <xs:complexContent>
\r
788 <xs:restriction base="xs:localElement">
\r
790 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
791 <xs:choice minOccurs="0">
\r
792 <xs:element name="simpleType" type="xs:localSimpleType"/>
\r
793 <xs:element name="complexType" type="xs:localComplexType"/>
\r
795 <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
\r
797 <xs:attribute name="minOccurs" use="optional" default="1">
\r
799 <xs:restriction base="xs:nonNegativeInteger">
\r
800 <xs:enumeration value="0"/>
\r
801 <xs:enumeration value="1"/>
\r
805 <xs:attribute name="maxOccurs" use="optional" default="1">
\r
807 <xs:restriction base="xs:allNNI">
\r
808 <xs:enumeration value="0"/>
\r
809 <xs:enumeration value="1"/>
\r
813 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
815 </xs:complexContent>
\r
818 <xs:complexType name="all">
\r
821 Only elements allowed inside</xs:documentation>
\r
823 <xs:complexContent>
\r
824 <xs:restriction base="xs:explicitGroup">
\r
825 <xs:group ref="xs:allModel"/>
\r
826 <xs:attribute name="minOccurs" use="optional" default="1">
\r
828 <xs:restriction base="xs:nonNegativeInteger">
\r
829 <xs:enumeration value="0"/>
\r
830 <xs:enumeration value="1"/>
\r
834 <xs:attribute name="maxOccurs" use="optional" default="1">
\r
836 <xs:restriction base="xs:allNNI">
\r
837 <xs:enumeration value="1"/>
\r
841 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
843 </xs:complexContent>
\r
846 <xs:element name="all" id="all" type="xs:all">
\r
848 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-all"/>
\r
852 <xs:element name="choice" type="xs:explicitGroup" id="choice">
\r
854 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-choice"/>
\r
858 <xs:element name="sequence" type="xs:explicitGroup" id="sequence">
\r
860 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-sequence"/>
\r
864 <xs:element name="group" type="xs:namedGroup" id="group">
\r
866 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-group"/>
\r
870 <xs:complexType name="wildcard">
\r
871 <xs:complexContent>
\r
872 <xs:extension base="xs:annotated">
\r
873 <xs:attribute name="namespace" type="xs:namespaceList" use="optional" default="##any"/>
\r
874 <xs:attribute name="processContents" use="optional" default="strict">
\r
876 <xs:restriction base="xs:NMTOKEN">
\r
877 <xs:enumeration value="skip"/>
\r
878 <xs:enumeration value="lax"/>
\r
879 <xs:enumeration value="strict"/>
\r
884 </xs:complexContent>
\r
887 <xs:element name="any" id="any">
\r
889 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-any"/>
\r
892 <xs:complexContent>
\r
893 <xs:extension base="xs:wildcard">
\r
894 <xs:attributeGroup ref="xs:occurs"/>
\r
896 </xs:complexContent>
\r
902 simple type for the value of the 'namespace' attr of
\r
903 'any' and 'anyAttribute'</xs:documentation>
\r
908 ##any - - any non-conflicting WFXML/attribute at all
\r
910 ##other - - any non-conflicting WFXML/attribute from
\r
911 namespace other than targetNS
\r
913 ##local - - any unqualified non-conflicting WFXML/attribute
\r
915 one or - - any non-conflicting WFXML/attribute from
\r
916 more URI the listed namespaces
\r
920 ##targetNamespace or ##local may appear in the above list, to
\r
921 refer to the targetNamespace of the enclosing
\r
922 schema or an absent targetNamespace respectively</xs:documentation>
\r
925 <xs:simpleType name="namespaceList">
\r
928 A utility type, not for public use</xs:documentation>
\r
932 <xs:restriction base="xs:token">
\r
933 <xs:enumeration value="##any"/>
\r
934 <xs:enumeration value="##other"/>
\r
940 <xs:union memberTypes="xs:anyURI">
\r
942 <xs:restriction base="xs:token">
\r
943 <xs:enumeration value="##targetNamespace"/>
\r
944 <xs:enumeration value="##local"/>
\r
954 <xs:element name="attribute" type="xs:topLevelAttribute" id="attribute">
\r
956 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attribute"/>
\r
960 <xs:complexType name="attributeGroup" abstract="true">
\r
961 <xs:complexContent>
\r
962 <xs:extension base="xs:annotated">
\r
963 <xs:group ref="xs:attrDecls"/>
\r
964 <xs:attributeGroup ref="xs:defRef"/>
\r
966 </xs:complexContent>
\r
969 <xs:complexType name="namedAttributeGroup">
\r
970 <xs:complexContent>
\r
971 <xs:restriction base="xs:attributeGroup">
\r
973 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
974 <xs:group ref="xs:attrDecls"/>
\r
976 <xs:attribute name="name" use="required" type="xs:NCName"/>
\r
977 <xs:attribute name="ref" use="prohibited"/>
\r
978 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
980 </xs:complexContent>
\r
983 <xs:complexType name="attributeGroupRef">
\r
984 <xs:complexContent>
\r
985 <xs:restriction base="xs:attributeGroup">
\r
987 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
989 <xs:attribute name="ref" use="required" type="xs:QName"/>
\r
990 <xs:attribute name="name" use="prohibited"/>
\r
991 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
993 </xs:complexContent>
\r
996 <xs:element name="attributeGroup" type="xs:namedAttributeGroup" id="attributeGroup">
\r
998 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attributeGroup"/>
\r
1002 <xs:element name="include" id="include">
\r
1004 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-include"/>
\r
1007 <xs:complexContent>
\r
1008 <xs:extension base="xs:annotated">
\r
1009 <xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
\r
1011 </xs:complexContent>
\r
1015 <xs:element name="redefine" id="redefine">
\r
1017 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-redefine"/>
\r
1020 <xs:complexContent>
\r
1021 <xs:extension base="xs:openAttrs">
\r
1022 <xs:choice minOccurs="0" maxOccurs="unbounded">
\r
1023 <xs:element ref="xs:annotation"/>
\r
1024 <xs:group ref="xs:redefinable"/>
\r
1026 <xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
\r
1027 <xs:attribute name="id" type="xs:ID"/>
\r
1029 </xs:complexContent>
\r
1033 <xs:element name="import" id="import">
\r
1035 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-import"/>
\r
1038 <xs:complexContent>
\r
1039 <xs:extension base="xs:annotated">
\r
1040 <xs:attribute name="namespace" type="xs:anyURI"/>
\r
1041 <xs:attribute name="schemaLocation" type="xs:anyURI"/>
\r
1043 </xs:complexContent>
\r
1047 <xs:element name="selector" id="selector">
\r
1049 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-selector"/>
\r
1052 <xs:complexContent>
\r
1053 <xs:extension base="xs:annotated">
\r
1054 <xs:attribute name="xpath" use="required">
\r
1057 <xs:documentation>A subset of XPath expressions for use
\r
1058 in selectors</xs:documentation>
\r
1059 <xs:documentation>A utility type, not for public
\r
1060 use</xs:documentation>
\r
1062 <xs:restriction base="xs:token">
\r
1064 <xs:documentation>The following pattern is intended to allow XPath
\r
1065 expressions per the following EBNF:
\r
1066 Selector ::= Path ( '|' Path )*
\r
1067 Path ::= ('.//')? Step ( '/' Step )*
\r
1068 Step ::= '.' | NameTest
\r
1069 NameTest ::= QName | '*' | NCName ':' '*'
\r
1070 child:: is also allowed
\r
1071 </xs:documentation>
\r
1073 <xs:pattern value="(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)*">
\r
1079 </xs:complexContent>
\r
1083 <xs:element name="field" id="field">
\r
1085 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-field"/>
\r
1088 <xs:complexContent>
\r
1089 <xs:extension base="xs:annotated">
\r
1090 <xs:attribute name="xpath" use="required">
\r
1093 <xs:documentation>A subset of XPath expressions for use
\r
1094 in fields</xs:documentation>
\r
1095 <xs:documentation>A utility type, not for public
\r
1096 use</xs:documentation>
\r
1098 <xs:restriction base="xs:token">
\r
1100 <xs:documentation>The following pattern is intended to allow XPath
\r
1101 expressions per the same EBNF as for selector,
\r
1102 with the following change:
\r
1103 Path ::= ('.//')? ( Step '/' )* ( Step | '@' NameTest )
\r
1104 </xs:documentation>
\r
1106 <xs:pattern value="(\.//)?((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute::|@)((\i\c*:)?(\i\c*|\*))))(\|(\.//)?((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute::|@)((\i\c*:)?(\i\c*|\*)))))*">
\r
1112 </xs:complexContent>
\r
1116 <xs:complexType name="keybase">
\r
1117 <xs:complexContent>
\r
1118 <xs:extension base="xs:annotated">
\r
1120 <xs:element ref="xs:selector"/>
\r
1121 <xs:element ref="xs:field" minOccurs="1" maxOccurs="unbounded"/>
\r
1123 <xs:attribute name="name" type="xs:NCName" use="required"/>
\r
1125 </xs:complexContent>
\r
1128 <xs:group name="identityConstraint">
\r
1130 <xs:documentation>The three kinds of identity constraints, all with
\r
1131 type of or derived from 'keybase'.
\r
1132 </xs:documentation>
\r
1135 <xs:element ref="xs:unique"/>
\r
1136 <xs:element ref="xs:key"/>
\r
1137 <xs:element ref="xs:keyref"/>
\r
1141 <xs:element name="unique" type="xs:keybase" id="unique">
\r
1143 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-unique"/>
\r
1146 <xs:element name="key" type="xs:keybase" id="key">
\r
1148 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-key"/>
\r
1151 <xs:element name="keyref" id="keyref">
\r
1153 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-keyref"/>
\r
1156 <xs:complexContent>
\r
1157 <xs:extension base="xs:keybase">
\r
1158 <xs:attribute name="refer" type="xs:QName" use="required"/>
\r
1160 </xs:complexContent>
\r
1164 <xs:element name="notation" id="notation">
\r
1166 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-notation"/>
\r
1169 <xs:complexContent>
\r
1170 <xs:extension base="xs:annotated">
\r
1171 <xs:attribute name="name" type="xs:NCName" use="required"/>
\r
1172 <xs:attribute name="public" type="xs:public"/>
\r
1173 <xs:attribute name="system" type="xs:anyURI"/>
\r
1175 </xs:complexContent>
\r
1179 <xs:simpleType name="public">
\r
1181 <xs:documentation>
\r
1182 A utility type, not for public use</xs:documentation>
\r
1183 <xs:documentation>
\r
1184 A public identifier, per ISO 8879</xs:documentation>
\r
1186 <xs:restriction base="xs:token"/>
\r
1189 <xs:element name="appinfo" id="appinfo">
\r
1191 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-appinfo"/>
\r
1193 <xs:complexType mixed="true">
\r
1194 <xs:sequence minOccurs="0" maxOccurs="unbounded">
\r
1195 <xs:any processContents="lax"/>
\r
1197 <xs:attribute name="source" type="xs:anyURI"/>
\r
1198 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
1202 <xs:element name="documentation" id="documentation">
\r
1204 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-documentation"/>
\r
1206 <xs:complexType mixed="true">
\r
1207 <xs:sequence minOccurs="0" maxOccurs="unbounded">
\r
1208 <xs:any processContents="lax"/>
\r
1210 <xs:attribute name="source" type="xs:anyURI"/>
\r
1211 <xs:attribute ref="xml:lang"/>
\r
1212 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
1216 <xs:element name="annotation" id="annotation">
\r
1218 <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-annotation"/>
\r
1221 <xs:complexContent>
\r
1222 <xs:extension base="xs:openAttrs">
\r
1223 <xs:choice minOccurs="0" maxOccurs="unbounded">
\r
1224 <xs:element ref="xs:appinfo"/>
\r
1225 <xs:element ref="xs:documentation"/>
\r
1227 <xs:attribute name="id" type="xs:ID"/>
\r
1229 </xs:complexContent>
\r
1234 <xs:documentation>
\r
1235 notations for use within XML Schema schemas</xs:documentation>
\r
1238 <xs:notation name="XMLSchemaStructures" public="structures" system="http://www.w3.org/2000/08/XMLSchema.xsd"/>
\r
1239 <xs:notation name="XML" public="REC-xml-19980210" system="http://www.w3.org/TR/1998/REC-xml-19980210"/>
\r
1241 <xs:complexType name="anyType" mixed="true">
\r
1243 <xs:documentation>
\r
1244 Not the real urType, but as close an approximation as we can
\r
1245 get in the XML representation</xs:documentation>
\r
1248 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
\r
1250 <xs:anyAttribute processContents="lax"/>
\r
1254 <xs:documentation>
\r
1255 First the built-in primitive datatypes. These definitions are for
\r
1256 information only, the real built-in definitions are magic.
\r
1257 </xs:documentation>
\r
1259 <xs:documentation>
\r
1260 For each built-in datatype in this schema (both primitive and
\r
1261 derived) can be uniquely addressed via a URI constructed
\r
1263 1) the base URI is the URI of the XML Schema namespace
\r
1264 2) the fragment identifier is the name of the datatype
\r
1266 For example, to address the int datatype, the URI is:
\r
1268 http://www.w3.org/2001/XMLSchema#int
\r
1270 Additionally, each facet definition element can be uniquely
\r
1271 addressed via a URI constructed as follows:
\r
1272 1) the base URI is the URI of the XML Schema namespace
\r
1273 2) the fragment identifier is the name of the facet
\r
1275 For example, to address the maxInclusive facet, the URI is:
\r
1277 http://www.w3.org/2001/XMLSchema#maxInclusive
\r
1279 Additionally, each facet usage in a built-in datatype definition
\r
1280 can be uniquely addressed via a URI constructed as follows:
\r
1281 1) the base URI is the URI of the XML Schema namespace
\r
1282 2) the fragment identifier is the name of the datatype, followed
\r
1283 by a period (".") followed by the name of the facet
\r
1285 For example, to address the usage of the maxInclusive facet in
\r
1286 the definition of int, the URI is:
\r
1288 http://www.w3.org/2001/XMLSchema#int.maxInclusive
\r
1290 </xs:documentation>
\r
1293 <xs:simpleType name="string" id="string">
\r
1296 <hfp:hasFacet name="length"/>
\r
1297 <hfp:hasFacet name="minLength"/>
\r
1298 <hfp:hasFacet name="maxLength"/>
\r
1299 <hfp:hasFacet name="pattern"/>
\r
1300 <hfp:hasFacet name="enumeration"/>
\r
1301 <hfp:hasFacet name="whiteSpace"/>
\r
1302 <hfp:hasProperty name="ordered" value="false"/>
\r
1303 <hfp:hasProperty name="bounded" value="false"/>
\r
1304 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1305 <hfp:hasProperty name="numeric" value="false"/>
\r
1307 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#string"/>
\r
1309 <xs:restriction base="xs:anySimpleType">
\r
1310 <xs:whiteSpace value="preserve" id="string.preserve"/>
\r
1314 <xs:simpleType name="boolean" id="boolean">
\r
1317 <hfp:hasFacet name="pattern"/>
\r
1318 <hfp:hasFacet name="whiteSpace"/>
\r
1319 <hfp:hasProperty name="ordered" value="false"/>
\r
1320 <hfp:hasProperty name="bounded" value="false"/>
\r
1321 <hfp:hasProperty name="cardinality" value="finite"/>
\r
1322 <hfp:hasProperty name="numeric" value="false"/>
\r
1324 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#boolean"/>
\r
1326 <xs:restriction base="xs:anySimpleType">
\r
1327 <xs:whiteSpace value="collapse" fixed="true" id="boolean.whiteSpace"/>
\r
1331 <xs:simpleType name="float" id="float">
\r
1334 <hfp:hasFacet name="pattern"/>
\r
1335 <hfp:hasFacet name="enumeration"/>
\r
1336 <hfp:hasFacet name="whiteSpace"/>
\r
1337 <hfp:hasFacet name="maxInclusive"/>
\r
1338 <hfp:hasFacet name="maxExclusive"/>
\r
1339 <hfp:hasFacet name="minInclusive"/>
\r
1340 <hfp:hasFacet name="minExclusive"/>
\r
1341 <hfp:hasProperty name="ordered" value="total"/>
\r
1342 <hfp:hasProperty name="bounded" value="true"/>
\r
1343 <hfp:hasProperty name="cardinality" value="finite"/>
\r
1344 <hfp:hasProperty name="numeric" value="true"/>
\r
1346 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#float"/>
\r
1348 <xs:restriction base="xs:anySimpleType">
\r
1349 <xs:whiteSpace value="collapse" fixed="true" id="float.whiteSpace"/>
\r
1353 <xs:simpleType name="double" id="double">
\r
1356 <hfp:hasFacet name="pattern"/>
\r
1357 <hfp:hasFacet name="enumeration"/>
\r
1358 <hfp:hasFacet name="whiteSpace"/>
\r
1359 <hfp:hasFacet name="maxInclusive"/>
\r
1360 <hfp:hasFacet name="maxExclusive"/>
\r
1361 <hfp:hasFacet name="minInclusive"/>
\r
1362 <hfp:hasFacet name="minExclusive"/>
\r
1363 <hfp:hasProperty name="ordered" value="total"/>
\r
1364 <hfp:hasProperty name="bounded" value="true"/>
\r
1365 <hfp:hasProperty name="cardinality" value="finite"/>
\r
1366 <hfp:hasProperty name="numeric" value="true"/>
\r
1368 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#double"/>
\r
1370 <xs:restriction base="xs:anySimpleType">
\r
1371 <xs:whiteSpace value="collapse" fixed="true" id="double.whiteSpace"/>
\r
1375 <xs:simpleType name="decimal" id="decimal">
\r
1378 <hfp:hasFacet name="totalDigits"/>
\r
1379 <hfp:hasFacet name="fractionDigits"/>
\r
1380 <hfp:hasFacet name="pattern"/>
\r
1381 <hfp:hasFacet name="whiteSpace"/>
\r
1382 <hfp:hasFacet name="enumeration"/>
\r
1383 <hfp:hasFacet name="maxInclusive"/>
\r
1384 <hfp:hasFacet name="maxExclusive"/>
\r
1385 <hfp:hasFacet name="minInclusive"/>
\r
1386 <hfp:hasFacet name="minExclusive"/>
\r
1387 <hfp:hasProperty name="ordered" value="total"/>
\r
1388 <hfp:hasProperty name="bounded" value="false"/>
\r
1389 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1390 <hfp:hasProperty name="numeric" value="true"/>
\r
1392 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#decimal"/>
\r
1394 <xs:restriction base="xs:anySimpleType">
\r
1395 <xs:whiteSpace value="collapse" fixed="true" id="decimal.whiteSpace"/>
\r
1399 <xs:simpleType name="duration" id="duration">
\r
1402 <hfp:hasFacet name="pattern"/>
\r
1403 <hfp:hasFacet name="enumeration"/>
\r
1404 <hfp:hasFacet name="whiteSpace"/>
\r
1405 <hfp:hasFacet name="maxInclusive"/>
\r
1406 <hfp:hasFacet name="maxExclusive"/>
\r
1407 <hfp:hasFacet name="minInclusive"/>
\r
1408 <hfp:hasFacet name="minExclusive"/>
\r
1409 <hfp:hasProperty name="ordered" value="partial"/>
\r
1410 <hfp:hasProperty name="bounded" value="false"/>
\r
1411 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1412 <hfp:hasProperty name="numeric" value="false"/>
\r
1414 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#duration"/>
\r
1416 <xs:restriction base="xs:anySimpleType">
\r
1417 <xs:whiteSpace value="collapse" fixed="true" id="duration.whiteSpace"/>
\r
1421 <xs:simpleType name="dateTime" id="dateTime">
\r
1424 <hfp:hasFacet name="pattern"/>
\r
1425 <hfp:hasFacet name="enumeration"/>
\r
1426 <hfp:hasFacet name="whiteSpace"/>
\r
1427 <hfp:hasFacet name="maxInclusive"/>
\r
1428 <hfp:hasFacet name="maxExclusive"/>
\r
1429 <hfp:hasFacet name="minInclusive"/>
\r
1430 <hfp:hasFacet name="minExclusive"/>
\r
1431 <hfp:hasProperty name="ordered" value="partial"/>
\r
1432 <hfp:hasProperty name="bounded" value="false"/>
\r
1433 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1434 <hfp:hasProperty name="numeric" value="false"/>
\r
1436 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#dateTime"/>
\r
1438 <xs:restriction base="xs:anySimpleType">
\r
1439 <xs:whiteSpace value="collapse" fixed="true" id="dateTime.whiteSpace"/>
\r
1443 <xs:simpleType name="time" id="time">
\r
1446 <hfp:hasFacet name="pattern"/>
\r
1447 <hfp:hasFacet name="enumeration"/>
\r
1448 <hfp:hasFacet name="whiteSpace"/>
\r
1449 <hfp:hasFacet name="maxInclusive"/>
\r
1450 <hfp:hasFacet name="maxExclusive"/>
\r
1451 <hfp:hasFacet name="minInclusive"/>
\r
1452 <hfp:hasFacet name="minExclusive"/>
\r
1453 <hfp:hasProperty name="ordered" value="partial"/>
\r
1454 <hfp:hasProperty name="bounded" value="false"/>
\r
1455 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1456 <hfp:hasProperty name="numeric" value="false"/>
\r
1458 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#time"/>
\r
1460 <xs:restriction base="xs:anySimpleType">
\r
1461 <xs:whiteSpace value="collapse" fixed="true" id="time.whiteSpace"/>
\r
1465 <xs:simpleType name="date" id="date">
\r
1468 <hfp:hasFacet name="pattern"/>
\r
1469 <hfp:hasFacet name="enumeration"/>
\r
1470 <hfp:hasFacet name="whiteSpace"/>
\r
1471 <hfp:hasFacet name="maxInclusive"/>
\r
1472 <hfp:hasFacet name="maxExclusive"/>
\r
1473 <hfp:hasFacet name="minInclusive"/>
\r
1474 <hfp:hasFacet name="minExclusive"/>
\r
1475 <hfp:hasProperty name="ordered" value="partial"/>
\r
1476 <hfp:hasProperty name="bounded" value="false"/>
\r
1477 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1478 <hfp:hasProperty name="numeric" value="false"/>
\r
1480 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#date"/>
\r
1482 <xs:restriction base="xs:anySimpleType">
\r
1483 <xs:whiteSpace value="collapse" fixed="true" id="date.whiteSpace"/>
\r
1487 <xs:simpleType name="gYearMonth" id="gYearMonth">
\r
1490 <hfp:hasFacet name="pattern"/>
\r
1491 <hfp:hasFacet name="enumeration"/>
\r
1492 <hfp:hasFacet name="whiteSpace"/>
\r
1493 <hfp:hasFacet name="maxInclusive"/>
\r
1494 <hfp:hasFacet name="maxExclusive"/>
\r
1495 <hfp:hasFacet name="minInclusive"/>
\r
1496 <hfp:hasFacet name="minExclusive"/>
\r
1497 <hfp:hasProperty name="ordered" value="partial"/>
\r
1498 <hfp:hasProperty name="bounded" value="false"/>
\r
1499 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1500 <hfp:hasProperty name="numeric" value="false"/>
\r
1502 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gYearMonth"/>
\r
1504 <xs:restriction base="xs:anySimpleType">
\r
1505 <xs:whiteSpace value="collapse" fixed="true" id="gYearMonth.whiteSpace"/>
\r
1509 <xs:simpleType name="gYear" id="gYear">
\r
1512 <hfp:hasFacet name="pattern"/>
\r
1513 <hfp:hasFacet name="enumeration"/>
\r
1514 <hfp:hasFacet name="whiteSpace"/>
\r
1515 <hfp:hasFacet name="maxInclusive"/>
\r
1516 <hfp:hasFacet name="maxExclusive"/>
\r
1517 <hfp:hasFacet name="minInclusive"/>
\r
1518 <hfp:hasFacet name="minExclusive"/>
\r
1519 <hfp:hasProperty name="ordered" value="partial"/>
\r
1520 <hfp:hasProperty name="bounded" value="false"/>
\r
1521 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1522 <hfp:hasProperty name="numeric" value="false"/>
\r
1524 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gYear"/>
\r
1526 <xs:restriction base="xs:anySimpleType">
\r
1527 <xs:whiteSpace value="collapse" fixed="true" id="gYear.whiteSpace"/>
\r
1531 <xs:simpleType name="gMonthDay" id="gMonthDay">
\r
1534 <hfp:hasFacet name="pattern"/>
\r
1535 <hfp:hasFacet name="enumeration"/>
\r
1536 <hfp:hasFacet name="whiteSpace"/>
\r
1537 <hfp:hasFacet name="maxInclusive"/>
\r
1538 <hfp:hasFacet name="maxExclusive"/>
\r
1539 <hfp:hasFacet name="minInclusive"/>
\r
1540 <hfp:hasFacet name="minExclusive"/>
\r
1541 <hfp:hasProperty name="ordered" value="partial"/>
\r
1542 <hfp:hasProperty name="bounded" value="false"/>
\r
1543 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1544 <hfp:hasProperty name="numeric" value="false"/>
\r
1546 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gMonthDay"/>
\r
1548 <xs:restriction base="xs:anySimpleType">
\r
1549 <xs:whiteSpace value="collapse" fixed="true" id="gMonthDay.whiteSpace"/>
\r
1553 <xs:simpleType name="gDay" id="gDay">
\r
1556 <hfp:hasFacet name="pattern"/>
\r
1557 <hfp:hasFacet name="enumeration"/>
\r
1558 <hfp:hasFacet name="whiteSpace"/>
\r
1559 <hfp:hasFacet name="maxInclusive"/>
\r
1560 <hfp:hasFacet name="maxExclusive"/>
\r
1561 <hfp:hasFacet name="minInclusive"/>
\r
1562 <hfp:hasFacet name="minExclusive"/>
\r
1563 <hfp:hasProperty name="ordered" value="partial"/>
\r
1564 <hfp:hasProperty name="bounded" value="false"/>
\r
1565 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1566 <hfp:hasProperty name="numeric" value="false"/>
\r
1568 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gDay"/>
\r
1570 <xs:restriction base="xs:anySimpleType">
\r
1571 <xs:whiteSpace value="collapse" fixed="true" id="gDay.whiteSpace"/>
\r
1575 <xs:simpleType name="gMonth" id="gMonth">
\r
1578 <hfp:hasFacet name="pattern"/>
\r
1579 <hfp:hasFacet name="enumeration"/>
\r
1580 <hfp:hasFacet name="whiteSpace"/>
\r
1581 <hfp:hasFacet name="maxInclusive"/>
\r
1582 <hfp:hasFacet name="maxExclusive"/>
\r
1583 <hfp:hasFacet name="minInclusive"/>
\r
1584 <hfp:hasFacet name="minExclusive"/>
\r
1585 <hfp:hasProperty name="ordered" value="partial"/>
\r
1586 <hfp:hasProperty name="bounded" value="false"/>
\r
1587 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1588 <hfp:hasProperty name="numeric" value="false"/>
\r
1590 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gMonth"/>
\r
1592 <xs:restriction base="xs:anySimpleType">
\r
1593 <xs:whiteSpace value="collapse" fixed="true" id="gMonth.whiteSpace"/>
\r
1597 <xs:simpleType name="hexBinary" id="hexBinary">
\r
1600 <hfp:hasFacet name="length"/>
\r
1601 <hfp:hasFacet name="minLength"/>
\r
1602 <hfp:hasFacet name="maxLength"/>
\r
1603 <hfp:hasFacet name="pattern"/>
\r
1604 <hfp:hasFacet name="enumeration"/>
\r
1605 <hfp:hasFacet name="whiteSpace"/>
\r
1606 <hfp:hasProperty name="ordered" value="false"/>
\r
1607 <hfp:hasProperty name="bounded" value="false"/>
\r
1608 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1609 <hfp:hasProperty name="numeric" value="false"/>
\r
1611 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#binary"/>
\r
1613 <xs:restriction base="xs:anySimpleType">
\r
1614 <xs:whiteSpace value="collapse" fixed="true" id="hexBinary.whiteSpace"/>
\r
1618 <xs:simpleType name="base64Binary" id="base64Binary">
\r
1621 <hfp:hasFacet name="length"/>
\r
1622 <hfp:hasFacet name="minLength"/>
\r
1623 <hfp:hasFacet name="maxLength"/>
\r
1624 <hfp:hasFacet name="pattern"/>
\r
1625 <hfp:hasFacet name="enumeration"/>
\r
1626 <hfp:hasFacet name="whiteSpace"/>
\r
1627 <hfp:hasProperty name="ordered" value="false"/>
\r
1628 <hfp:hasProperty name="bounded" value="false"/>
\r
1629 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1630 <hfp:hasProperty name="numeric" value="false"/>
\r
1632 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#base64Binary"/>
\r
1634 <xs:restriction base="xs:anySimpleType">
\r
1635 <xs:whiteSpace value="collapse" fixed="true" id="base64Binary.whiteSpace"/>
\r
1639 <xs:simpleType name="anyURI" id="anyURI">
\r
1642 <hfp:hasFacet name="length"/>
\r
1643 <hfp:hasFacet name="minLength"/>
\r
1644 <hfp:hasFacet name="maxLength"/>
\r
1645 <hfp:hasFacet name="pattern"/>
\r
1646 <hfp:hasFacet name="enumeration"/>
\r
1647 <hfp:hasFacet name="whiteSpace"/>
\r
1648 <hfp:hasProperty name="ordered" value="false"/>
\r
1649 <hfp:hasProperty name="bounded" value="false"/>
\r
1650 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1651 <hfp:hasProperty name="numeric" value="false"/>
\r
1653 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#anyURI"/>
\r
1655 <xs:restriction base="xs:anySimpleType">
\r
1656 <xs:whiteSpace value="collapse" fixed="true" id="anyURI.whiteSpace"/>
\r
1660 <xs:simpleType name="QName" id="QName">
\r
1663 <hfp:hasFacet name="length"/>
\r
1664 <hfp:hasFacet name="minLength"/>
\r
1665 <hfp:hasFacet name="maxLength"/>
\r
1666 <hfp:hasFacet name="pattern"/>
\r
1667 <hfp:hasFacet name="enumeration"/>
\r
1668 <hfp:hasFacet name="whiteSpace"/>
\r
1669 <hfp:hasProperty name="ordered" value="false"/>
\r
1670 <hfp:hasProperty name="bounded" value="false"/>
\r
1671 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1672 <hfp:hasProperty name="numeric" value="false"/>
\r
1674 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#QName"/>
\r
1676 <xs:restriction base="xs:anySimpleType">
\r
1677 <xs:whiteSpace value="collapse" fixed="true" id="QName.whiteSpace"/>
\r
1681 <xs:simpleType name="NOTATION" id="NOTATION">
\r
1684 <hfp:hasFacet name="length"/>
\r
1685 <hfp:hasFacet name="minLength"/>
\r
1686 <hfp:hasFacet name="maxLength"/>
\r
1687 <hfp:hasFacet name="pattern"/>
\r
1688 <hfp:hasFacet name="enumeration"/>
\r
1689 <hfp:hasFacet name="whiteSpace"/>
\r
1690 <hfp:hasProperty name="ordered" value="false"/>
\r
1691 <hfp:hasProperty name="bounded" value="false"/>
\r
1692 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1693 <hfp:hasProperty name="numeric" value="false"/>
\r
1695 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NOTATION"/>
\r
1696 <xs:documentation>
\r
1697 NOTATION cannot be used directly in a schema; rather a type
\r
1698 must be derived from it by specifying at least one enumeration
\r
1699 facet whose value is the name of a NOTATION declared in the
\r
1701 </xs:documentation>
\r
1703 <xs:restriction base="xs:anySimpleType">
\r
1704 <xs:whiteSpace value="collapse" fixed="true" id="NOTATION.whiteSpace"/>
\r
1709 <xs:documentation>
\r
1710 Now the derived primitive types
\r
1711 </xs:documentation>
\r
1714 <xs:simpleType name="normalizedString" id="normalizedString">
\r
1716 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#normalizedString"/>
\r
1718 <xs:restriction base="xs:string">
\r
1719 <xs:whiteSpace value="replace" id="normalizedString.whiteSpace"/>
\r
1723 <xs:simpleType name="token" id="token">
\r
1725 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#token"/>
\r
1727 <xs:restriction base="xs:normalizedString">
\r
1728 <xs:whiteSpace value="collapse" id="token.whiteSpace"/>
\r
1732 <xs:simpleType name="language" id="language">
\r
1734 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#language"/>
\r
1736 <xs:restriction base="xs:token">
\r
1737 <xs:pattern value="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*" id="language.pattern">
\r
1739 <xs:documentation source="http://www.ietf.org/rfc/rfc3066.txt">
\r
1740 pattern specifies the content of section 2.12 of XML 1.0e2
\r
1741 and RFC 3066 (Revised version of RFC 1766).
\r
1742 </xs:documentation>
\r
1748 <xs:simpleType name="IDREFS" id="IDREFS">
\r
1751 <hfp:hasFacet name="length"/>
\r
1752 <hfp:hasFacet name="minLength"/>
\r
1753 <hfp:hasFacet name="maxLength"/>
\r
1754 <hfp:hasFacet name="enumeration"/>
\r
1755 <hfp:hasFacet name="whiteSpace"/>
\r
1756 <hfp:hasFacet name="pattern"/>
\r
1757 <hfp:hasProperty name="ordered" value="false"/>
\r
1758 <hfp:hasProperty name="bounded" value="false"/>
\r
1759 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1760 <hfp:hasProperty name="numeric" value="false"/>
\r
1762 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#IDREFS"/>
\r
1766 <xs:list itemType="xs:IDREF"/>
\r
1768 <xs:minLength value="1" id="IDREFS.minLength"/>
\r
1772 <xs:simpleType name="ENTITIES" id="ENTITIES">
\r
1775 <hfp:hasFacet name="length"/>
\r
1776 <hfp:hasFacet name="minLength"/>
\r
1777 <hfp:hasFacet name="maxLength"/>
\r
1778 <hfp:hasFacet name="enumeration"/>
\r
1779 <hfp:hasFacet name="whiteSpace"/>
\r
1780 <hfp:hasFacet name="pattern"/>
\r
1781 <hfp:hasProperty name="ordered" value="false"/>
\r
1782 <hfp:hasProperty name="bounded" value="false"/>
\r
1783 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1784 <hfp:hasProperty name="numeric" value="false"/>
\r
1786 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#ENTITIES"/>
\r
1790 <xs:list itemType="xs:ENTITY"/>
\r
1792 <xs:minLength value="1" id="ENTITIES.minLength"/>
\r
1796 <xs:simpleType name="NMTOKEN" id="NMTOKEN">
\r
1798 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NMTOKEN"/>
\r
1800 <xs:restriction base="xs:token">
\r
1801 <xs:pattern value="\c+" id="NMTOKEN.pattern">
\r
1803 <xs:documentation source="http://www.w3.org/TR/REC-xml#NT-Nmtoken">
\r
1804 pattern matches production 7 from the XML spec
\r
1805 </xs:documentation>
\r
1811 <xs:simpleType name="NMTOKENS" id="NMTOKENS">
\r
1814 <hfp:hasFacet name="length"/>
\r
1815 <hfp:hasFacet name="minLength"/>
\r
1816 <hfp:hasFacet name="maxLength"/>
\r
1817 <hfp:hasFacet name="enumeration"/>
\r
1818 <hfp:hasFacet name="whiteSpace"/>
\r
1819 <hfp:hasFacet name="pattern"/>
\r
1820 <hfp:hasProperty name="ordered" value="false"/>
\r
1821 <hfp:hasProperty name="bounded" value="false"/>
\r
1822 <hfp:hasProperty name="cardinality" value="countably infinite"/>
\r
1823 <hfp:hasProperty name="numeric" value="false"/>
\r
1825 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NMTOKENS"/>
\r
1829 <xs:list itemType="xs:NMTOKEN"/>
\r
1831 <xs:minLength value="1" id="NMTOKENS.minLength"/>
\r
1835 <xs:simpleType name="Name" id="Name">
\r
1837 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#Name"/>
\r
1839 <xs:restriction base="xs:token">
\r
1840 <xs:pattern value="\i\c*" id="Name.pattern">
\r
1842 <xs:documentation source="http://www.w3.org/TR/REC-xml#NT-Name">
\r
1843 pattern matches production 5 from the XML spec
\r
1844 </xs:documentation>
\r
1850 <xs:simpleType name="NCName" id="NCName">
\r
1852 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NCName"/>
\r
1854 <xs:restriction base="xs:Name">
\r
1855 <xs:pattern value="[\i-[:]][\c-[:]]*" id="NCName.pattern">
\r
1857 <xs:documentation source="http://www.w3.org/TR/REC-xml-names/#NT-NCName">
\r
1858 pattern matches production 4 from the Namespaces in XML spec
\r
1859 </xs:documentation>
\r
1865 <xs:simpleType name="ID" id="ID">
\r
1867 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#ID"/>
\r
1869 <xs:restriction base="xs:NCName"/>
\r
1872 <xs:simpleType name="IDREF" id="IDREF">
\r
1874 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#IDREF"/>
\r
1876 <xs:restriction base="xs:NCName"/>
\r
1879 <xs:simpleType name="ENTITY" id="ENTITY">
\r
1881 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#ENTITY"/>
\r
1883 <xs:restriction base="xs:NCName"/>
\r
1886 <xs:simpleType name="integer" id="integer">
\r
1888 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#integer"/>
\r
1890 <xs:restriction base="xs:decimal">
\r
1891 <xs:fractionDigits value="0" fixed="true" id="integer.fractionDigits"/>
\r
1892 <xs:pattern value="[\-+]?[0-9]+"/>
\r
1896 <xs:simpleType name="nonPositiveInteger" id="nonPositiveInteger">
\r
1898 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger"/>
\r
1900 <xs:restriction base="xs:integer">
\r
1901 <xs:maxInclusive value="0" id="nonPositiveInteger.maxInclusive"/>
\r
1905 <xs:simpleType name="negativeInteger" id="negativeInteger">
\r
1907 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#negativeInteger"/>
\r
1909 <xs:restriction base="xs:nonPositiveInteger">
\r
1910 <xs:maxInclusive value="-1" id="negativeInteger.maxInclusive"/>
\r
1914 <xs:simpleType name="long" id="long">
\r
1917 <hfp:hasProperty name="bounded" value="true"/>
\r
1918 <hfp:hasProperty name="cardinality" value="finite"/>
\r
1920 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#long"/>
\r
1922 <xs:restriction base="xs:integer">
\r
1923 <xs:minInclusive value="-9223372036854775808" id="long.minInclusive"/>
\r
1924 <xs:maxInclusive value="9223372036854775807" id="long.maxInclusive"/>
\r
1928 <xs:simpleType name="int" id="int">
\r
1930 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#int"/>
\r
1932 <xs:restriction base="xs:long">
\r
1933 <xs:minInclusive value="-2147483648" id="int.minInclusive"/>
\r
1934 <xs:maxInclusive value="2147483647" id="int.maxInclusive"/>
\r
1938 <xs:simpleType name="short" id="short">
\r
1940 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#short"/>
\r
1942 <xs:restriction base="xs:int">
\r
1943 <xs:minInclusive value="-32768" id="short.minInclusive"/>
\r
1944 <xs:maxInclusive value="32767" id="short.maxInclusive"/>
\r
1948 <xs:simpleType name="byte" id="byte">
\r
1950 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#byte"/>
\r
1952 <xs:restriction base="xs:short">
\r
1953 <xs:minInclusive value="-128" id="byte.minInclusive"/>
\r
1954 <xs:maxInclusive value="127" id="byte.maxInclusive"/>
\r
1958 <xs:simpleType name="nonNegativeInteger" id="nonNegativeInteger">
\r
1960 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger"/>
\r
1962 <xs:restriction base="xs:integer">
\r
1963 <xs:minInclusive value="0" id="nonNegativeInteger.minInclusive"/>
\r
1967 <xs:simpleType name="unsignedLong" id="unsignedLong">
\r
1970 <hfp:hasProperty name="bounded" value="true"/>
\r
1971 <hfp:hasProperty name="cardinality" value="finite"/>
\r
1973 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedLong"/>
\r
1975 <xs:restriction base="xs:nonNegativeInteger">
\r
1976 <xs:maxInclusive value="18446744073709551615" id="unsignedLong.maxInclusive"/>
\r
1980 <xs:simpleType name="unsignedInt" id="unsignedInt">
\r
1982 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedInt"/>
\r
1984 <xs:restriction base="xs:unsignedLong">
\r
1985 <xs:maxInclusive value="4294967295" id="unsignedInt.maxInclusive"/>
\r
1989 <xs:simpleType name="unsignedShort" id="unsignedShort">
\r
1991 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedShort"/>
\r
1993 <xs:restriction base="xs:unsignedInt">
\r
1994 <xs:maxInclusive value="65535" id="unsignedShort.maxInclusive"/>
\r
1998 <xs:simpleType name="unsignedByte" id="unsignedByte">
\r
2000 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedByte"/>
\r
2002 <xs:restriction base="xs:unsignedShort">
\r
2003 <xs:maxInclusive value="255" id="unsignedByte.maxInclusive"/>
\r
2007 <xs:simpleType name="positiveInteger" id="positiveInteger">
\r
2009 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#positiveInteger"/>
\r
2011 <xs:restriction base="xs:nonNegativeInteger">
\r
2012 <xs:minInclusive value="1" id="positiveInteger.minInclusive"/>
\r
2016 <xs:simpleType name="derivationControl">
\r
2018 <xs:documentation>
\r
2019 A utility type, not for public use</xs:documentation>
\r
2021 <xs:restriction base="xs:NMTOKEN">
\r
2022 <xs:enumeration value="substitution"/>
\r
2023 <xs:enumeration value="extension"/>
\r
2024 <xs:enumeration value="restriction"/>
\r
2025 <xs:enumeration value="list"/>
\r
2026 <xs:enumeration value="union"/>
\r
2030 <xs:group name="simpleDerivation">
\r
2032 <xs:element ref="xs:restriction"/>
\r
2033 <xs:element ref="xs:list"/>
\r
2034 <xs:element ref="xs:union"/>
\r
2038 <xs:simpleType name="simpleDerivationSet">
\r
2040 <xs:documentation>
\r
2041 #all or (possibly empty) subset of {restriction, union, list}
\r
2042 </xs:documentation>
\r
2043 <xs:documentation>
\r
2044 A utility type, not for public use</xs:documentation>
\r
2048 <xs:restriction base="xs:token">
\r
2049 <xs:enumeration value="#all"/>
\r
2055 <xs:restriction base="xs:derivationControl">
\r
2056 <xs:enumeration value="list"/>
\r
2057 <xs:enumeration value="union"/>
\r
2058 <xs:enumeration value="restriction"/>
\r
2066 <xs:complexType name="simpleType" abstract="true">
\r
2067 <xs:complexContent>
\r
2068 <xs:extension base="xs:annotated">
\r
2069 <xs:group ref="xs:simpleDerivation"/>
\r
2070 <xs:attribute name="final" type="xs:simpleDerivationSet"/>
\r
2071 <xs:attribute name="name" type="xs:NCName">
\r
2073 <xs:documentation>
\r
2074 Can be restricted to required or forbidden
\r
2075 </xs:documentation>
\r
2079 </xs:complexContent>
\r
2082 <xs:complexType name="topLevelSimpleType">
\r
2083 <xs:complexContent>
\r
2084 <xs:restriction base="xs:simpleType">
\r
2086 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
2087 <xs:group ref="xs:simpleDerivation"/>
\r
2089 <xs:attribute name="name" use="required" type="xs:NCName">
\r
2091 <xs:documentation>
\r
2092 Required at the top level
\r
2093 </xs:documentation>
\r
2096 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
2098 </xs:complexContent>
\r
2101 <xs:complexType name="localSimpleType">
\r
2102 <xs:complexContent>
\r
2103 <xs:restriction base="xs:simpleType">
\r
2105 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
2106 <xs:group ref="xs:simpleDerivation"/>
\r
2108 <xs:attribute name="name" use="prohibited">
\r
2110 <xs:documentation>
\r
2111 Forbidden when nested
\r
2112 </xs:documentation>
\r
2115 <xs:attribute name="final" use="prohibited"/>
\r
2116 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
2118 </xs:complexContent>
\r
2121 <xs:element name="simpleType" type="xs:topLevelSimpleType" id="simpleType">
\r
2123 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-simpleType"/>
\r
2127 <xs:group name="facets">
\r
2129 <xs:documentation>
\r
2130 We should use a substitution group for facets, but
\r
2131 that's ruled out because it would allow users to
\r
2132 add their own, which we're not ready for yet.
\r
2133 </xs:documentation>
\r
2136 <xs:element ref="xs:minExclusive"/>
\r
2137 <xs:element ref="xs:minInclusive"/>
\r
2138 <xs:element ref="xs:maxExclusive"/>
\r
2139 <xs:element ref="xs:maxInclusive"/>
\r
2140 <xs:element ref="xs:totalDigits"/>
\r
2141 <xs:element ref="xs:fractionDigits"/>
\r
2142 <xs:element ref="xs:length"/>
\r
2143 <xs:element ref="xs:minLength"/>
\r
2144 <xs:element ref="xs:maxLength"/>
\r
2145 <xs:element ref="xs:enumeration"/>
\r
2146 <xs:element ref="xs:whiteSpace"/>
\r
2147 <xs:element ref="xs:pattern"/>
\r
2151 <xs:group name="simpleRestrictionModel">
\r
2153 <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>
\r
2154 <xs:group ref="xs:facets" minOccurs="0" maxOccurs="unbounded"/>
\r
2158 <xs:element name="restriction" id="restriction">
\r
2161 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-restriction">
\r
2162 base attribute and simpleType child are mutually
\r
2163 exclusive, but one or other is required
\r
2164 </xs:documentation>
\r
2166 <xs:complexContent>
\r
2167 <xs:extension base="xs:annotated">
\r
2168 <xs:group ref="xs:simpleRestrictionModel"/>
\r
2169 <xs:attribute name="base" type="xs:QName" use="optional"/>
\r
2171 </xs:complexContent>
\r
2175 <xs:element name="list" id="list">
\r
2178 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-list">
\r
2179 itemType attribute and simpleType child are mutually
\r
2180 exclusive, but one or other is required
\r
2181 </xs:documentation>
\r
2183 <xs:complexContent>
\r
2184 <xs:extension base="xs:annotated">
\r
2186 <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>
\r
2188 <xs:attribute name="itemType" type="xs:QName" use="optional"/>
\r
2190 </xs:complexContent>
\r
2194 <xs:element name="union" id="union">
\r
2197 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-union">
\r
2198 memberTypes attribute must be non-empty or there must be
\r
2199 at least one simpleType child
\r
2200 </xs:documentation>
\r
2202 <xs:complexContent>
\r
2203 <xs:extension base="xs:annotated">
\r
2205 <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0" maxOccurs="unbounded"/>
\r
2207 <xs:attribute name="memberTypes" use="optional">
\r
2209 <xs:list itemType="xs:QName"/>
\r
2213 </xs:complexContent>
\r
2217 <xs:complexType name="facet">
\r
2218 <xs:complexContent>
\r
2219 <xs:extension base="xs:annotated">
\r
2220 <xs:attribute name="value" use="required"/>
\r
2221 <xs:attribute name="fixed" type="xs:boolean" use="optional" default="false"/>
\r
2223 </xs:complexContent>
\r
2226 <xs:complexType name="noFixedFacet">
\r
2227 <xs:complexContent>
\r
2228 <xs:restriction base="xs:facet">
\r
2230 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
2232 <xs:attribute name="fixed" use="prohibited"/>
\r
2233 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
2235 </xs:complexContent>
\r
2238 <xs:element name="minExclusive" id="minExclusive" type="xs:facet">
\r
2240 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-minExclusive"/>
\r
2243 <xs:element name="minInclusive" id="minInclusive" type="xs:facet">
\r
2245 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-minInclusive"/>
\r
2249 <xs:element name="maxExclusive" id="maxExclusive" type="xs:facet">
\r
2251 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-maxExclusive"/>
\r
2254 <xs:element name="maxInclusive" id="maxInclusive" type="xs:facet">
\r
2256 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-maxInclusive"/>
\r
2260 <xs:complexType name="numFacet">
\r
2261 <xs:complexContent>
\r
2262 <xs:restriction base="xs:facet">
\r
2264 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
2266 <xs:attribute name="value" type="xs:nonNegativeInteger" use="required"/>
\r
2267 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
2269 </xs:complexContent>
\r
2272 <xs:element name="totalDigits" id="totalDigits">
\r
2274 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-totalDigits"/>
\r
2277 <xs:complexContent>
\r
2278 <xs:restriction base="xs:numFacet">
\r
2280 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
2282 <xs:attribute name="value" type="xs:positiveInteger" use="required"/>
\r
2283 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
2285 </xs:complexContent>
\r
2288 <xs:element name="fractionDigits" id="fractionDigits" type="xs:numFacet">
\r
2290 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-fractionDigits"/>
\r
2294 <xs:element name="length" id="length" type="xs:numFacet">
\r
2296 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-length"/>
\r
2299 <xs:element name="minLength" id="minLength" type="xs:numFacet">
\r
2301 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-minLength"/>
\r
2304 <xs:element name="maxLength" id="maxLength" type="xs:numFacet">
\r
2306 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-maxLength"/>
\r
2310 <xs:element name="enumeration" id="enumeration" type="xs:noFixedFacet">
\r
2312 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-enumeration"/>
\r
2316 <xs:element name="whiteSpace" id="whiteSpace">
\r
2318 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-whiteSpace"/>
\r
2321 <xs:complexContent>
\r
2322 <xs:restriction base="xs:facet">
\r
2324 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
2326 <xs:attribute name="value" use="required">
\r
2328 <xs:restriction base="xs:NMTOKEN">
\r
2329 <xs:enumeration value="preserve"/>
\r
2330 <xs:enumeration value="replace"/>
\r
2331 <xs:enumeration value="collapse"/>
\r
2335 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
2337 </xs:complexContent>
\r
2341 <xs:element name="pattern" id="pattern">
\r
2343 <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-pattern"/>
\r
2346 <xs:complexContent>
\r
2347 <xs:restriction base="xs:noFixedFacet">
\r
2349 <xs:element ref="xs:annotation" minOccurs="0"/>
\r
2351 <xs:attribute name="value" type="xs:string" use="required"/>
\r
2352 <xs:anyAttribute namespace="##other" processContents="lax"/>
\r
2354 </xs:complexContent>
\r