Typically, this complex type is considered as a sequence of string.
<xs:complexType name="stringSequence"> <xs:sequence> <xs:element name="item" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType>
But, if the sequence contains more that one element the maxOccurs won't be used :
<xs:complexType name="complexWithSubList"> <xs:sequence> <xs:element name="fieldA" type="xs:string" /> <xs:element name="items" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> <xs:element name="fieldB" type="xs:string" /> <xs:element name="moreitems" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType>
and then :
- items will be seen a string rather than a List of string
- moreitems will be seen a string rather than a List of string
- is required by
-
NXP-11563 Fix saving of ordering criteria on smart folder
- Resolved