2.3.2.7 List Controls (Bulleted List Control, Numbered List Control and Plain List Control)

A list control that is not required to contain data and is bound to a repeating XML element with data type set to "string", and for which no constraining facets have been set, MUST have the following complex type XSD definition, assuming that the repeating element name is "field1":

 <xsd:element name="group1">
     <xsd:complexType>
         <xsd:sequence>
             <xsd:element ref="my:field1" minOccurs="0" maxOccurs="unbounded" />
         </xsd:sequence>
     </xsd:complexType>
 </xsd:element>
 <xsd:element name="field1" type="xsd:string" />

A list control that is required to contain data and is bound to a repeating XML element with data type set to "string", and for which an xsd:minLength constraining facet has been set, MUST have the following complex type XSD definition, assuming that the repeating element name is "field1":

 <xsd:element name="group1">
     <xsd:complexType>
         <xsd:sequence>
             <xsd:element ref="my:field1" minOccurs="0" maxOccurs="unbounded" />
         </xsd:sequence>
     </xsd:complexType>
 </xsd:element>
 <xsd:element name="field1" type="my:requiredString" /> 
     <xsd:simpleType name="requiredString">
     <xsd:restriction base="xsd:string">
         <xsd:minLength value="1" />
     </xsd:restriction>
 </xsd:simpleType>

A list control SHOULD be bound to a field with one of the following XSD data types, for which any valid constraining facets MAY also be set:

  • string

  • XHTML