Chapter 18. Redefining and overriding schema components


There are two methods of including a schema document into a schema while modifying or overriding certain parts of it: redefine and override. Redefinition—a version 1.0 feature—allows you to extend or restrict certain components (namely types and groups), replacing the original definitions, but only in certain constrained ways. Because of the limitations of redefinition and its inconsistent implementation among processors, redefinition was deprecated in version 1.1 and replaced with a new override feature which is more flexible and better defined.

For the sake of completeness, redefinition ...

Get Definitive XML Schema now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.