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

Received on Sunday, 11 February 2001 08:19:13 UTC

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