W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2000

Re: Inconsistent usage of memberType(s) on Union

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 11 Oct 2000 18:06:21 +0100
To: Mark Swinkels <MarkSw@Attachmate.com>
Cc: www-xml-schema-comments@w3.org
Message-ID: <f5b66mzi9yq.fsf@cogsci.ed.ac.uk>
Mark Swinkels <MarkSw@Attachmate.com> writes:

> 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.

memberTypes and list of QName is correct, there was a glitch in the
published draft which has been corrected, sorry.

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Wednesday, 11 October 2000 13:06:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:53 UTC