ZVON > References > XML Schema 2001 Reference
index | >> Schema << | DTD

complexType

Go to standard
Annotation
Documentation

 
Source http://www.w3.org/TR/xmlschema-1/#element-complexType

In: schema
Schema

<xs:element name="complexType" type="xs:topLevelComplexType" id="complexType"> </xs:element>

In: complexType element
Schema

<xs:element name="complexType" type="xs:localComplexType"/>


Occurs in Schema Tutorial examples:
elementFormDefault unqualified for not-top-level elements, namespace non-null
elementFormDefault qualified for not-top-level elements, namespace non-null
Empty element
Element with mixed content (text and only one element)
Element which contains elements only (order does not matter)
Element which contains elements only (order is important)
Element which contains mixture of two elements (can appear more times)
Element which contains one of two elements
Element which contains two "patterns" (sequences), in any order
Element contains text only and one attribute
Element can contain a mixture of elements
Defining a group of attributes
Attribute contains a list of values
Attribute from any namespace
Attributes from namespace other then target namespace (which is null)
Attributes from namespace other than target namespace (which is not null)
Attributes from some particular namespace
Just one element from any namespace
Arbitrary number of elements from any namespace
Exact number of elements from any namespace
Elements from namespace other than target namespace (which is not null)
Elements from namespace other than target namespace (which is null)
nillable, xsi:nil
xsi:type
Element and type have the same name
Error - simpleType and complexType have the same name
Uniqueness
Key
Uniqueness - comparison of numbers
Unique and nillable
Keyref
Importing schema and processContents "strict"
Importing schema and processContents "lax"
Importing schema and processContents "skip"
Abstract element, substitutionGroup
Attribute block
Attribute block set to "restriction"
Attribute block set to "extension"
XML Schema - blockDefault attribute
Combining block and blockDefault attributes
Attribute block and xsi:type
Abstract type
Extending schema
Target namespace is not null, attributeFormDefault is qualified
Target namespace is not null, attributeFormDefault is unqualified
Target namespace is null
Extension of a sequence
Extension of a choice
Restriction of a sequence
Restriction of a choice
Error in restriction - namespaces in wildcards
"Sequence" from "all"
"Sequence" from "choice"
Element from any
Target namespaces are the same (non-null)
Target namespaces are the same (null)
Including document has non-null target namespaces, included null target namespace
The wildcard "xsd:any" and inclusions
The wildcard "xsd:anyAttribute" and inclusions