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

abstract simpleTypes

From: Michael McCaleb <mccaleb@eeel.nist.gov>
Date: Fri, 15 Dec 2000 17:39:30 -0500
Message-Id: <v02130510b6604dcd823f@[129.6.185.17]>
To: www-xml-schema-comments@w3.org
Dear XML Schema editor,

Observation:
Clauses 3.2.7 states:

  It is an error for recurringDuration to be used directly in a schema.
  Only datatypes that are derived from recurringDuration by specifying a
  value for duration and period can be used in a schema.

Clauses 3.2.8 states:

  It is an error for binary to be used directly in a schema. Only
  datatypes that are derived from binary by minimally
  specifying a value for encoding can be used in a schema.

Clauses 3.3.10 states:

  It is an error for NOTATION to be used directly in a schema. Only
  datatypes that are derived from NOTATION by
  specifying a value for enumeration can be used in a schema.
  Furthermore, the value of all enumeration facets must match
  the name of a notation declared in the current schema.

Clauses 3.3.26.3 states:

  It is an error for timePeriod to be used directly in a schema. Only
  datatypes that are derived from timePeriod by
  specifying a value for duration can be used in a schema.


Comment:
In light of the above statements, would it be useful for the abstract
attribute to be included in simpleTypes as well as complexTypes?




Sincerely,

Mike McCaleb
Received on Friday, 15 December 2000 17:38:10 GMT

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