Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Properties | Schema Component Properties | Any Attribute Declaration
 
Any Attribute Declaration
An any attribute declaration is a wildcard declaration used as a placeholder for undeclared attributes in an instance document. This symbol corresponds to the <anyAttribute> declaration in an XML Schema. The attribute that corresponds to the wildcard declaration in the instance document is called the matching attribute.
Because an <anyAttribute> declaration does not specify an attribute name, the schema uses 'Any' as the name of the attribute.
This field...
Specifies...
Process Contents
The validation constraints placed on the matching attribute in the instance document. The value of Process Contents equals the value of the processContents attribute in the <anyAttribute> declaration. This field can have one of the following values:
*strict specifies that Integration Server must validate the matching attribute against a global declaration in a schema belonging to one of the allowed namespaces. If Integration Server cannot find one of the XML components, it generates a validation error. The Process Contents value is strict when the processContents attribute is absent or is set to "strict" in the <anyAttribute> declaration. This is the default value.
*skip specifies that the matching attribute must be well-formed XML. Integration Server does not need to make sure the matching element or attribute is schema-valid. The Process Contents value is skip when processContents="skip" in the <anyAttribute> declaration.
*lax specifies that when Integration Server encounters the matching attribute in the instance document, it should (if possible) validate the matching attribute against the corresponding global declaration in a schema from an allowed namespace. However, if Integration Server cannot find the schema in the namespace, no error occurs. The Process Contents value is lax when processContents="lax" in the <anyAttribute> declaration.
Qualifier
Whether the matching attribute can or cannot be from one of the namespaces listed in the URIs field.
The namespace attribute value in the <anyAttribute> declaration determines the value of Qualifier. See the following.
Namespace value
Qualifier value
Description
##any
any
Specifies that the matching attribute can be from any namespace.
##local
specific
Specifies that the matching attribute must belong to a namespace
##targetNamespace
specific
Specifies that the matching attribute must be from the namespace listed in the URIs field.
##other
not
Specifies that the matching attribute must be from a namespace other than the namespaces listed in the URIs field.
"URI1 URI2"
specific
Specifies that the matching attribute must be from one of the namespaces listed in the URIs field.
URIs
The namespaces to which the matching attribute can or cannot belong. The namespace attribute value in the <anyAttribute> declaration determines the value of URIs. See the following.
Namespace value
URIs
any
blank. If the namespace attribute does not appear in the attribute declaration, ##any is used.
##local
"unqualified"
##other
target namespace and "unqualified"
##targetNamespace
target namespace
"URI1 URI2"
Specified by the namespace attribute in the <anyAttribute> declaration.