Book HomeXML SchemaSearch this book

A.3. A Short History of XML Schema Languages

The list of schema languages is long and needs to include languages developed for SGML (the language used before XML was born) to be complete. The list that I propose is far from exhaustive, and includes only the major proposals that have influenced the schema languages I see as the most promising.

A.3.1. The DTD Family

Mandatory for any SGML application, a simplified version of the SGML DTDs was introduced in the XML 1.0 Recommendation. Even though a DTD is not mandatory for an application to read and understand a XML document, many developers highly recommend writing DTDs for any XML application.

A.3.2. The W3C XML Schema Family

The W3C XML Schema Working Group received many proposals that were contributed as notes:

A.3.3. The RELAX NG Family

The RELAX NG family is a more traditional marriage between grammar-based XML Schema languages that have chosen to unite their strengths.

A.3.4. Schematron

Schematron (http://www.ascc.net/xml/resource/schematron/schematron.html), which was first proposed in September 1999 by Rick Jelliffe of the Academia Sinica Computing Centre, is an unusual schema language. It defines validation rules using XPath expressions. Schematron is also described in the ISO DSDL project.

A.3.5. Examplotron

Starting from the observations that instance documents are usually much easier to understand than the schemas that describe them, and that schema languages often need to give examples of instance documents to help human readers to understand their syntax, I proposed Examplotron (http://examplotron.org) in March 2001, to define "schemas by example" using sample instance documents as actual schemas.



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.