[Bug 1519] WXS's "data type namespace" is not reserved

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





------- Additional Comments From mike@saxonica.com  2005-07-01 21:24 -------
A personal response: XSLT attaches no special meaning to names in the W3C Schema
datatypes namespace, for example, data types in this namespace are not
recognized as data types, and functions in this namespace are not recognized as
constructors. Therefore, the namespace falls into the same category as many
other namespaces that some other group has defined: it's good etiquette to avoid
using them with a meaning other than the meaning defined by the namespace's
owner, but the XSLT processor won't complain if you do otherwise.

The decision not to recognize http://www.w3.org/2001/XMLSchema-datatypes (let's
call it xsdt:) was a deliberate one: there's a technical problem with the
definition of this namespace in that xsdt:integer is a subtype of xs:integer,
and xsdt:decimal is a subtype of xs:decimal, and therefore xsdt:integer is not a
subtype of xsdt:decimal.

Michael Kay

Received on Friday, 1 July 2005 21:28:24 UTC