XML Schema Specifications

The XML Schema recommendation consists of three parts:

  • XML Schema Part 0: Primer Second Edition provides a very useful “quick start” guide for schema developers and is designed to be used in tandem with the more definitive descriptions in Parts 1 and 2, and assumes a basic knowledge of XML and namespaces.

  • XML Schema 1.1 Part 1: Structures defines the nature and general make up of the XML Schema recommendation, and provides detailed information about schema construction and application with sections including Conceptual Framework, Schema Component Details, and Schemas and Schema-validity Assessment. This section of the specification depends on and refers directly to other W3C publications: XML Information Set, XML Namespaces, and XPath, as well as the XML Schema: Datatypes.

  • XML Schema 1.1 Part 2: Datatypes describes and defines the strong datatyping capabilities of the XML Schema recommendation and is included as a separate document to enable it to be used as an independent entity and therefore portable to other XML tools and technologies. Datatyping allows schema designers to constrain the input of end-users through the application of recognized abstract concepts such as string, Boolean, integer, etc.