This document contains XML elements which look like
definitions for the primitive datatypes. These definitions are for
information only; the real built-in definitions are magic.
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
Built-in primitive type.
The string datatype represents character strings in XML.
Built-in primitive type.
It defines the boolean values true and false.
Built-in primitive type.
Corresponds to the IEEE single-precision 32-bit floating point type [IEEE 754-1985].
Built-in primitive type.
The double datatype corresponds to IEEE double-precision 64-bit floating point type [IEEE 754-1985].
Built-in primitive type.
The decimal datatype represents arbitrary precision decimal numbers.
Built-in primitive type.
The duration datatype represents a duration of time.
Built-in primitive type.
The dateTime datatype represents a specific instant of time.
Built-in primitive type.
The time datatype represents an instant of time that recurs every day.
Built-in primitive type.
The date datatype represents a calendar date.
Built-in primitive type.
The gYearMonth datatype represents a specific gregorian month in a specific gregorian year.
Built-in primitive type.
The gYear datatype represents a gregorian calendar year.
Built-in primitive type.
The gMonthDay datatype is a gregorian date that recurs, specifically a day of the year such as the third of May.Arbitrary recurring dates are not supported by this datatype.
Built-in primitive type.
The gDay datatype is a gregorian day that recurs, specifically a day of the month such as the 5th of the month. Arbitrary recurring days are not supported by this datatype.
Built-in primitive type.
The gMonth datatype is a gregorian month that recurs every year.
Built-in primitive type.
The hexBinary datatype represents arbitrary hex-encoded binary data.
Built-in primitive type.
The base64Binary datatype represents Base64-encoded arbitrary binary data.
Built-in primitive type.
The anyURI datatype represents a Uniform Resource Identifier Reference (URI).
Built-in primitive type.
QName represents XML qualified names.
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.
This document contains XML representations for the
ordinary non-primitive built-in datatypes
Built-in derived type.
The normalizedString datatype represents white space normalized strings.
The base type of normalizedString is string.
Built-in derived type.
The token datatype represents tokenized strings.
The base type of token is normalizedString.
Built-in derived type.
The language datatype represents natural language identifiers as defined by [RFC 1766].
The base type of language is token.
pattern specifies the content of section 2.12 of XML 1.0e2
and RFC 3066 (Revised version of RFC 1766). N.B. RFC 3066 is now
obsolete; the grammar of RFC4646 is more restrictive. So strict
conformance to the rules for language codes requires extra checking
beyond validation against this type.
Built-in derived type.
IDREFS represents the IDREFS attribute type.
The itemType of IDREFS is IDREF.
Built-in derived type.
ENTITIES represents the ENTITIES attribute type.
The itemType of ENTITIES is ENTITY.
Built-in derived type.
NMTOKEN represents the NMTOKEN attribute type.
The base type of NMTOKEN is token.
pattern matches production 7 from the XML spec
Built-in derived type.
NMTOKENS represents the NMTOKENS attribute type.
The itemType of NMTOKENS is NMTOKEN.
Built-in derived type.
Name represents XML Names.
The base type of Name is token.
pattern matches production 5 from the XML spec
Built-in derived type.
NCName represents XML "non-colonized" Names.
The base type of NCName is Name.
pattern matches production 4 from the Namespaces in XML spec
Built-in derived type.
ID represents the ID attribute type.
The base type of ID is NCName.
Built-in derived type.
IDREF represents the IDREF attribute type.
The base type of IDREF is NCName.
Built-in derived type.
ENTITY represents the ENTITY attribute type.
The base type of ENTITY is NCName.
Built-in derived type.
The integer datatype is derived from decimal by fixing the value of fractionDigits to be 0.
This results in the standard mathematical concept of the integer numbers.
Built-in derived type.
The nonPositiveInteger datatype is derived from integer by setting the value of maxInclusive to be 0.
This results in the standard mathematical concept of the non-positive integers.
Built-in derived type.
The negativeInteger datatype is derived from nonPositiveInteger by setting the value of maxInclusive to be -1. This results in the standard mathematical concept of the negative integers.
Built-in derived type.
The long datatype is derived from integer by setting the value of maxInclusive to be 9223372036854775807 and minInclusive to be -9223372036854775808.
Built-in derived type.
The int datatype is derived from long by setting the value of maxInclusive to be 2147483647 and minInclusive to be -2147483648.
Built-in derived type.
The short datatype is derived from int by setting the value of maxInclusive to be 32767 and minInclusive to be -32768.
Built-in derived type.
The byte datatype is derived from short by setting the value of maxInclusive to be 127 and minInclusive to be -128.
Built-in derived type.
The nonNegativeInteger datatype is derived from integer by setting the value of minInclusive to be 0.
This results in the standard mathematical concept of the non-negative integers.
Built-in derived type.
The unsignedLong datatype is derived from nonNegativeInteger by setting the value of maxInclusive to be 18446744073709551615.
Built-in derived type.
The unsignedInt datatype is derived from unsignedLong by setting the value of maxInclusive to be 4294967295.
Built-in derived type.
The unsignedShort datatype is derived from unsignedInt by setting the value of maxInclusive to be 65535.
Built-in derived type.
The unsignedByte datatype is derived from unsignedShort by setting the value of maxInclusive to be 255.
Built-in derived type.
The positiveInteger datatype is derived from nonNegativeInteger by setting the value of minInclusive to be 1.
This results in the standard mathematical concept of the positive integer numbers.
This type includes just those durations expressed in years and months.
Since the pattern given excludes days, hours, minutes, and seconds,
the values of this type have a seconds property of zero. They are
totally ordered.
This type includes just those durations expressed in days, hours, minutes, and seconds.
The pattern given excludes years and months, so the values of this type
have a months property of zero. They are totally ordered.
This datatype includes just those dateTime values Whose explicitTimezone
is present. They are totally ordered.
Part 1 version: structures.xsd (rec-20120405)
Part 2 version: datatypes.xsd (rec-20120405)
The schema corresponding to this document is normative,
with respect to the syntactic constraints it expresses in the
XML Schema Definition 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.
See below (at the bottom of this document) for information about
the revision and namespace-versioning policy governing this
schema document.
The simpleType element and all of its members are defined
towards the end of this schema document.
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
Specifies an ID.
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.
This group is for the
elements which can self-redefine (see <redefine> below).
A utility type, not for public use
A utility type, not for public use
A utility type, not for public use
#all or (possibly empty) subset of {extension, restriction}
A utility type, not for public use
A utility type, not for public use
#all or (possibly empty) subset of {extension, restriction, list, union}
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.
See more info at
http://www.w3.org/TR/xmlschema-1/#element-schema
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.
Optional. Specifies the version of the schema. It is
for user convenience, and the XML
Schema specification defines no semantics for
it.
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:
- extension - prevents derivation by extension
- restriction - prevents derivation by restriction
- list - prevents derivation by list
- union - prevents derivation by union
- #all - prevents all derivation.
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:
- extension - prevents complex types derived by extension
- restriction - prevents complex types derived by
restriction
- substitution - prevents substitution of elements
- #all - prevents all derived complex types.
Optional. The form for attributes declared in the
target namespace of this schema. The
value must be "qualified" or "unqualified". Default is
"unqualified".
- "unqualified" indicates that attributes from the target
namespace are not
required to be qualified with the namespace prefix.
- "qualified" indicates that attributes from the target
namespace must be
qualified with the namespace prefix.
Optional. The form for elements declared in the target
namespace of this schema. The value
must be "qualified" or "unqualified". Default is "unqualified".
- "unqualified" indicates that elements from the target
namespace are not required
to be qualified with the namespace prefix.
- "qualified" indicates that elements from the target
namespace must be qualified
with the namespace prefix.
Specify a set of attributes that apply to every complexType in a schema document.
The default namespace used when evalueates the XPath expression.
Optional. Specifies a unique ID for the element. It
is for user convenience, and the XML
Schema specification defines no semantics for
it.
for maxOccurs
for all particles
Specifies the minimum number of occurrences for this particle.
Default is 1.
Specifies the maximum number of occurrences for this particle.
Default is 1.
for element, group and attributeGroup,
which both define and reference
Specifies a name.
Specifies a reference.
'complexType' uses this
Specifies a group reference.
Specifies a local element or a reference to a global
element.
Specifies a group reference.
Specifies a local element or a reference to a global
element.
Specifies a group reference.
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.
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.
Specifies the attribute use: prohibited, optional or
required, default is
optional.
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.
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.
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.
Specifies the target namespace for local attribute declarations.
The namespace URI may be different from the schema target namespace.
Specifies if the attribute is inheritable. Inheritable attributes
can be used by <alternative> element on descendant elements.
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.
Specifies the required top level attribute
name.
Specifies if the attribute is inheritable. Inheritable attributes
can be used by <alternative> element on descendant elements.
Specifies an attribute.
Specifies an attribute group reference.
Enables the author to extend the XML document with attributes not
specified by the schema.
Specify an element or attribute that is not allowed.
The element is used to make assertions about element and attribute
values.
Specifies the XPath expression to be evaluated when the element is validated.
The default namespace used when evalueates the XPath expression.
This branch is short for
<complexContent>
<restriction base="xs:anyType">
...
</restriction>
</complexContent>
Will be restricted to required or prohibited
Not allowed if simpleContent child is chosen.
May be overridden by setting on complexContent child.
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.
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.
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:
- extension - prevents complex types derived by extension
- restriction - prevents complex types derived by restriction
- #all - prevents all derived complex types.
The <schema> element can carry a defaultAttributes attribute, which
identifies a named Attribute Group Definition; each complex type defined in the
schema document then automatically includes that attribute group, unless this is
overridden by the defaultAttributesApply attribute on the <complexType> element.
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.
Specifies the base type for the
restriction.
This choice is added simply to
make this a valid restriction per the REC
Specifies the base type for the
extension.
Defines extensions or restrictions on a complex type that contains
mixed content or elements only.
Defines a restriction.
Defines an extension.
Overrides any setting on complexType parent.
Specifies that any element can appear interleaved among the declared elements.
Wildcard used to specify the elements accepted by open content.
Specifies where the extension elements can be inserted.
The value must be "interleave", "suffix" or "none". Default is "interleave".
Specifies that any element can appear interleaved among the declared elements.
Wildcard used to specify the elements accepted by default open content.
Controls whether or not extension elements can be inserted into empty elements.
Specifies where the extension elements can be inserted.
This choice is added simply to
make this a valid restriction per the REC
No typeDefParticle group reference
Contains extensions or restrictions on a text-only complex type or
on a simple type as content and contains no
elements.
Defines restrictions on a simpleType,
simpleContent, or a
complexContent.
Extends an existing simpleType or complexType
element.
Defines a top level complex type.
Complex Type Definitions
provide for:
- Constraining element information items by providing Attribute Declarations
governing the appearance and content of
attributes.
- 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.
- Using the mechanisms of Type Definition Hierarchy to derive a complex type
from another simple or complex type.
- Specifying post-schema-validation infoset contributions for elements.
- Limiting the ability to derive additional types from a given complex
type.
- 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.
A utility type, not for public use
#all or (possibly empty) subset of {substitution, extension,
restriction}
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.
Specifies a local simple type.
Defines a local complex type. Complex Type
Definitions provide for:
- Constraining element information items by providing
Attribute Declarations
governing the appearance and content of attributes.
- 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.
- Using the mechanisms of Type Definition Hierarchy to
derive a complex type
from another simple or complex type.
- Specifying post-schema-validation infoset contributions
for elements.
- Limiting the ability to derive additional types from a
given complex
type.
- 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.
The <alternative> element is used specify an element a choice
types, depending on the value of the attributes.
Specifies a type definition for this element by reference
to a defined type.
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.).
Specifies a default value for this element. The element
must have either a simple type or a complex
type emptiable and with mixed content.
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.
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.
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.
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.
- extension - prevents derivation by extension
- restriction - prevents derivation by restriction
- #all - prevents all derivation.
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.
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.
- "unqualified" indicates that a local element belongs to no
namespace.
- "qualified" indicates that a local element belongs to the schema
target namespace.
Specifies the target namespace for local element declarations.
The namespace URI may be different from the schema target namespace.
Specifies a local simple type.
Defines a local complex type. Complex Type
Definitions provide for:
- Constraining element information items by providing
Attribute Declarations
governing the appearance and content of attributes.
- 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.
- Using the mechanisms of Type Definition Hierarchy to
derive a complex type
from another simple or complex type.
- Specifying post-schema-validation infoset contributions
for elements.
- Limiting the ability to derive additional types from a
given complex
type.
- 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.
The <alternative> element is used specify an element a choice
types, depending on the value of the attributes.
Specifies the required top level element
name.
Specifies a local simple type.
Defines a local complex type. Complex Type
Definitions provide for:
- Constraining element information items by providing
Attribute Declarations
governing the appearance and content of attributes.
- 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.
- Using the mechanisms of Type Definition Hierarchy to
derive a complex type
from another simple or complex type.
- Specifying post-schema-validation infoset contributions
for elements.
- Limiting the ability to derive additional types from a
given complex
type.
- 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.
The <alternative> element is used specify an element a choice
types, depending on the value of the attributes.
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.
This type is used for 'alternative' elements.
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.
Defines a local complex type. Complex Type
Definitions provide for:
- Constraining element information items by providing
Attribute Declarations
governing the appearance and content of attributes.
- 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.
- Using the mechanisms of Type Definition Hierarchy to
derive a complex type
from another simple or complex type.
- Specifying post-schema-validation infoset contributions
for elements.
- Limiting the ability to derive additional types from a
given complex
type.
- 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.
Specifies an XPath expression. If the XPath expression is evaluated to
true,then the specified type is selected as the element type. The expressions
allowed are limited to a subset of XPath 2.0.In the XPath expression are accessible
only the attributes of the current element and inheriritable attributes from
ancestor elements.
Specifies the type of the element that should be used if the test
attribute is evaluated to true. The type specified must be derived from the element
declared type or a special simple type definition called xs:error (which has no
valid instances).
The default namespace used when evalueates the XPath
expression.
group type for explicit groups, named top-level groups and
group references
Specifies that the child
elements can appear in any order. Each child element can occur 0
or 1
time.
Allows only one of the
elements contained in the <choice> declaration to be
present within the containing element.
Specifies that the child
elements must appear in a sequence. Each child element can occur
from 0 to any number of
times.
Specifies the required named group
name.
Specifies the group this group reference points
to.
group type for the three kinds of group
This choice with min/max is here to
avoid a pblm with the Elt:All/Choice/Seq
Particle derivation constraint
Specifies a local element or a reference to a global
element.
Specifies a group reference.
Only elements allowed inside
Specifies the minimum number of occurrences, possible
values are 0 and 1, default is
1.
Specifies the maximum number of occurrences, possible
value is 1, default is 1.
Specifies that
the child elements can appear in any order. Each child element can
occur 0 or 1 time.
Allows only
one of the elements contained in the <choice> declaration to
be present within the containing element.
Specifies
that the child elements must appear in a sequence. Each child
element can occur from 0 to any number of times.
Defines a
group of elements to be used in complex type
definitions.
Specifies the namespace(s) allowed by the wildcard, default is ##any
standing for any namespace.
Specify the namespace that extension elements or attributes cannot come from.
Specifies the validation constraint to be applied on the content that
matched the wildcard. Possible values are
- skip - that means no validation
- lax - that means validation will be performed if a schema is available
- strict - that means validation is required
The default is strict.
Enables the
author to extend the XML document with elements not specified by the
schema.
Specify an element or attribute that is not allowed.
simple type for the value of the 'namespace' attr of
'any' and 'anyAttribute'
Value is
##any - - any non-conflicting WFXML/attribute at all
##other - - any non-conflicting WFXML/attribute from
namespace other than targetNS
##local - - any unqualified non-conflicting WFXML/attribute
one or - - any non-conflicting WFXML/attribute from
more URI the listed namespaces
references
(space separated)
##targetNamespace or ##local may appear in the above list, to
refer to the targetNamespace of the enclosing
schema or an absent targetNamespace respectively
A utility type, not for public use
A utility type, not for public use
A utility type, not for public use
A utility type, not for public use
A utility type, not for public use
Defines
an attribute.
Specifies the required named attribute group
name.
Specifies the attribute group this attribute group
reference points to.
Defines an attribute group to be used in complex type
definitions.
Adds
multiple schemas with the same target namespace to a
document.
Required. Specifies the URI to the schema to include
in the target namespace of the
containing schema.
Redefines
simple and complex types, groups, and attribute groups from an
external schema.
Required. A URI to the location of a schema
document.
Optional. Specifies a unique ID for the
element.
Overrides simple and complex types, groups, and attribute groups from an external schema.
Does not imposes constraints on the new definitions provided for components whose definitions are
being overridden.
Required. A URI to the location of a schema
document.
Adds
multiple schemas with different target namespace to a
document.
Required. Specifies the URI of the namespace to
import.
Optional. Specifies the URI to the schema for the
imported
namespace.
Specifies
an XPath expression that selects a set of elements for an identity
constraint.
Defines the XPath selector
expression.
A subset of XPath expressions for use
in selectors
A utility type, not for public
use
The default namespace used when evalueates the XPath
expression.
Specifies an
XPath expression that specifies the value used to define an identity
constraint.
Required. Identifies a single element or attribute
whose content or value is used for
the constraint.
A subset of XPath expressions for use
in fields
A utility type, not for public
use
The default namespace used when evalueates the XPath
expression.
Specifies the required identity constraint
name.
The three kinds of identity constraints, all with
type of or derived from 'keybase'.
Defines
that an element or an attribute value must be unique within the
scope.
Specifies an
attribute or element value as a key (unique, non-nullable, and
always present) within the containing element in an instance
document.
Specifies
that an attribute or element value correspond to those of the
specified key or unique element.
Required. Specifies the name of a key or unique
element defined in this or another
schema.
Describes
the format of non-XML data within an XML
document.
Required. Specifies a name for the
notation.
Required. Specifies a URI corresponding to the public
identifier.
Optional. Specifies a URI corresponding to the system
identifier.
A utility type, not for public use
A public identifier, per ISO 8879
Specifies
information to be used by the application.
Optional. A URI reference that specifies the source of the
application information.
Defines text comments in a schema.
Optional. Specifies the source of the application
information.
Specifies schema comments.
Optional. Specifies a unique ID for the
element.
notations for use within schema documents
Not the real urType, but as close an approximation as we can
get in the XML representation
In keeping with the XML Schema WG's standard versioning policy,
the material in this schema document will persist at the URI
http://www.w3.org/2012/04/XMLSchema.xsd.
At the date of issue it can also be found at the URI
http://www.w3.org/2009/XMLSchema/XMLSchema.xsd.
The schema document at that URI may however change in the future,
in order to remain compatible with the latest version of XSD
and its namespace. In other words, if XSD or the XML Schema
namespace change, the version of this document at
http://www.w3.org/2009/XMLSchema/XMLSchema.xsd will change accordingly;
the version at http://www.w3.org/2012/04/XMLSchema.xsd will not change.
Previous dated (and unchanging) versions of this schema document
include:
http://www.w3.org/2012/01/XMLSchema.xsd
(XSD 1.1 Proposed Recommendation)
http://www.w3.org/2011/07/XMLSchema.xsd
(XSD 1.1 Candidate Recommendation)
http://www.w3.org/2009/04/XMLSchema.xsd
(XSD 1.1 Candidate Recommendation)
http://www.w3.org/2004/10/XMLSchema.xsd
(XSD 1.0 Recommendation, Second Edition)
http://www.w3.org/2001/05/XMLSchema.xsd
(XSD 1.0 Recommendation, First Edition)
A utility type, not for public use
#all or (possibly empty) subset of {restriction, extension, union, list}
A utility type, not for public use
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:
- restriction - prevents derivation by restriction
- list - prevents derivation by list
- union - prevents derivation by union
- #all - prevents all derivation
Can be restricted to required or forbidden
Required at the top level
Forbidden when nested
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.
An abstract element, representing facets in general.
The facets defined by this spec are substitutable for
this element, and implementation-defined facets should
also name this as a substitution-group head.
Specifies a local simple type.
Defines restrictions on a simpleType, simpleContent, or a
complexContent.
base attribute and simpleType child are mutually
exclusive, but one or other is required
Specifies the base type for the
restriction.
Defines a simple type element as a list of values.
itemType attribute and simpleType child are mutually
exclusive, but one or other is required
Defines a simple type and specifies the
constraints and information
about the values of attributes or text-only elements.
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.
Defines a simple type as a collection (union) of values from
specified simple data types.
memberTypes attribute must be non-empty or there must be
at least one simpleType child
Defines a simple type and specifies the
constraints and information
about the values of attributes or text-only elements.
Optional. Specifies a list of built-in data types or
simpleType elements defined in a
schema.
Specifies the facet value.
Default is false, specifies whether the content has a
fixed value.
Specifies the lower bounds for numeric values (the value must be
greater than this value).
Specifies the lower bounds for numeric values (the value must be
greater than or equal to this value).
Specifies the upper bounds for numeric values (the value must be
less than this value).
Specifies the upper bounds for numeric values (the value must be
less than or equal to this value).
Specifies the facet value.
Specifies the exact number of digits allowed. Must be greater than
zero.
Specifies the facet value.
Specifies the maximum number of decimal places allowed. Must be
equal to or greater than zero.
Specifies
the exact number of characters or list items allowed. Must be equal
to or greater than zero.
Specifies the minimum number of characters or list items allowed.
Must be equal to or greater than zero.
Specifies the maximum number of characters or list items allowed.
Must be equal to or greater than zero.
Defines a list of acceptable values.
Specifies how white space (line feeds, tabs, spaces, and carriage
returns) are handled.
Specifies the facet value.
Defines
the exact sequence of characters that are acceptable.
Specifies the regular expression constraint.
The
facet is used to constrain simpleTypes.
An assertion is a predicate associated with
a type, which is checked for each instance of the type. If an element or attribute
information item fails to satisfy an assertion associated with a given type, then
that information item is not locally valid with respect to that type.
Specifies if the time zone in date/time datatypes is optional, required or prohibited.
The value of this facet is one of these:
required, prohibited, optional
In keeping with the XML Schema WG's standard versioning policy,
this schema document will persist at the URI
http://www.w3.org/2012/04/datatypes.xsd.
At the date of issue it can also be found at the URI
http://www.w3.org/2009/XMLSchema/datatypes.xsd.
The schema document at that URI may however change in the future,
in order to remain compatible with the latest version of XSD
and its namespace. In other words, if XSD or the XML Schema
namespace change, the version of this document at
http://www.w3.org/2009/XMLSchema/datatypes.xsd will change accordingly;
the version at http://www.w3.org/2012/04/datatypes.xsd will not change.
Previous dated (and unchanging) versions of this schema document
include:
http://www.w3.org/2012/01/datatypes.xsd
(XSD 1.1 Proposed Recommendation)
http://www.w3.org/2011/07/datatypes.xsd
(XSD 1.1 Candidate Recommendation)
http://www.w3.org/2009/04/datatypes.xsd
(XSD 1.1 Candidate Recommendation)
http://www.w3.org/2004/10/datatypes.xsd
(XSD 1.0 Recommendation, Second Edition)
http://www.w3.org/2001/05/datatypes.xsd
(XSD 1.0 Recommendation, First Edition)