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 ...

Get XML Schema Complete Reference, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.