Recurring Elements in Sequence

Having an ordered sequence with multiple instances of the same element name is not supported in XML schemas due to an EMF restriction.

For example, the following schema would not be supported:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://example.com/RecurringElements" targetNamespace="http://example.com/RecurringElements">
     <xs:element name="BoatElement" type="Boat"/>
     <xs:complexType name="Boat">
         <xs:sequence>
            <xs:element name="power" type="xs:string" minOccurs="3" maxOccurs="3"/>
            <xs:element name="hulltype" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="power" type="xs:string" minOccurs="3" maxOccurs="3"/>
         </xs:sequence>
     </xs:complexType>
</xs:schema>

Attempting to import the above schema into TIBCO Business Studio will fail with the following message:

XML Schema contains unsupported duplicate element names inside the same complex type.