Valid combinations of repeat and duplicate elements in complex types

The table below defines the valid combinations of repeated and duplicate elements within a complex type, dependent on the Composition property value.

Repeated and duplicate elements in a complex type

Elements in type Example Unordered Set Ordered Set Sequence
No repeats, no duplicates A, B, C Yes Yes Yes
Repeated element (contiguous) A[n], B, C Yes Yes Yes
Duplicate element A (contiguous) A, A, B, C No No Yes
Duplicate element A (non-contiguous) A, B, C, A No No Yes
Related concepts
The message model
Related tasks
Working with message model objects
Related reference
Message model object properties
Logical properties for message model objects
Complex type logical properties
Message model object properties by object