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

[Bug 3232] Type versus Datatype

From: <bugzilla@wiggum.w3.org>
Date: Tue, 05 Feb 2008 21:06:50 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1JMV0E-0005Aq-Kv@wiggum.w3.org>


------- Comment #9 from mike@saxonica.com  2008-02-05 21:06 -------
I believe that a complex type definition defines a complex type. I think I know
what a complex type is: it is a set of rules that can be used to constrain the
contents of XML elements. 

Similarly I believe that a simple type definition defines a simple type; and a
simple type is a set of rules that can be used, inter alia, to constrain the
contents of XML elements and attributes. 

I know what datatypes are as a generic computer science term, but I don't know
what they are in XML Schema, other than another name for simple types. Your
last comment appears to agree with that.

I don't think we have to resort to concepts like "element class" - we have
quite enough concepts already without inventing more.
Received on Tuesday, 5 February 2008 21:06:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:07 UTC