W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

Naming inconsistency

From: James Clark <jjc@jclark.com>
Date: Sun, 11 Feb 2001 17:12:29 +0700
Message-ID: <3A86658D.CE6CF9A8@jclark.com>
To: XML Schema Comments <www-xml-schema-comments@w3.org>
Schemas part 2 provides three elements for deriving new types:

- list
- union
- restriction

Each of these elements has an attribute specifying the type or types
from which the new type is derived:

- "list" has a "itemType" attribute
- "union" has a "memberTypes" attribute
- "restriction" has a "base" attribute

Surely it would be more consistent for the attribute on "restriction" to
be "baseType" rather than "base".

James
Received on Sunday, 11 February 2001 08:19:13 GMT

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