2.3.2.9 Multiple-Selection List Box Control

A multiple-selection list box 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 multiple-selection list box 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>