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: <5.1.0.14.1.20021224174028.0298ea20@localhost>
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?

-CMSMcQ
Received on Friday, 27 December 2002 08:05:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:01 GMT