This schema is based on the W3C XML Schema schema for XML Schemas: Part 2: Datatypes
The definitions of the "magic" built-in datatypes have been removed
The components for defining derived simpleTypes are retained, but defined in a new namespace.
Get access to the xml: attribute groups for xml:lang
as declared on 'schema' and 'documentation' below
This type is extended by almost all schema types
to allow attributes from other namespaces to be
added to user schemas.
This type is extended by all types which allow annotation
other than <schema> itself
A utility type, not for public use
#all or (possibly empty) subset of {restriction, union, list}
A utility type, not for public use
Can be restricted to required or forbidden
Required at the top level
Forbidden when nested
source="./XML Schema Part 2 Datatypes.htm#element-simpleType"
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.
source="./XML Schema Part 2 Datatypes.htm#element-restriction"
base attribute and simpleType child are mutually
exclusive, but one or other is required
source="./XML Schema Part 2 Datatypes.htm#element-list"
itemType attribute and simpleType child are mutually
exclusive, but one or other is required
source="./XML Schema Part 2 Datatypes.htm#element-union"
memberTypes attribute must be non-empty or there must be
at least one simpleType child
source="./XML Schema Part 2 Datatypes.htm#element-minExclusive"
source="./XML Schema Part 2 Datatypes.htm#element-minInclusive"
source="./XML Schema Part 2 Datatypes.htm#element-maxExclusive"
source="./XML Schema Part 2 Datatypes.htm#element-maxInclusive"
source="./XML Schema Part 2 Datatypes.htm#element-totalDigits"
source="./XML Schema Part 2 Datatypes.htm#element-fractionDigits"
source="./XML Schema Part 2 Datatypes.htm#element-length"
source="./XML Schema Part 2 Datatypes.htm#element-minLength"
source="./XML Schema Part 2 Datatypes.htm#element-maxLength"
source="./XML Schema Part 2 Datatypes.htm#element-enumeration"
source="./XML Schema Part 2 Datatypes.htm#element-whiteSpace"
source="./XML Schema Part 2 Datatypes.htm#element-pattern"