Inconsistent usage of memberType(s) on Union

In the primer there is an example of a union (2.3.2) with an attribute
'memberTypes' that has multiple named types as a value:

<xsd:simpleType name="zipUnion">
  <xsd:union memberTypes="USState listOfMyIntType"/>
</xsd:simpleType>

This conflicts with the definition of union in the specification where the
attribute is called 'memberType' and has QName as its type. The description
of the DataType Definition Schema Component for makes no mention of
'memberType' when describing {base type definition} for union.

The usage in the primer seems more useful although the order between types
referenced in 'memberTypes' and any inline simple types should be explicitly
defined.

-- Mark

Received on Wednesday, 11 October 2000 12:27:02 UTC