XML technologies / XML Schema / Controlling namespaces
(Excerpt from “XML Schema” by Eric van der Vlist)
The W3C published Namespaces in XML about a year after XML 1.0. Namespaces use URIs to distinguish XML vocabularies. Instead of updating XML 1.0 DTDs to support namespaces explicitly, the W3C chose to implement namespaces support in W3C XML Schema. The XML community eagerly awaited namespace support, so the editors of W3C XML Schema paid special attention to them.
Namespaces posed two problems for DTDs. One was recognizing namespaces defined with different prefixes in instance documents. The other was simplifying schema definitions spanning several namespaces. Open schemas controlling some namespaces strictly while allowing unknown elements and attributes from unknown namespaces proved especially difficult.
W3C XML Schema exceeded these expectations by associating a namespace with every schema-defined object: elements, attributes, simple and complex types, and element and attribute groups. Namespaces can thus build modular schema libraries.
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