home *** CD-ROM | disk | FTP | other *** search
- <?xml version='1.0' encoding='UTF-8'?>
- <xs:schema blockDefault="#all" elementFormDefault="qualified" targetNamespace="http://www.w3.org/2001/XMLSchema"
- version="1.0" xml:lang="EN" xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:annotation>
- <xs:documentation>Copyright © 2002-2004 SyncRO Soft Ltd. All rights reserved. </xs:documentation>
- </xs:annotation>
- <xs:annotation>
- <xs:documentation> Part 1 version: Id: XMLSchema.xsd,v 1.50 2002/05/22 09:24:24 ht Exp Part 2 version: Id:
- datatypes.xsd,v 1.54 2002/05/27 22:22:50 ht Exp </xs:documentation>
- </xs:annotation>
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/structures.html"> The schema
- corresponding to this document is normative, with respect to the syntactic constraints it expresses in the
- XML Schema language. The documentation (within <documentation> elements) below, is not
- normative, but rather highlights important aspects of the W3C Recommendation of which this is a part.</xs:documentation>
- </xs:annotation>
- <xs:annotation>
- <xs:documentation> The simpleType element and all of its members are defined towards the end of this schema document.</xs:documentation>
- </xs:annotation>
- <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd">
- <xs:annotation>
- <xs:documentation> Get access to the xml: attribute groups for xml:lang as declared on 'schema' and
- 'documentation' below.</xs:documentation>
- </xs:annotation>
- </xs:import>
- <xs:complexType name="openAttrs">
- <xs:annotation>
- <xs:documentation> This type is extended by almost all schema types to allow attributes from other
- namespaces to be added to user schemas.</xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="annotated">
- <xs:annotation>
- <xs:documentation> This type is extended by all types which allow annotation other than
- <schema> itself.</xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:extension base="xs:openAttrs">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- </xs:sequence>
- <xs:attribute name="id" type="xs:ID">
- <xs:annotation>
- <xs:documentation>Specifies an ID.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:group name="schemaTop">
- <xs:annotation>
- <xs:documentation> This group is for the elements which occur freely at the top level of schemas. All of
- their types are based on the "annotated" type by extension.</xs:documentation>
- </xs:annotation>
- <xs:choice>
- <xs:group ref="xs:redefinable"/>
- <xs:element ref="xs:element"/>
- <xs:element ref="xs:attribute"/>
- <xs:element ref="xs:notation"/>
- </xs:choice>
- </xs:group>
- <xs:group name="redefinable">
- <xs:annotation>
- <xs:documentation> This group is for the elements which can self-redefine.</xs:documentation>
- </xs:annotation>
- <xs:choice>
- <xs:element ref="xs:simpleType"/>
- <xs:element ref="xs:complexType"/>
- <xs:element ref="xs:group"/>
- <xs:element ref="xs:attributeGroup"/>
- </xs:choice>
- </xs:group>
- <xs:simpleType name="formChoice">
- <xs:annotation>
- <xs:documentation> A utility type, not for public use.</xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="qualified">
- <xs:annotation>
- <xs:documentation>Specifies that the corresponding component (element or attribute) defined
- locally will belong to the schema target namespace.</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="unqualified">
- <xs:annotation>
- <xs:documentation>Specifies that the corresponding component (element or attribute) defined
- locally will belong no namespace.</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="reducedDerivationControl">
- <xs:annotation>
- <xs:documentation> A utility type, not for public use.</xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:derivationControl">
- <xs:enumeration value="extension"/>
- <xs:enumeration value="restriction"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="derivationSet">
- <xs:annotation>
- <xs:documentation> A utility type, not for public use.</xs:documentation>
- <xs:documentation> #all or (possibly empty) subset of {extension, restriction}.</xs:documentation>
- </xs:annotation>
- <xs:union>
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="#all"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType>
- <xs:list itemType="xs:reducedDerivationControl"/>
- </xs:simpleType>
- </xs:union>
- </xs:simpleType>
- <xs:element id="schema" name="schema">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-schema"> Defines the root element of a
- schema. A schema consists of a set of schema components. A schema is represented in XML by one or more
- schema documents, that is, one or more <schema> element information items. A schema
- document contains representations for a collection of schema components, e.g. type definitions and
- element declarations, which have a common target namespace. <br/> See more info at http://www.w3.org/TR/xmlschema-1/#element-schema</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="xs:openAttrs">
- <xs:sequence>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="xs:include"/>
- <xs:element ref="xs:import"/>
- <xs:element ref="xs:redefine"/>
- <xs:element ref="xs:annotation"/>
- </xs:choice>
- <xs:sequence maxOccurs="unbounded" minOccurs="0">
- <xs:group ref="xs:schemaTop"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" ref="xs:annotation"/>
- </xs:sequence>
- </xs:sequence>
- <xs:attribute name="targetNamespace" type="xs:anyURI">
- <xs:annotation>
- <xs:documentation>Most components corresponding to representations within a given schema
- will have a target namespace which corresponds to the targetNamespace attribute. The
- appropriate form of schema document corresponding to a schema whose components have no
- target namespace is one which has no targetNamespace attribute specified at all.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="version" type="xs:normalizedString">
- <xs:annotation>
- <xs:documentation> Optional. Specifies the version of the schema. It is for user
- convenience, and the XML Schema specification defines no semantics for it.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute default="" name="finalDefault" type="xs:derivationSet" use="optional">
- <xs:annotation>
- <xs:documentation> Optional. Specifies the default value of the final attribute on element,
- simpleType, and complexType elements in the target namespace. The final attribute
- prevents a specified type of derivation of an element, simpleType, or complexType
- element. For element and complexType elements, this value can contain #all or a list
- that is a subset of extension or restriction. For simpleType elements, this value can
- additionally contain list and union: <ul>
- <li>extension - prevents derivation by extension</li>
- <li>restriction - prevents derivation by restriction</li>
- <li>list - prevents derivation by list </li>
- <li>union - prevents derivation by union </li>
- <li>#all - prevents all derivation.</li>
- </ul>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute default="" name="blockDefault" type="xs:blockSet" use="optional">
- <xs:annotation>
- <xs:documentation> Optional. Specifies the default value of the block attribute on element
- and complexType elements in the target namespace. The block attribute prevents a complex
- type (or element) that has a specified type of derivation from being used in place of
- this complex type. This value can contain #all or a list that is a subset of extension,
- restriction, or substitution: <ul>
- <li>extension - prevents complex types derived by extension </li>
- <li>restriction - prevents complex types derived by restriction</li>
- <li>substitution - prevents substitution of elements</li>
- <li>#all - prevents all derived complex types.</li>
- </ul>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute default="unqualified" name="attributeFormDefault" type="xs:formChoice" use="optional">
- <xs:annotation>
- <xs:documentation>Optional. The form for attributes declared in the target namespace of this
- schema. The value must be "qualified" or "unqualified". Default is "unqualified". <ul>
- <li>"unqualified" indicates that attributes from the target namespace are not
- required to be qualified with the namespace prefix.</li>
- <li> "qualified" indicates that attributes from the target namespace must be
- qualified with the namespace prefix.</li>
- </ul>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute default="unqualified" name="elementFormDefault" type="xs:formChoice" use="optional">
- <xs:annotation>
- <xs:documentation>Optional. The form for elements declared in the target namespace of this
- schema. The value must be "qualified" or "unqualified". Default is "unqualified". <ul>
- <li>"unqualified" indicates that elements from the target namespace are not required
- to be qualified with the namespace prefix. </li>
- <li>"qualified" indicates that elements from the target namespace must be qualified
- with the namespace prefix.</li>
- </ul>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="id" type="xs:ID">
- <xs:annotation>
- <xs:documentation> Optional. Specifies a unique ID for the element. It is for user
- convenience, and the XML Schema specification defines no semantics for it.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute ref="xml:lang"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:key name="element">
- <xs:selector xpath="xs:element"/>
- <xs:field xpath="@name"/>
- </xs:key>
- <xs:key name="attribute">
- <xs:selector xpath="xs:attribute"/>
- <xs:field xpath="@name"/>
- </xs:key>
- <xs:key name="type">
- <xs:selector xpath="xs:complexType|xs:simpleType"/>
- <xs:field xpath="@name"/>
- </xs:key>
- <xs:key name="group">
- <xs:selector xpath="xs:group"/>
- <xs:field xpath="@name"/>
- </xs:key>
- <xs:key name="attributeGroup">
- <xs:selector xpath="xs:attributeGroup"/>
- <xs:field xpath="@name"/>
- </xs:key>
- <xs:key name="notation">
- <xs:selector xpath="xs:notation"/>
- <xs:field xpath="@name"/>
- </xs:key>
- <xs:key name="identityConstraint">
- <xs:selector xpath=".//xs:key|.//xs:unique|.//xs:keyref"/>
- <xs:field xpath="@name"/>
- </xs:key>
- </xs:element>
- <xs:simpleType name="allNNI">
- <xs:annotation>
- <xs:documentation> for maxOccurs</xs:documentation>
- </xs:annotation>
- <xs:union memberTypes="xs:nonNegativeInteger">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="unbounded">
- <xs:annotation>
- <xs:documentation>Specifies an unbounded number of occurances.</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- </xs:union>
- </xs:simpleType>
- <xs:attributeGroup name="occurs">
- <xs:annotation>
- <xs:documentation> for all particles</xs:documentation>
- </xs:annotation>
- <xs:attribute default="1" name="minOccurs" type="xs:nonNegativeInteger" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies the minimum number of occurrences for this particle. Default is 1.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute default="1" name="maxOccurs" type="xs:allNNI" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies the maximum number of occurrences for this particle. Default is 1.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:attributeGroup>
- <xs:attributeGroup name="defRef">
- <xs:annotation>
- <xs:documentation> For element, group and attributeGroup, which both define and reference</xs:documentation>
- </xs:annotation>
- <xs:attribute name="name" type="xs:NCName">
- <xs:annotation>
- <xs:documentation>Specifies a name.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="ref" type="xs:QName">
- <xs:annotation>
- <xs:documentation>Specifies a reference.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:attributeGroup>
- <xs:group name="typeDefParticle">
- <xs:annotation>
- <xs:documentation> 'complexType' uses this</xs:documentation>
- </xs:annotation>
- <xs:choice>
- <xs:element name="group" type="xs:groupRef">
- <xs:annotation>
- <xs:documentation>Specifies a group reference.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element ref="xs:all"/>
- <xs:element ref="xs:choice"/>
- <xs:element ref="xs:sequence"/>
- </xs:choice>
- </xs:group>
- <xs:group name="nestedParticle">
- <xs:choice>
- <xs:element name="element" type="xs:localElement">
- <xs:annotation>
- <xs:documentation>Specifies a local element or a reference to a global element.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="group" type="xs:groupRef">
- <xs:annotation>
- <xs:documentation>Specifies a group reference.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element ref="xs:choice"/>
- <xs:element ref="xs:sequence"/>
- <xs:element ref="xs:any"/>
- </xs:choice>
- </xs:group>
- <xs:group name="particle">
- <xs:choice>
- <xs:element name="element" type="xs:localElement">
- <xs:annotation>
- <xs:documentation>Specifies a local element or a reference to a global element.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="group" type="xs:groupRef">
- <xs:annotation>
- <xs:documentation>Specifies a group reference.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element ref="xs:all"/>
- <xs:element ref="xs:choice"/>
- <xs:element ref="xs:sequence"/>
- <xs:element ref="xs:any"/>
- </xs:choice>
- </xs:group>
- <xs:complexType name="attribute">
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:sequence>
- <xs:element minOccurs="0" name="simpleType" type="xs:localSimpleType">
- <xs:annotation>
- <xs:documentation>Specifies an anonymous local simple type for the attribute in case the
- attribute does not have the type attribute to specify a built-in or a pre-declared type.
- The default when no simple type definition is referenced or provided is the simple
- ur-type definition, which imposes no constraints at all.</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attributeGroup ref="xs:defRef"/>
- <xs:attribute name="type" type="xs:QName">
- <xs:annotation>
- <xs:documentation>The type attribute is used when the declaration can use a built-in or
- pre-declared simple type definition. Otherwise an anonymous <simpleType> is
- provided inline. The default when no simple type definition is referenced or provided is the
- simple ur-type definition, which imposes no constraints at all.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute default="optional" name="use" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies the attribute use: prohibited, optional or required, default is optional.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="prohibited"/>
- <xs:enumeration value="optional"/>
- <xs:enumeration value="required"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="default" type="xs:string">
- <xs:annotation>
- <xs:documentation>The default attribute specifies that the attribute is to appear
- unconditionally in the post-schema-validation infoset, with the supplied value used whenever
- the attribute is not actually present.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="fixed" type="xs:string">
- <xs:annotation>
- <xs:documentation>The fixed attribute indicates that the attribute value if present must equal
- the supplied constraint value, and if absent receives the supplied value as for default.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="form" type="xs:formChoice">
- <xs:annotation>
- <xs:documentation>Specifies if a local attribute belongs to the schema target namespace or has
- no namespace. The value must be "qualified" or "unqualified". The default value is
- provided by the attributeFormDefault attribute on the enclosing <schema> element.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="topLevelAttribute">
- <xs:complexContent>
- <xs:restriction base="xs:attribute">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:element minOccurs="0" name="simpleType" type="xs:localSimpleType">
- <xs:annotation>
- <xs:documentation> Specifies an anonymous local simple type for the attribute in case the
- attribute does not have the type attribute to specify a built-in or a pre-declared type.
- The default when no simple type definition is referenced or provided is the simple
- ur-type definition, which imposes no constraints at all. </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="ref" use="prohibited"/>
- <xs:attribute name="form" use="prohibited"/>
- <xs:attribute name="use" use="prohibited"/>
- <xs:attribute name="name" type="xs:NCName" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the required top level attribute name.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:group name="attrDecls">
- <xs:sequence>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element name="attribute" type="xs:attribute">
- <xs:annotation>
- <xs:documentation>Specifies an attribute.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="attributeGroup" type="xs:attributeGroupRef">
- <xs:annotation>
- <xs:documentation>Specifies an attribute group reference.</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:choice>
- <xs:element minOccurs="0" ref="xs:anyAttribute"/>
- </xs:sequence>
- </xs:group>
- <xs:element id="anyAttribute" name="anyAttribute" type="xs:wildcard">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-anyAttribute"> Enables the author to
- extend the XML document with attributes not specified by the schema.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:group name="complexTypeModel">
- <xs:choice>
- <xs:element ref="xs:simpleContent"/>
- <xs:element ref="xs:complexContent"/>
- <xs:sequence>
- <xs:annotation>
- <xs:documentation> This branch is short for <complexContent> <restriction
- base="xs:anyType"> ... </restriction> </complexContent>.</xs:documentation>
- </xs:annotation>
- <xs:group minOccurs="0" ref="xs:typeDefParticle"/>
- <xs:group ref="xs:attrDecls"/>
- </xs:sequence>
- </xs:choice>
- </xs:group>
- <xs:complexType name="complexType" abstract="true">
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:group ref="xs:complexTypeModel"/>
- <xs:attribute name="name" type="xs:NCName">
- <xs:annotation>
- <xs:documentation> Will be restricted to required or forbidden.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute default="false" name="mixed" type="xs:boolean" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies if the content model is formed both from elements and character
- data. Not allowed if simpleContent child is chosen. May be overridden by setting on
- complexContent child.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute default="false" name="abstract" type="xs:boolean" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies whether the complex type is abstract or not. Default is false.
- Complex types for which abstract is true must not be used as the type definition for the
- validation of element information items. Abstract complex types can be used as base type
- definitions, or even as the type definitions of element declarations, provided in every case
- a concrete derived type definition is used for validation. </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="final" type="xs:derivationSet">
- <xs:annotation>
- <xs:documentation> A complex type with an empty specification for final can be used as a base
- type definition for other types derived by either of extension or restriction; the explicit
- values extension, and restriction prevent further derivations by extension and restriction
- respectively. If all values are specified, then the complex type is said to be final,
- because no further derivations are possible. Finality is not inherited, that is, a type
- definition derived by restriction from a type definition which is final for extension is not
- itself, in the absence of any explicit final attribute of its own, final for anything. </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="block" type="xs:derivationSet">
- <xs:annotation>
- <xs:documentation> Specifies the value of the block attribute on this complexType The block
- attribute prevents a complex type that has a specified type of derivation from being used in
- place of this complex type. This value can contain #all or a list that is a subset of
- extension and restriction: <ul>
- <li>extension - prevents complex types derived by extension </li>
- <li>restriction - prevents complex types derived by restriction</li>
- <li>#all - prevents all derived complex types.</li>
- </ul>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="topLevelComplexType">
- <xs:complexContent>
- <xs:restriction base="xs:complexType">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:group ref="xs:complexTypeModel"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:NCName" use="required">
- <xs:annotation>
- <xs:documentation>Defines the name of the top level complex type. No complex type definition can
- have the same name as another simple or complex type definition.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="localComplexType">
- <xs:complexContent>
- <xs:restriction base="xs:complexType">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:group ref="xs:complexTypeModel"/>
- </xs:sequence>
- <xs:attribute name="name" use="prohibited"/>
- <xs:attribute name="abstract" use="prohibited"/>
- <xs:attribute name="final" use="prohibited"/>
- <xs:attribute name="block" use="prohibited"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="restrictionType">
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:sequence>
- <xs:choice minOccurs="0">
- <xs:group ref="xs:typeDefParticle"/>
- <xs:group ref="xs:simpleRestrictionModel"/>
- </xs:choice>
- <xs:group ref="xs:attrDecls"/>
- </xs:sequence>
- <xs:attribute name="base" type="xs:QName" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the base type for the restriction.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="complexRestrictionType">
- <xs:complexContent>
- <xs:restriction base="xs:restrictionType">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:choice minOccurs="0">
- <xs:annotation>
- <xs:documentation>This choice is added simply to make this a valid restriction per the REC.</xs:documentation>
- </xs:annotation>
- <xs:group ref="xs:typeDefParticle"/>
- </xs:choice>
- <xs:group ref="xs:attrDecls"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="extensionType">
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:sequence>
- <xs:group minOccurs="0" ref="xs:typeDefParticle"/>
- <xs:group ref="xs:attrDecls"/>
- </xs:sequence>
- <xs:attribute name="base" type="xs:QName" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the base type for the extension.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:element id="complexContent" name="complexContent">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexContent"> Defines extensions or
- restrictions on a complex type that contains mixed content or elements only. </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:choice>
- <xs:element name="restriction" type="xs:complexRestrictionType">
- <xs:annotation>
- <xs:documentation>Defines a restriction.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="extension" type="xs:extensionType">
- <xs:annotation>
- <xs:documentation>Defines an extension.</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:choice>
- <xs:attribute name="mixed" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Specifies if both elements and character data are allowed.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="simpleRestrictionType">
- <xs:complexContent>
- <xs:restriction base="xs:restrictionType">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:choice minOccurs="0">
- <xs:annotation>
- <xs:documentation>This choice is added simply to make this a valid restriction per the REC.</xs:documentation>
- </xs:annotation>
- <xs:group ref="xs:simpleRestrictionModel"/>
- </xs:choice>
- <xs:group ref="xs:attrDecls"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="simpleExtensionType">
- <xs:complexContent>
- <xs:restriction base="xs:extensionType">
- <xs:sequence>
- <xs:annotation>
- <xs:documentation> No typeDefParticle group reference.</xs:documentation>
- </xs:annotation>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:group ref="xs:attrDecls"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:element id="simpleContent" name="simpleContent">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-simpleContent"> Contains extensions or
- restrictions on a text-only complex type or on a simple type as content and contains no elements.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:choice>
- <xs:element name="restriction" type="xs:simpleRestrictionType">
- <xs:annotation>
- <xs:documentation>Defines restrictions on a simpleType, simpleContent, or a
- complexContent. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="extension" type="xs:simpleExtensionType">
- <xs:annotation>
- <xs:documentation>Extends an existing simpleType or complexType element. </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:choice>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element id="complexType" name="complexType" type="xs:topLevelComplexType">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexType"> Defines a top level
- complex type.<br/> Complex Type Definitions provide for: <ul>
- <li>Constraining element information items by providing Attribute Declarations governing the
- appearance and content of attributes.</li>
- <li>Constraining element information item children to be empty, or to conform to a specified
- element-only or mixed content model, or else constraining the character information item
- children to conform to a specified simple type definition.</li>
- <li>Using the mechanisms of Type Definition Hierarchy to derive a complex type from another simple
- or complex type.</li>
- <li>Specifying post-schema-validation infoset contributions for elements.</li>
- <li>Limiting the ability to derive additional types from a given complex type.</li>
- <li>Controlling the permission to substitute, in an instance, elements of a derived type for
- elements declared in a content model to be of a given complex type.</li>
- </ul>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:simpleType name="blockSet">
- <xs:annotation>
- <xs:documentation> A utility type, not for public use.</xs:documentation>
- <xs:documentation> #all or (possibly empty) subset of {substitution, extension, restriction}</xs:documentation>
- </xs:annotation>
- <xs:union>
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="#all"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType>
- <xs:list>
- <xs:simpleType>
- <xs:restriction base="xs:derivationControl">
- <xs:enumeration value="extension"/>
- <xs:enumeration value="restriction"/>
- <xs:enumeration value="substitution"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:list>
- </xs:simpleType>
- </xs:union>
- </xs:simpleType>
- <xs:complexType name="element" abstract="true">
- <xs:annotation>
- <xs:documentation> The element element can be used either at the top level to define an element-type binding
- globally, or within a content model to either reference a globally-defined element or type or declare an
- element-type binding locally. The ref form is not allowed at the top level.</xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:sequence>
- <xs:choice minOccurs="0">
- <xs:element name="simpleType" type="xs:localSimpleType">
- <xs:annotation>
- <xs:documentation>Specifies a local simple type.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="complexType" type="xs:localComplexType">
- <xs:annotation>
- <xs:documentation>Defines a local complex type. Complex Type Definitions provide for: <ul>
- <li>Constraining element information items by providing Attribute Declarations
- governing the appearance and content of attributes.</li>
- <li>Constraining element information item children to be empty, or to conform to
- a specified element-only or mixed content model, or else constraining the
- character information item children to conform to a specified simple type definition.</li>
- <li>Using the mechanisms of Type Definition Hierarchy to derive a complex type
- from another simple or complex type.</li>
- <li>Specifying post-schema-validation infoset contributions for elements.</li>
- <li>Limiting the ability to derive additional types from a given complex type.</li>
- <li>Controlling the permission to substitute, in an instance, elements of a
- derived type for elements declared in a content model to be of a given
- complex type.</li>
- </ul>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:choice>
- <xs:group maxOccurs="unbounded" minOccurs="0" ref="xs:identityConstraint"/>
- </xs:sequence>
- <xs:attributeGroup ref="xs:defRef"/>
- <xs:attribute name="type" type="xs:QName">
- <xs:annotation>
- <xs:documentation>Specifies a type definition for this element by reference to a defined type.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="substitutionGroup" type="xs:QName">
- <xs:annotation>
- <xs:documentation>Defines the substitution group head element. XML Schema provides a mechanism,
- called substitution groups, that allows elements to be substituted for other elements. More
- specifically, elements can be assigned to a special group of elements that are said to be
- substitutable for a particular named element called the head element. (Note that the head
- element must be declared as a global element.).</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attributeGroup ref="xs:occurs"/>
- <xs:attribute name="default" type="xs:string">
- <xs:annotation>
- <xs:documentation>Specifies a default value for this element. The element must have either a
- simple type or a complex type emptiable and with mixed content.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="fixed" type="xs:string">
- <xs:annotation>
- <xs:documentation>Specifies a fixed value for this element. If fixed is specified, then the
- element's content must either be empty, in which case fixed behaves as default, or its value
- must match the supplied constraint value.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute default="false" name="nillable" type="xs:boolean" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies if the element is nillable, default is false. If nillable is true
- then an element may also be valid if it specifies xsi:nil="true" even if it has no text or
- element content despite a content type which would otherwise require content.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute default="false" name="abstract" type="xs:boolean" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies if the element is abstract, default is false. Element declarations
- for which abstract is true can appear in content models only when substitution is allowed.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="final" type="xs:derivationSet">
- <xs:annotation>
- <xs:documentation>Specifies the value of the final attribute for this element. The final
- attribute prevents a specified type of derivation of an element. For elements this value can
- contain #all or a list that is a subset of extension or restriction. <ul>
- <li>extension - prevents derivation by extension</li>
- <li>restriction - prevents derivation by restriction</li>
- <li>#all - prevents all derivation.</li>
- </ul>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="block" type="xs:blockSet">
- <xs:annotation>
- <xs:documentation>Specifies the value of the block attribute on this element. The block
- attribute prevents an element that has a specified type of derivation from being used in
- place of this element. This value can contain #all or a list that is a subset of extension,
- restriction, or substitution.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="form" type="xs:formChoice">
- <xs:annotation>
- <xs:documentation>Specifies the target namespace for this element. The value must be "qualified"
- or "unqualified". The default value is provided by the elementFormDefault attribute on
- the enclosing <schema> element. <ul>
- <li>"unqualified" indicates that a local element belongs to no namespace.</li>
- <li>"qualified" indicates that a local element belongs to the schema target namespace.</li>
- </ul>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="topLevelElement">
- <xs:complexContent>
- <xs:restriction base="xs:element">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:choice minOccurs="0">
- <xs:element name="simpleType" type="xs:localSimpleType">
- <xs:annotation>
- <xs:documentation>Specifies a local simple type.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="complexType" type="xs:localComplexType">
- <xs:annotation>
- <xs:documentation>Defines a local complex type. Complex Type Definitions provide for: <ul>
- <li>Constraining element information items by providing Attribute Declarations
- governing the appearance and content of attributes.</li>
- <li>Constraining element information item children to be empty, or to conform to
- a specified element-only or mixed content model, or else constraining the
- character information item children to conform to a specified simple type definition.</li>
- <li>Using the mechanisms of Type Definition Hierarchy to derive a complex type
- from another simple or complex type.</li>
- <li>Specifying post-schema-validation infoset contributions for elements.</li>
- <li>Limiting the ability to derive additional types from a given complex type.</li>
- <li>Controlling the permission to substitute, in an instance, elements of a
- derived type for elements declared in a content model to be of a given
- complex type.</li>
- </ul>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:choice>
- <xs:group maxOccurs="unbounded" minOccurs="0" ref="xs:identityConstraint"/>
- </xs:sequence>
- <xs:attribute name="ref" use="prohibited"/>
- <xs:attribute name="form" use="prohibited"/>
- <xs:attribute name="minOccurs" use="prohibited"/>
- <xs:attribute name="maxOccurs" use="prohibited"/>
- <xs:attribute name="name" type="xs:NCName" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the required top level element name.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="localElement">
- <xs:complexContent>
- <xs:restriction base="xs:element">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:choice minOccurs="0">
- <xs:element name="simpleType" type="xs:localSimpleType">
- <xs:annotation>
- <xs:documentation>Specifies a local simple type.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="complexType" type="xs:localComplexType">
- <xs:annotation>
- <xs:documentation>Defines a local complex type. Complex Type Definitions provide for: <ul>
- <li>Constraining element information items by providing Attribute Declarations
- governing the appearance and content of attributes.</li>
- <li>Constraining element information item children to be empty, or to conform to
- a specified element-only or mixed content model, or else constraining the
- character information item children to conform to a specified simple type definition.</li>
- <li>Using the mechanisms of Type Definition Hierarchy to derive a complex type
- from another simple or complex type.</li>
- <li>Specifying post-schema-validation infoset contributions for elements.</li>
- <li>Limiting the ability to derive additional types from a given complex type.</li>
- <li>Controlling the permission to substitute, in an instance, elements of a
- derived type for elements declared in a content model to be of a given
- complex type.</li>
- </ul>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:choice>
- <xs:group maxOccurs="unbounded" minOccurs="0" ref="xs:identityConstraint"/>
- </xs:sequence>
- <xs:attribute name="substitutionGroup" use="prohibited"/>
- <xs:attribute name="final" use="prohibited"/>
- <xs:attribute name="abstract" use="prohibited"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:element id="element" name="element" type="xs:topLevelElement">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-element"> Defines an element. An element
- declaration is an association of a name with a type definition, either simple or complex, an (optional)
- default value and a (possibly empty) set of identity-constraint definitions. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:complexType abstract="true" name="group">
- <xs:annotation>
- <xs:documentation> group type for explicit groups, named top-level groups and group references</xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:group maxOccurs="unbounded" minOccurs="0" ref="xs:particle"/>
- <xs:attributeGroup ref="xs:defRef"/>
- <xs:attributeGroup ref="xs:occurs"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="realGroup">
- <xs:complexContent>
- <xs:restriction base="xs:group">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:choice maxOccurs="1" minOccurs="0">
- <xs:element ref="xs:all"/>
- <xs:element ref="xs:choice"/>
- <xs:element ref="xs:sequence"/>
- </xs:choice>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="namedGroup">
- <xs:complexContent>
- <xs:restriction base="xs:realGroup">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:choice maxOccurs="1" minOccurs="1">
- <xs:element name="all">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-all"> Specifies that
- the child elements can appear in any order. Each child element can occur 0 or 1 time.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="xs:all">
- <xs:group ref="xs:allModel"/>
- <xs:attribute name="minOccurs" use="prohibited"/>
- <xs:attribute name="maxOccurs" use="prohibited"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="choice" type="xs:simpleExplicitGroup">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-choice"> Allows only
- one of the elements contained in the <choice> declaration to be
- present within the containing element.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="sequence" type="xs:simpleExplicitGroup">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-sequence"> Specifies
- that the child elements must appear in a sequence. Each child element can occur from
- 0 to any number of times.</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="name" type="xs:NCName" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the required named group name.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="ref" use="prohibited"/>
- <xs:attribute name="minOccurs" use="prohibited"/>
- <xs:attribute name="maxOccurs" use="prohibited"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="groupRef">
- <xs:complexContent>
- <xs:restriction base="xs:realGroup">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- </xs:sequence>
- <xs:attribute name="ref" type="xs:QName" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the group this group reference points to.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="name" use="prohibited"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="explicitGroup">
- <xs:annotation>
- <xs:documentation> group type for the three kinds of group</xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:restriction base="xs:group">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:group maxOccurs="unbounded" minOccurs="0" ref="xs:nestedParticle"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:NCName" use="prohibited"/>
- <xs:attribute name="ref" type="xs:QName" use="prohibited"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="simpleExplicitGroup">
- <xs:complexContent>
- <xs:restriction base="xs:explicitGroup">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:group maxOccurs="unbounded" minOccurs="0" ref="xs:nestedParticle"/>
- </xs:sequence>
- <xs:attribute name="minOccurs" use="prohibited"/>
- <xs:attribute name="maxOccurs" use="prohibited"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:group name="allModel">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:annotation>
- <xs:documentation>This choice with min/max is here to avoid a pblm with the Elt:All/Choice/Seq
- Particle derivation constraint.</xs:documentation>
- </xs:annotation>
- <xs:element name="element">
- <xs:annotation>
- <xs:documentation>Specifies a local element or a reference to a global element.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:annotation>
- <xs:documentation>restricted max/min</xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:restriction base="xs:localElement">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:choice minOccurs="0">
- <xs:element name="simpleType" type="xs:localSimpleType">
- <xs:annotation>
- <xs:documentation>Specifies a local simple type.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="complexType" type="xs:localComplexType">
- <xs:annotation>
- <xs:documentation>Defines a local complex type. Complex Type Definitions
- provide for: <ul>
- <li>Constraining element information items by providing
- Attribute Declarations governing the appearance and content
- of attributes.</li>
- <li>Constraining element information item children to be empty,
- or to conform to a specified element-only or mixed content
- model, or else constraining the character information item
- children to conform to a specified simple type definition.</li>
- <li>Using the mechanisms of Type Definition Hierarchy to derive
- a complex type from another simple or complex type.</li>
- <li>Specifying post-schema-validation infoset contributions for elements.</li>
- <li>Limiting the ability to derive additional types from a given
- complex type.</li>
- <li>Controlling the permission to substitute, in an instance,
- elements of a derived type for elements declared in a
- content model to be of a given complex type.</li>
- </ul>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:choice>
- <xs:group maxOccurs="unbounded" minOccurs="0" ref="xs:identityConstraint"/>
- </xs:sequence>
- <xs:attribute default="1" name="minOccurs" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies the minimum number of occurrences, possible values
- are 0 and 1, default is 1.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:nonNegativeInteger">
- <xs:enumeration value="0"/>
- <xs:enumeration value="1"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute default="1" name="maxOccurs" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies the maximum number of occurrences, possible values
- are 0 and 1, default is 1.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:allNNI">
- <xs:enumeration value="0"/>
- <xs:enumeration value="1"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:sequence>
- </xs:group>
- <xs:complexType name="all">
- <xs:annotation>
- <xs:documentation> Only elements allowed inside.</xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:restriction base="xs:explicitGroup">
- <xs:group ref="xs:allModel"/>
- <xs:attribute default="1" name="minOccurs" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies the minimum number of occurrences, possible values are 0 and 1,
- default is 1.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:nonNegativeInteger">
- <xs:enumeration value="0"/>
- <xs:enumeration value="1"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute default="1" name="maxOccurs" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies the maximum number of occurrences, possible value is 1, default is 1.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:allNNI">
- <xs:enumeration value="1"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:element id="all" name="all" type="xs:all">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-all"> Specifies that the child elements
- can appear in any order. Each child element can occur 0 or 1 time. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="choice" name="choice" type="xs:explicitGroup">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-choice"> Allows only one of the elements
- contained in the <choice> declaration to be present within the containing element.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="sequence" name="sequence" type="xs:explicitGroup">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-sequence"> Specifies that the child
- elements must appear in a sequence. Each child element can occur from 0 to any number of times.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="group" name="group" type="xs:namedGroup">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-group"> Defines a group of elements to
- be used in complex type definitions.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:complexType name="wildcard">
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:attribute default="##any" name="namespace" type="xs:namespaceList" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies the namespace(s) allowed by the wildcard, default is ##any standing
- for any namespace. </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute default="strict" name="processContents" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies the validation constraint to be applied on the content that matched
- the wildcard. Possible values are <ul>
- <li>skip - that means no validation</li>
- <li>lax - that means validation will be performed if a schema is available</li>
- <li>strict - that means validation is required </li>
- </ul> The default is strict. </xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="skip"/>
- <xs:enumeration value="lax"/>
- <xs:enumeration value="strict"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:element id="any" name="any">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-any"> Enables the author to extend the
- XML document with elements not specified by the schema.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="xs:wildcard">
- <xs:attributeGroup ref="xs:occurs"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:annotation>
- <xs:documentation> simple type for the value of the 'namespace' attr of 'any' and 'anyAttribute'</xs:documentation>
- </xs:annotation>
- <xs:annotation>
- <xs:documentation> Value is <ul>
- <li>##any - - any non-conflicting WFXML/attribute at all </li>
- <li>##other - - any non-conflicting WFXML/attribute from namespace other than targetNS</li>
- <li>##local - - any unqualified non-conflicting WFXML/attribute</li>
- <li>one or more URI references (space separated) - - any non-conflicting WFXML/attribute from the listed namespaces</li>
- </ul> ##targetNamespace or ##local may appear in the above list, to refer to the targetNamespace of the
- enclosing schema or an absent targetNamespace respectively. .</xs:documentation>
- </xs:annotation>
- <xs:simpleType name="namespaceList">
- <xs:annotation>
- <xs:documentation> A utility type, not for public use.</xs:documentation>
- </xs:annotation>
- <xs:union>
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="##any"/>
- <xs:enumeration value="##other"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType>
- <xs:list>
- <xs:simpleType>
- <xs:union memberTypes="xs:anyURI">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="##targetNamespace"/>
- <xs:enumeration value="##local"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:union>
- </xs:simpleType>
- </xs:list>
- </xs:simpleType>
- </xs:union>
- </xs:simpleType>
- <xs:element id="attribute" name="attribute" type="xs:topLevelAttribute">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attribute"> Defines an attribute.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:complexType abstract="true" name="attributeGroup">
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:group ref="xs:attrDecls"/>
- <xs:attributeGroup ref="xs:defRef"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="namedAttributeGroup">
- <xs:complexContent>
- <xs:restriction base="xs:attributeGroup">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:group ref="xs:attrDecls"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:NCName" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the required named attribute group name.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="ref" use="prohibited"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="attributeGroupRef">
- <xs:complexContent>
- <xs:restriction base="xs:attributeGroup">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- </xs:sequence>
- <xs:attribute name="ref" type="xs:QName" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the attribute group this attribute group reference points to.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="name" use="prohibited"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:element id="attributeGroup" name="attributeGroup" type="xs:namedAttributeGroup">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attributeGroup">Defines an attribute
- group to be used in complex type definitions.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="include" name="include">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-include"> Adds multiple schemas with the
- same target namespace to a document.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:attribute name="schemaLocation" type="xs:anyURI" use="required">
- <xs:annotation>
- <xs:documentation>Required. Specifies the URI to the schema to include in the target
- namespace of the containing schema.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element id="redefine" name="redefine">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-redefine"> Redefines simple and complex
- types, groups, and attribute groups from an external schema.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="xs:openAttrs">
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="xs:annotation"/>
- <xs:group ref="xs:redefinable"/>
- </xs:choice>
- <xs:attribute name="schemaLocation" type="xs:anyURI" use="required">
- <xs:annotation>
- <xs:documentation>Required. A URI to the location of a schema document.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="id" type="xs:ID">
- <xs:annotation>
- <xs:documentation>Optional. Specifies a unique ID for the element.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element id="import" name="import">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-import"> Adds multiple schemas with
- different target namespace to a document.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:attribute name="namespace" type="xs:anyURI">
- <xs:annotation>
- <xs:documentation>Required. Specifies the URI of the namespace to import.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="schemaLocation" type="xs:anyURI">
- <xs:annotation>
- <xs:documentation>Optional. Specifies the URI to the schema for the imported namespace.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element id="selector" name="selector">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-selector"> Specifies an XPath expression
- that selects a set of elements for an identity constraint. </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:attribute name="xpath" use="required">
- <xs:annotation>
- <xs:documentation>Defines the XPath selector expression.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:annotation>
- <xs:documentation>A subset of XPath expressions for use in selectors.</xs:documentation>
- <xs:documentation>A utility type, not for public use.</xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:token">
- <xs:annotation>
- <xs:documentation>The following pattern is intended to allow XPath expressions per
- the following EBNF: Selector ::= Path ( '|' Path )* Path ::= ('.//')? Step ( '/'
- Step )* Step ::= '.' | NameTest NameTest ::= QName | '*' | NCName ':' '*'
- child:: is also allowed.</xs:documentation>
- </xs:annotation>
- <xs:pattern value="(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)*"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element id="field" name="field">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-field"> Specifies an XPath expression
- that specifies the value used to define an identity constraint.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:attribute name="xpath" use="required">
- <xs:annotation>
- <xs:documentation>Required. Identifies a single element or attribute whose content or value
- is used for the constraint.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:annotation>
- <xs:documentation>A subset of XPath expressions for use in fields.</xs:documentation>
- <xs:documentation>A utility type, not for public use.</xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:token">
- <xs:annotation>
- <xs:documentation>The following pattern is intended to allow XPath expressions per
- the same EBNF as for selector, with the following change: Path ::= ('.//')? (
- Step '/' )* ( Step | '@' NameTest ). </xs:documentation>
- </xs:annotation>
- <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*|\*)))))*"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="keybase">
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:sequence>
- <xs:element ref="xs:selector"/>
- <xs:element maxOccurs="unbounded" minOccurs="1" ref="xs:field"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:NCName" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the required identity constraint name.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:group name="identityConstraint">
- <xs:annotation>
- <xs:documentation>The three kinds of identity constraints, all with type of or derived from 'keybase'. </xs:documentation>
- </xs:annotation>
- <xs:choice>
- <xs:element ref="xs:unique"/>
- <xs:element ref="xs:key"/>
- <xs:element ref="xs:keyref"/>
- </xs:choice>
- </xs:group>
- <xs:element id="unique" name="unique" type="xs:keybase">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-unique"> Defines that an element or an
- attribute value must be unique within the scope. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="key" name="key" type="xs:keybase">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-key"> Specifies an attribute or element
- value as a key (unique, non-nullable, and always present) within the containing element in an instance
- document. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="keyref" name="keyref">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-keyref"> Specifies that an attribute or
- element value correspond to those of the specified key or unique element.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="xs:keybase">
- <xs:attribute name="refer" type="xs:QName" use="required">
- <xs:annotation>
- <xs:documentation>Required. Specifies the name of a key or unique element defined in this or
- another schema.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element id="notation" name="notation">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-notation"> Describes the format of
- non-XML data within an XML document.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:attribute name="name" type="xs:NCName" use="required">
- <xs:annotation>
- <xs:documentation>Required. Specifies a name for the notation.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="public" type="xs:public" use="required">
- <xs:annotation>
- <xs:documentation>Required. Specifies a URI corresponding to the public identifier.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="system" type="xs:anyURI">
- <xs:annotation>
- <xs:documentation>Optional. Specifies a URI corresponding to the system identifier. </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:simpleType name="public">
- <xs:annotation>
- <xs:documentation> A utility type, not for public use.</xs:documentation>
- <xs:documentation> A public identifier, per ISO 8879.</xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:token"/>
- </xs:simpleType>
- <xs:element id="appinfo" name="appinfo">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-appinfo"> Specifies information to be
- used by the application. </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:sequence maxOccurs="unbounded" minOccurs="0">
- <xs:any processContents="lax"/>
- </xs:sequence>
- <xs:attribute name="source" type="xs:anyURI">
- <xs:annotation>
- <xs:documentation>Optional. A URI reference that specifies the source of the application
- information. </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element id="documentation" name="documentation">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-documentation"> Defines text comments in
- a schema. </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:sequence maxOccurs="unbounded" minOccurs="0">
- <xs:any processContents="lax"/>
- </xs:sequence>
- <xs:attribute name="source" type="xs:anyURI">
- <xs:annotation>
- <xs:documentation>Optional. Specifies the source of the application information.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute ref="xml:lang">
- <xs:annotation>
- <xs:documentation> Optional. Specifies the language used in the contents.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element id="annotation" name="annotation">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-annotation">Specifies schema comments.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="xs:openAttrs">
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="xs:appinfo"/>
- <xs:element ref="xs:documentation"/>
- </xs:choice>
- <xs:attribute name="id" type="xs:ID">
- <xs:annotation>
- <xs:documentation>Optional. Specifies a unique ID for the element.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:annotation>
- <xs:documentation> notations for use within XML Schema schemas</xs:documentation>
- </xs:annotation>
- <xs:notation name="XMLSchemaStructures" public="structures" system="http://www.w3.org/2000/08/XMLSchema.xsd"/>
- <xs:notation name="XML" public="REC-xml-19980210" system="http://www.w3.org/TR/1998/REC-xml-19980210"/>
- <xs:complexType mixed="true" name="anyType">
- <xs:annotation>
- <xs:documentation> Not the real urType, but as close an approximation as we can get in the XML representation.</xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:any maxOccurs="unbounded" minOccurs="0"/>
- </xs:sequence>
- <xs:anyAttribute/>
- </xs:complexType>
- <xs:annotation>
- <xs:documentation> First the built-in primitive datatypes. These definitions are for information only, the real
- built-in definitions are magic. Note in particular that there is no type named 'anySimpleType'. The
- primitives should really be derived from no type at all, and anySimpleType should be derived as a union of
- all the primitives. </xs:documentation>
- <xs:documentation> For each built-in datatype in this schema (both primitive and derived) can be uniquely
- addressed via a URI constructed as follows: 1) the base URI is the URI of the XML Schema namespace 2) the
- fragment identifier is the name of the datatype For example, to address the int datatype, the URI is:
- http://www.w3.org/2001/XMLSchema#int Additionally, each facet definition element can be uniquely addressed
- via a URI constructed as follows: 1) the base URI is the URI of the XML Schema namespace 2) the fragment
- identifier is the name of the facet For example, to address the maxInclusive facet, the URI is:
- http://www.w3.org/2001/XMLSchema#maxInclusive Additionally, each facet usage in a built-in datatype
- definition can be uniquely addressed via a URI constructed as follows: 1) the base URI is the URI of the XML
- Schema namespace 2) the fragment identifier is the name of the datatype, followed by a period (".") followed
- by the name of the facet For example, to address the usage of the maxInclusive facet in the definition of
- int, the URI is: http://www.w3.org/2001/XMLSchema#int.maxInclusive. </xs:documentation>
- </xs:annotation>
- <xs:simpleType id="string" name="string">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace id="string.preserve" value="preserve"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="boolean" name="boolean">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="boolean.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="float" name="float">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="float.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="double" name="double">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="double.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="decimal" name="decimal">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="decimal.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="duration" name="duration">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="duration.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="dateTime" name="dateTime">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="dateTime.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="time" name="time">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="time.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="date" name="date">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="date.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="gYearMonth" name="gYearMonth">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="gYearMonth.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="gYear" name="gYear">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="gYear.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="gMonthDay" name="gMonthDay">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="gMonthDay.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="gDay" name="gDay">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="gDay.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="gMonth" name="gMonth">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="gMonth.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="hexBinary" name="hexBinary">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="hexBinary.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="base64Binary" name="base64Binary">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="base64Binary.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="anyURI" name="anyURI">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="anyURI.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="QName" name="QName">
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="QName.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="NOTATION" name="NOTATION">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NOTATION"/>
- <xs:documentation> NOTATION cannot be used directly in a schema; rather a type must be derived from it by
- specifying at least one enumeration facet whose value is the name of a NOTATION declared in the schema. </xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:anySimpleType">
- <xs:whiteSpace fixed="true" id="NOTATION.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:annotation>
- <xs:documentation> Now the derived primitive types. </xs:documentation>
- </xs:annotation>
- <xs:simpleType id="normalizedString" name="normalizedString">
- <xs:restriction base="xs:string">
- <xs:whiteSpace id="normalizedString.whiteSpace" value="replace"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="token" name="token">
- <xs:restriction base="xs:normalizedString">
- <xs:whiteSpace id="token.whiteSpace" value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="language" name="language">
- <xs:restriction base="xs:token">
- <xs:pattern id="language.pattern" value="([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]{1,8})(-[a-zA-Z]{1,8})*">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/REC-xml#NT-LanguageID"> pattern specifies the content
- of section 2.12 of XML 1.0e2 and RFC 1766 </xs:documentation>
- </xs:annotation>
- </xs:pattern>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="IDREFS" name="IDREFS">
- <xs:restriction>
- <xs:simpleType>
- <xs:list itemType="xs:IDREF"/>
- </xs:simpleType>
- <xs:minLength id="IDREFS.minLength" value="1"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="ENTITIES" name="ENTITIES">
- <xs:restriction>
- <xs:simpleType>
- <xs:list itemType="xs:ENTITY"/>
- </xs:simpleType>
- <xs:minLength id="ENTITIES.minLength" value="1"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="NMTOKEN" name="NMTOKEN">
- <xs:restriction base="xs:token">
- <xs:pattern id="NMTOKEN.pattern" value="\c+">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/REC-xml#NT-Nmtoken"> pattern matches production 7
- from the XML spec </xs:documentation>
- </xs:annotation>
- </xs:pattern>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="NMTOKENS" name="NMTOKENS">
- <xs:restriction>
- <xs:simpleType>
- <xs:list itemType="xs:NMTOKEN"/>
- </xs:simpleType>
- <xs:minLength id="NMTOKENS.minLength" value="1"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="Name" name="Name">
- <xs:restriction base="xs:token">
- <xs:pattern id="Name.pattern" value="\i\c*">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/REC-xml#NT-Name"> pattern matches production 5 from
- the XML spec </xs:documentation>
- </xs:annotation>
- </xs:pattern>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="NCName" name="NCName">
- <xs:restriction base="xs:Name">
- <xs:pattern id="NCName.pattern" value="[\i-[:]][\c-[:]]*">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/REC-xml-names/#NT-NCName"> pattern matches production
- 4 from the Namespaces in XML spec </xs:documentation>
- </xs:annotation>
- </xs:pattern>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="ID" name="ID">
- <xs:restriction base="xs:NCName"/>
- </xs:simpleType>
- <xs:simpleType id="IDREF" name="IDREF">
- <xs:restriction base="xs:NCName"/>
- </xs:simpleType>
- <xs:simpleType id="ENTITY" name="ENTITY">
- <xs:restriction base="xs:NCName"/>
- </xs:simpleType>
- <xs:simpleType id="integer" name="integer">
- <xs:restriction base="xs:decimal">
- <xs:fractionDigits fixed="true" id="integer.fractionDigits" value="0"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="nonPositiveInteger" name="nonPositiveInteger">
- <xs:restriction base="xs:integer">
- <xs:maxInclusive id="nonPositiveInteger.maxInclusive" value="0"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="negativeInteger" name="negativeInteger">
- <xs:restriction base="xs:nonPositiveInteger">
- <xs:maxInclusive id="negativeInteger.maxInclusive" value="-1"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="long" name="long">
- <xs:restriction base="xs:integer">
- <xs:minInclusive id="long.minInclusive" value="-9223372036854775808"/>
- <xs:maxInclusive id="long.maxInclusive" value="9223372036854775807"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="int" name="int">
- <xs:restriction base="xs:long">
- <xs:minInclusive id="int.minInclusive" value="-2147483648"/>
- <xs:maxInclusive id="int.maxInclusive" value="2147483647"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="short" name="short">
- <xs:restriction base="xs:int">
- <xs:minInclusive id="short.minInclusive" value="-32768"/>
- <xs:maxInclusive id="short.maxInclusive" value="32767"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="byte" name="byte">
- <xs:restriction base="xs:short">
- <xs:minInclusive id="byte.minInclusive" value="-128"/>
- <xs:maxInclusive id="byte.maxInclusive" value="127"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="nonNegativeInteger" name="nonNegativeInteger">
- <xs:restriction base="xs:integer">
- <xs:minInclusive id="nonNegativeInteger.minInclusive" value="0"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="unsignedLong" name="unsignedLong">
- <xs:restriction base="xs:nonNegativeInteger">
- <xs:maxInclusive id="unsignedLong.maxInclusive" value="18446744073709551615"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="unsignedInt" name="unsignedInt">
- <xs:restriction base="xs:unsignedLong">
- <xs:maxInclusive id="unsignedInt.maxInclusive" value="4294967295"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="unsignedShort" name="unsignedShort">
- <xs:restriction base="xs:unsignedInt">
- <xs:maxInclusive id="unsignedShort.maxInclusive" value="65535"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="unsignedByte" name="unsignedByte">
- <xs:restriction base="xs:unsignedShort">
- <xs:maxInclusive id="unsignedByte.maxInclusive" value="255"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType id="positiveInteger" name="positiveInteger">
- <xs:restriction base="xs:nonNegativeInteger">
- <xs:minInclusive id="positiveInteger.minInclusive" value="1"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="derivationControl">
- <xs:annotation>
- <xs:documentation> A utility type, not for public use.</xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="substitution"/>
- <xs:enumeration value="extension"/>
- <xs:enumeration value="restriction"/>
- <xs:enumeration value="list"/>
- <xs:enumeration value="union"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:group name="simpleDerivation">
- <xs:choice>
- <xs:element ref="xs:restriction"/>
- <xs:element ref="xs:list"/>
- <xs:element ref="xs:union"/>
- </xs:choice>
- </xs:group>
- <xs:simpleType name="simpleDerivationSet">
- <xs:annotation>
- <xs:documentation> #all or (possibly empty) subset of {restriction, union, list} </xs:documentation>
- <xs:documentation> A utility type, not for public use.</xs:documentation>
- </xs:annotation>
- <xs:union>
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="#all"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType>
- <xs:list>
- <xs:simpleType>
- <xs:restriction base="xs:derivationControl">
- <xs:enumeration value="list"/>
- <xs:enumeration value="union"/>
- <xs:enumeration value="restriction"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:list>
- </xs:simpleType>
- </xs:union>
- </xs:simpleType>
- <xs:complexType abstract="true" name="simpleType">
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:group ref="xs:simpleDerivation"/>
- <xs:attribute name="final" type="xs:simpleDerivationSet">
- <xs:annotation>
- <xs:documentation>Specifies the value of the final attribute on this simpleType. The final
- attribute prevents a specified type of derivation. For simpleType elements this value can
- contain #all or a list that is a subset of restriction, list or union: <ul>
- <li>restriction - prevents derivation by restriction</li>
- <li>list - prevents derivation by list</li>
- <li>union - prevents derivation by union</li>
- <li>#all - prevents all derivation</li>
- </ul>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="name" type="xs:NCName">
- <xs:annotation>
- <xs:documentation> Can be restricted to required or forbidden. </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="topLevelSimpleType">
- <xs:complexContent>
- <xs:restriction base="xs:simpleType">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:group ref="xs:simpleDerivation"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:NCName" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the required top level simple type name.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="localSimpleType">
- <xs:complexContent>
- <xs:restriction base="xs:simpleType">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- <xs:group ref="xs:simpleDerivation"/>
- </xs:sequence>
- <xs:attribute name="name" use="prohibited">
- <xs:annotation>
- <xs:documentation> Forbidden when nested. </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="final" use="prohibited"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:element id="simpleType" name="simpleType" type="xs:topLevelSimpleType">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-simpleType"> Defines a simple type. A
- simple type definition is a set of constraints on strings and information about the values they encode,
- applicable to the normalized value of an attribute information item or of an element information item
- with no element children. Informally, it applies to the values of attributes and the text-only content
- of elements. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:group name="facets">
- <xs:annotation>
- <xs:documentation> We should use a substitution group for facets, but that's ruled out because it would
- allow users to add their own, which we're not ready for yet. </xs:documentation>
- </xs:annotation>
- <xs:choice>
- <xs:element ref="xs:minExclusive"/>
- <xs:element ref="xs:minInclusive"/>
- <xs:element ref="xs:maxExclusive"/>
- <xs:element ref="xs:maxInclusive"/>
- <xs:element ref="xs:totalDigits"/>
- <xs:element ref="xs:fractionDigits"/>
- <xs:element ref="xs:length"/>
- <xs:element ref="xs:minLength"/>
- <xs:element ref="xs:maxLength"/>
- <xs:element ref="xs:enumeration"/>
- <xs:element ref="xs:whiteSpace"/>
- <xs:element ref="xs:pattern"/>
- </xs:choice>
- </xs:group>
- <xs:group name="simpleRestrictionModel">
- <xs:sequence>
- <xs:element minOccurs="0" name="simpleType" type="xs:localSimpleType">
- <xs:annotation>
- <xs:documentation>Specifies a local simple type.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:group maxOccurs="unbounded" minOccurs="0" ref="xs:facets"/>
- </xs:sequence>
- </xs:group>
- <xs:element id="restriction" name="restriction">
- <xs:annotation>
- <xs:documentation> Defines restrictions on a simpleType, simpleContent, or a complexContent. </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-restriction"> base attribute and
- simpleType child are mutually exclusive, but one or other is required </xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:group ref="xs:simpleRestrictionModel"/>
- <xs:attribute name="base" type="xs:QName" use="optional">
- <xs:annotation>
- <xs:documentation>Specifies the base type for the restriction.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element id="list" name="list">
- <xs:annotation>
- <xs:documentation> Defines a simple type element as a list of values. </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-list"> itemType attribute and
- simpleType child are mutually exclusive, but one or other is required </xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:sequence>
- <xs:element minOccurs="0" name="simpleType" type="xs:localSimpleType">
- <xs:annotation>
- <xs:documentation> Defines a simple type and specifies the constraints and information
- about the values of attributes or text-only elements. </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="itemType" type="xs:QName" use="optional">
- <xs:annotation>
- <xs:documentation> Specifies the name of a built-in data type or simpleType element defined
- in this or another schema. This attribute is not allowed if the content contains a
- simpleType element, otherwise it is required. </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element id="union" name="union">
- <xs:annotation>
- <xs:documentation> Defines a simple type as a collection (union) of values from specified simple data types. </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-union"> memberTypes attribute must
- be non-empty or there must be at least one simpleType child </xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="simpleType" type="xs:localSimpleType">
- <xs:annotation>
- <xs:documentation> Defines a simple type and specifies the constraints and information
- about the values of attributes or text-only elements. </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="memberTypes" use="optional">
- <xs:annotation>
- <xs:documentation>Optional. Specifies a list of built-in data types or simpleType elements
- defined in a schema. </xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:list itemType="xs:QName"/>
- </xs:simpleType>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="facet">
- <xs:complexContent>
- <xs:extension base="xs:annotated">
- <xs:attribute name="value" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the facet value.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute default="false" name="fixed" type="xs:boolean" use="optional">
- <xs:annotation>
- <xs:documentation>Default is false, specifies whether the content has a fixed value.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="noFixedFacet">
- <xs:complexContent>
- <xs:restriction base="xs:facet">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- </xs:sequence>
- <xs:attribute name="fixed" use="prohibited"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:element id="minExclusive" name="minExclusive" type="xs:facet">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-minExclusive"> Specifies the lower
- bounds for numeric values (the value must be greater than this value). </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="minInclusive" name="minInclusive" type="xs:facet">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-minInclusive"> Specifies the lower
- bounds for numeric values (the value must be greater than or equal to this value).</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="maxExclusive" name="maxExclusive" type="xs:facet">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-maxExclusive"> Specifies the upper
- bounds for numeric values (the value must be less than this value). </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="maxInclusive" name="maxInclusive" type="xs:facet">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-maxInclusive"> Specifies the upper
- bounds for numeric values (the value must be less than or equal to this value). </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:complexType name="numFacet">
- <xs:complexContent>
- <xs:restriction base="xs:facet">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- </xs:sequence>
- <xs:attribute name="value" type="xs:nonNegativeInteger" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the facet value.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:element id="totalDigits" name="totalDigits">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-totalDigits"> Specifies the exact number
- of digits allowed. Must be greater than zero. </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="xs:numFacet">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- </xs:sequence>
- <xs:attribute name="value" type="xs:positiveInteger" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the facet value.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element id="fractionDigits" name="fractionDigits" type="xs:numFacet">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-fractionDigits"> Specifies the maximum
- number of decimal places allowed. Must be equal to or greater than zero. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="length" name="length" type="xs:numFacet">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-length"> Specifies the exact number of
- characters or list items allowed. Must be equal to or greater than zero. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="minLength" name="minLength" type="xs:numFacet">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-minLength"> Specifies the minimum number
- of characters or list items allowed. Must be equal to or greater than zero. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="maxLength" name="maxLength" type="xs:numFacet">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-maxLength"> Specifies the maximum number
- of characters or list items allowed. Must be equal to or greater than zero. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="enumeration" name="enumeration" type="xs:noFixedFacet">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-enumeration"> Defines a list of
- acceptable values. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element id="whiteSpace" name="whiteSpace">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-whiteSpace"> Specifies how white space
- (line feeds, tabs, spaces, and carriage returns) are handled. </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="xs:facet">
- <xs:sequence>
- <xs:element minOccurs="0" ref="xs:annotation"/>
- </xs:sequence>
- <xs:attribute name="value" use="required">
- <xs:annotation>
- <xs:documentation>Specifies the facet value.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="preserve"/>
- <xs:enumeration value="replace"/>
- <xs:enumeration value="collapse"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element id="pattern" name="pattern" type="xs:noFixedFacet">
- <xs:annotation>
- <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-pattern"> Defines the exact sequence of
- characters that are acceptable. </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:schema>
-