The documentSchemas element specifies the XML schemas for the form template. This element contains references to one or more XML schemas that are used to form an authoritative XML schema to which the form file MUST fully conform, as specified by [XMLSCHEMA1].
The root element of the authoritative XML schema is defined in the XML schema identified by the rootSchema attribute of the documentSchema element (section 22.214.171.124.42). Additional XML schemas are included by using the XML schema’s import or include constructs as follows:
If the XML schema is included using the XML schema import construct, as specified by [XMLSCHEMA1], a documentSchema element MUST exist for that imported XML schema.
If the XML schema is included using the XML schema include construct, as specified by [XMLSCHEMA1], a documentSchema element MUST NOT exist for the included XML schema.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.
<xsd:element name="documentSchemas"> <xsd:complexType> <xsd:sequence> <xsd:element ref="xsf:documentSchema" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element>