HOPEX UML : HOPEX XML Schemas : XSD Reverse Generation : Modeling the XSD Schema tags : XSD reverse generation: Any
   
XSD reverse generation: Any
The "Any" tag defines a group that may contain any type of element. However, you may restrict the group of elements to a set of namespaces.
"Any" is modeled by a class of the "schema Group" stereotype, in its definition. The declaration of this group is represented by a UML composition, and the group occurrence is represented by the UML class role on the side of the Group class.
The XDD Order generation parameter for the class is set to "none". The XSD Any generation parameter is set to "any".
If the group has no siblings, the name of the class is "Any". Otherwise, it is "Any" followed by an index indicating the placement in the group.
Attributes of "Any"
Id: modeled by the XSD Id generation parameter for the class.
MaxOccurs: modeled by the maximum multiplicity of the role for the group class.
MinOccurs: modeled by the minimum multiplicity of the role for the group class.
Namespace: modeled by the XSD Namespace generation parameter. It takes a tabulated value from the following list:
##any: any element is suitable
##other: any element not belonging to the current namespace
##targetNamespace: any element belonging to the current namespace
Uri list: any attribute belonging to the list of namespaces
##Local: any element local to a type.
processContents: modeled by the XSD processContents generation parameter. It takes a tabulated value from the following list:
lax: if the element has a defined, known type, the element must be valid in comparison to its definition. Otherwise, it must simply be well-formed.
skip: no constraint is applied. The element must simply be well-formed.
strict: the element must be validated once its type is identified in the document instance by a defined type or by a type referenced by the xsi :type attribute.