Attribute Extensions Namespace

The namespace name http://www.w3.org/2007/01/attrExt# is intended to provide attribute extensibility by exploiting element extensibility. Attributes that are desired on an element whose schema does not permit extensibility are added to an attrExtensions sub-element. There are currently no formal descriptions are available.

Warning: Until a dependent specification reaches W3C Candidate Recommendation (CR) status, this namespace name may be reused by any update in such a way as to cause documents written using the namespace to become invalid or to change in meaning. Dependent specifications include:

This document is intended to comply with W3C policy for XML namespace names.

Defined Terms

The attrExtensions element allows attribute extensions and is placed within elements whose schema (in any language) permits elements extensibility, but not attribute extensibility. The following XML Schema excerpt defines the attrExtensions element.

…
<xs:element name="attrExtensions">
  <xs:complexType>
    <xs:anyAttribute namespace="##any" processContents="lax" />
  </xs:comlexType>
</xs:element>
…

This provides a general mechanism for adding extension attributes where attribute extensibility is not allowed, but element extensibility is allowed. It SHOULD NOT be used where attribute extensibility is allowed.


Eric Prud'hommeaux <eric@w3.org>
$Revision: 1.1 $ of $Date: 2007/01/09 16:58:57 $