XML Schema Complete Reference, The
by Cliff Binstock, Chris Galtenberg, Mike Wooding, Chris Dix, Mitchell Smith, Dave Peterson
7.11. The redefine Element
An XML schema document may redefine a schema component in the current schema or in another schema by including a redefine element. A schema can redefine the following components: simple types, complex types, named model groups, and named attribute-use groups.
The target namespace implied by the schema location of the redefine element must be the same as the target namespace of the current schema. However, the redefine element can reference a component from another schema in which the referenced component explicitly has no namespace. In the latter case, the components become part of the current namespace.
Note
A redefined component is always a restriction or extension of the original component.
The following list itemizes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access