First page Back Continue Last page Graphics
Introducing XSchema
What is XML Schemas (XSchema)?
- New schema mechanism for XML
- Replaces DTDs
XSchema has advantages over DTDs:
- An XML markup language; syntax is XML
- Rich data typing support
- Supports namespaces
- Supports element inheritance
Where is XSchema defined?
- 3 documents of W3C
- Version 1.0 approved 5/2/01
Notes:
XML Schemas (A.K.A. Xschema) is the follow-on to DTDs as the XML content-modeling mechanism. It corrects the serious deficiencies in DTDs: it is itself an XML markup language, it supports a rich set of data types that can handle any kind of business data, it supports namespaces, and it lets you link two elements together in an inheritance relationship.
The final recommendation of XSchema from the W3C; was approved May 2, 2001.
The definition is contained in three documents:
http://www.w3.org/TR/xmlschema-0/
XML Schema Part 0: Primer. A detailed overview of XSchema. Not an official specification document, but a good explanation.
http://www.w3.org/TR/xmlschema-1/
XML Schema Part 1: Structures. The formal specification of the XSchema mechanism.
http://www.w3.org/TR/xmlschema-2/
XML Schema Part 2: Datatypes. The formal specification of the XSchema data typing system.