Comparison of Different Schema Languages

Different schema languages have different strengths and weaknesses. It is sometimes a good idea to create schemas in different languages for the same xml domain. If and when this is a good idea depends on the details of the xml domain and the tools used when working with the associated instance documents.

Document Type Definition (DTD)

The original schema language for xml, it has the following advantages:

DTD has the following disadvantages:

XML Schema Definition Language (XSDL)

Created and maintained by the W3C organization, XSDL is perhaps the most widely used schema language today. It has the following advantages:

XSDL has the following disadvantages:

Skeleton Schema Language

The skeleton schema has the following advantages:

The skeleton schema has the following disadvantages: