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

SCD comment: rule for predicate of simpleType

From: C. M. Sperberg-McQueen <cmsmcq@acm.org>
Date: Tue, 24 Dec 2002 17:45:46 -0700
Message-Id: <>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>

The description of the predicate in steps for simple types
says that the predicate is:

     If {variety} is union and the [name] is empty, the pair
     {position, n} where n is the position of the simple type
      definition among {member type definitions}

but I think the text needs to distinguish between the {variety}
of the simple type being selected in the step and that of its
parent, if any.

A top-level simple type which happens to be a union does not
need a numeric predicate; its name will sufficiently identify
it.  It is only an anonymous simple type defined within a
union that needs a number.

Or am I wrong?

Received on Friday, 27 December 2002 08:05:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:59 UTC