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 19:17:20 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1JMTIG-0000wf-Qz@wiggum.w3.org>


------- Comment #5 from noah_mendelsohn@us.ibm.com  2008-02-05 19:17 -------
Michael Kay writes:

> As far as I can see, the words "datatype"
> and "simple type" are pure synonyms.

I always found the distinction confusing, but I vaguely recall that there is
one.  Or, stated differently, I vaguely recall that when this question came up
a few years ago that a resolution was proposed.  I >think< it was:

Simple Type: The combination of a lexical space, a value space, definitions of
certain relations like equality, and maybe a few other things I'm forgetting.

Datatype: A component in the schema component graph, typically used to specify
the definition of a Simple Type through use of facets.

That said, I was never terribly optimistic that users would like or remember
this distinction.  I'm not particularly an advocate for this terminology, but
neither did I object strongly nor have sufficiently better alternatives to
propose.  Anyway, that's my somewhat hazy recollection of what the difference
was supposed to be.   Can anyone verify that I do or don't have this right? 

Received on Tuesday, 5 February 2008 19:17:30 UTC

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