Purpose |
This element can be used to specify attribute wildcards in complex type definitions. It allows the occurrence of arbitrary attributes with the current element in the XML instance to be validated against the schema. The details of the validation of this fragment of XML code
are specified with the |
Parent element | xs:complexType ,
xs:extension |
Child elements | None |
Attributes | namespace ,
processContents |
Name | Type | Description |
---|---|---|
namespace |
|
The
|
processContents |
xs:NMTOKEN |
This attribute specifies whether strict or simplified validation is performed. It can have the values:
The default value is "strict". These validation methods differ in their behavior if they encounter attributes without a corresponding definition of a global attribute. If "lax" is specified, the XML processor only validates the attributes for which it can obtain schema information, but for attributes where no corresponding definition of a global attribute is available, no errors are signalled. If "strict" is specified, each attribute must validate against a corresponding global attribute definition. If "skip" is chosen, the respective attributes are not validated at all. |