W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2005

[Bug 2214] R-222: Should XML Schema continue to define the XMLSchema-datatypes namespace?

From: <bugzilla@wiggum.w3.org>
Date: Wed, 14 Sep 2005 19:16:31 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EFckB-00012N-Ll@wiggum.w3.org>

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

           Summary: R-222: Should XML Schema continue to define the
                    XMLSchema-datatypes namespace?
           Product: XML Schema
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSD Part 2: Datatypes
        AssignedTo: cmsmcq@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org


This issue was raised at the May 2003 f2f. See: 
(http://www.w3.org/XML/Group/2003/05/xml-schema-ftf-minutes#d0e750 

XML Schema Part 2 suggests that the XMLSchema-datatypes URI is an alias for the 
xmlschema namespace URI: 

"To facilitate usage in specifications other than the XML Schema definition 
language, such as those that do not want to know anything about aspects of the 
XML Schema definition language other than the datatypes, each built-in datatype 
is also defined in the namespace whose URI is: http://www.w3.org/2001/XMLSchema-
datatypes " 

while the documentation in the schema for the XMLSchema-datatypes suggests a 
different relationship, which is consistent with the notion of one-name-per-
component: 

<documentation>Note this schema is NOT a normative schema - - It contains types 
derived from all the builtin simple type definitions with the same local name 
but in a distinct namespace, for use by applications which do no wish to import 
the full XMLSchema schema. Since derivation is not symmetric, unexpected 
results may follow from mixing references to these definitions with references 
to the definitions in the XMLSchema namespace. For example, although 
dt:positiveInteger is derived from xs:integer, the converse does not 
hold.<documentation>
Received on Wednesday, 14 September 2005 19:16:41 GMT

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