XML technologies / XML Schema / Using and developing schemas / W3C XML Schema
(Excerpt from “XML Schema” by Eric van der Vlist)
XML 1.0 includes a toolkit for defining XML document structure called Document Type Definitions (DTDs). These tools specify permitted element and attribute structures and can also specify default attribute values, reusable content (entities) and some metadata forms, notations. Although DTDs are widely supported and used, many XML developers quickly outgrew them. An alternative schema proposal, XML-Data, was submitted to the W3C even before XML 1.0 became a recommendation.
The World Wide Web Consortium (W3C), custodian of the XML specification, set out to develop a new language for describing XML documents. It would describe document structures and content more precisely, support XML namespaces and use an XML vocabulary to describe XML vocabularies. The W3C XML Schema Working Group spent two years developing two normative recommendations, “XML Schema Part 1: Structures” and “XML Schema Part 2: data types”, plus a non-normative recommendation, “XML Schema Part 0: Primer”.
W3C XML Schema was designed to meet these requirements. A basic set of requirements, formally described in the XML Schema Requirements Note, lists varied schema use cases and the design principles guiding development.
The rest of this book explores W3C XML Schema and its applications, focusing on concrete situations involving XML documents.
Copyright © 2003 O'Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from “XML Schema” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de
back to top