XML Schema

12 September 2007

Table of contents

  1. Introduction
  2. Resources
  3. Anchors for datatypes, facets and facet values
  4. Anchors for other names in the XML Schema namespace

Introduction

This document describes the XML Schema namespace. It also contains a directory of links to these related resources, using Resource Directory Description Language.

It is GRDDL-enabled, that is to say that a GRDDL-compliant processor can extract useful RDF representations of the information contained herein.

Related Resources for XML Schema

Schemas for XML Schema

DTD

A ( non-normative) DTD XMLSchema.dtd for XML Schema. It incorporates an auxiliary DTD, datatypes.dtd.

XML Schema

An XML Schema schema document for XML Schema schema documents. Last updated with release of working drafts of XML Schema 1.1 in February and September 2006 (references valid only for XML Schema 1.1 are noted below as "subject to ratification").

Normative References

  1. XML Schema Part 1: Structures (2nd Edition)
  2. XML Schema Part 2: Datatypes (2nd Edition)
  3. XML Schema Part 0: Primer (2nd Edition)

Anchors for datatype-related names with definitions in the XML Schema namespace

XML Schema Part 2: Datatypes advertises anchors within this document for all the datatypes, all the kinds of constraining facets and all the uses of facets found therein. This section contains all those anchors, with forwarding pointers to the relevant anchor in the spec.

The special datatypes

The anyAtomicType built-in special datatype (subject to ratification).
The anySimpleType built-in special datatype.

The built-in primitive datatypes

The anyURI built-in primitive datatype.
The base64Binary built-in primitive datatype.
The boolean built-in primitive datatype.
The date built-in primitive datatype.
The dateTime built-in primitive datatype.
The decimal built-in primitive datatype.
The double built-in primitive datatype.
The duration built-in primitive datatype.
The float built-in primitive datatype.
The gDay built-in primitive datatype.
The gMonth built-in primitive datatype.
The gMonthDay built-in primitive datatype.
The gYear built-in primitive datatype.
The gYearMonth built-in primitive datatype.
The hexBinary built-in primitive datatype.
The NOTATION built-in primitive datatype.
The precisionDecimal built-in primitive datatype (subject to ratification).
The QName built-in primitive datatype.
The string built-in primitive datatype.
The time built-in primitive datatype.

The built-in ordinary datatypes

The byte built-in ordinary datatype.
The dayTimeDuration built-in ordinary datatype (subject to ratification).
The ENTITIES built-in ordinary datatype.
The ENTITY built-in ordinary datatype.
The ID built-in ordinary datatype.
The IDREF built-in ordinary datatype.
The IDREFS built-in ordinary datatype.
The int built-in ordinary datatype.
The integer built-in ordinary datatype.
The language built-in ordinary datatype.
The long built-in ordinary datatype.
The Name built-in ordinary datatype.
The NCName built-in ordinary datatype.
The negativeInteger built-in ordinary datatype.
The NMTOKEN built-in ordinary datatype.
The NMTOKENS built-in ordinary datatype.
The nonNegativeInteger built-in ordinary datatype.
The nonPositiveInteger built-in ordinary datatype.
The normalizedString built-in ordinary datatype.
The positiveInteger built-in ordinary datatype.
The short built-in ordinary datatype.
The token built-in ordinary datatype.
The unsignedByte built-in ordinary datatype.
The unsignedInt built-in ordinary datatype.
The unsignedLong built-in ordinary datatype.
The unsignedShort built-in ordinary datatype.
The yearMonthDuration built-in ordinary datatype (subject to ratification).

Kinds of Constraining Facets

The enumeration constraining facet.See also the enumeration element for declaring a value for the above facet.
The fractionDigits constraining facet.See also the fractionDigits element for declaring a value for the above facet.
The length constraining facet.See also the length element for declaring a value for the above facet.
The maxExclusive constraining facet.See also the maxExclusive element for declaring a value for the above facet.
The maxInclusive constraining facet.See also the maxInclusive element for declaring a value for the above facet.
The maxLength constraining facet.See also the maxLength element for declaring a value for the above facet.
The minExclusive constraining facet.See also the minExclusive element for declaring a value for the above facet.
The minInclusive constraining facet.See also the minInclusive element for declaring a value for the above facet.
The minLength constraining facet.See also the minLength element for declaring a value for the above facet.
The pattern constraining facet.See also the pattern element for declaring a value for the above facet.
The totalDigits constraining facet.See also the totalDigits element for declaring a value for the above facet.
The whiteSpace constraining facet.See also the whiteSpace element for declaring a value for the above facet.

Facets in use

Instances of constraining facets are used in the definitions of many of the built-in datatypes.

The instance of the maxInclusive facet used in the definition of the byte datatype.
The instance of the minInclusive facet used in the definition of the byte datatype.
The instance of the pattern facet used in the definition of the dayTimeDuration datatype (subject to ratification).
The instance of the minLength facet used in the definition of the ENTITIES datatype.
The instance of the minLength facet used in the definition of the IDREFS datatype.
The instance of the maxInclusive facet used in the definition of the int datatype.
The instance of the minInclusive facet used in the definition of the int datatype.
The instance of the fractionDigits facet used in the definition of the integer datatype.
The instance of the pattern facet used in the definition of the language datatype.
The instance of the maxInclusive facet used in the definition of the long datatype.
The instance of the minInclusive facet used in the definition of the long datatype.
The instance of the pattern facet used in the definition of the Name datatype.
The instance of the pattern facet used in the definition of the NCName datatype.
The instance of the maxInclusive facet used in the definition of the negativeInteger datatype.
The instance of the pattern facet used in the definition of the NMTOKEN datatype.
The instance of the minLength facet used in the definition of the NMTOKENS datatype.
The instance of the minInclusive facet used in the definition of the nonNegativeInteger datatype.
The instance of the maxInclusive facet used in the definition of the nonPositiveInteger datatype.
The instance of the whiteSpace facet used in the definition of the normalizedString datatype.
The instance of the minInclusive facet used in the definition of the positiveInteger datatype.
The instance of the maxInclusive facet used in the definition of the short datatype.
The instance of the minInclusive facet used in the definition of the short datatype.
The instance of the whiteSpace facet used in the definition of the token datatype.
The instance of the maxInclusive facet used in the definition of the unsignedByte datatype.
The instance of the maxInclusive facet used in the definition of the unsignedInt datatype.
The instance of the maxInclusive facet used in the definition of the unsignedLong datatype.
The instance of the maxInclusive facet used in the definition of the unsignedShort datatype.
The instance of the pattern facet used in the definition of the yearMonthDuration datatype (subject to ratification).
The instance of the whiteSpace facet used in the definition of the anyURI datatype.
The instance of the whiteSpace facet used in the definition of the base64Binary datatype.
The instance of the whiteSpace facet used in the definition of the boolean datatype.
The instance of the whiteSpace facet used in the definition of the date datatype.
The instance of the whiteSpace facet used in the definition of the dateTime datatype.
The instance of the whiteSpace facet used in the definition of the decimal datatype.
The instance of the whiteSpace facet used in the definition of the double datatype.
The instance of the whiteSpace facet used in the definition of the duration datatype.
The instance of the whiteSpace facet used in the definition of the float datatype.
The instance of the whiteSpace facet used in the definition of the gDay datatype.
The instance of the whiteSpace facet used in the definition of the gMonth datatype.
The instance of the whiteSpace facet used in the definition of the gMonthDay datatype.
The instance of the whiteSpace facet used in the definition of the gYear datatype.
The instance of the whiteSpace facet used in the definition of the gYearMonth datatype.
The instance of the whiteSpace facet used in the definition of the hexBinary datatype.
The instance of the whiteSpace facet used in the definition of the NOTATION datatype.
The instance of the whiteSpace facet used in the definition of the precisionDecimal datatype (subject to ratification).
The instance of the whiteSpace facet used in the definition of the QName datatype.
The instance of the preserve facet used in the definition of the string datatype.
The instance of the whiteSpace facet used in the definition of the time datatype.

Anchors for other names in the XML Schema namespace

Anchors for element declarations

This list includes all elements whose declarations are covered in the REC (except those which are used to represent constraining facets, which already appear above).

The all element.
The annotation element.
The any element.
The anyAttribute element.
The appinfo element.
The attribute element.
The attributeGroup element.
The choice element.
The complexContent element.
The complexType element.
The documentation element.
The element element.
The field element.
The group element.
The import element.
The include element.
The key element.
The keyref element.
The list element.
The notation element.
The redefine element.
The restriction element.
The schema element.
The selector element.
The sequence element.
The simpleContent element.
The simpleType element.
The union element.
The unique element.