[Bug 3232] Type versus Datatype

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3232





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