W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2000

Re: Proper home namespace/resource for built-in datatypes

From: <Noah_Mendelsohn@lotus.com>
Date: Thu, 27 Apr 2000 00:16:22 -0400
To: ht@cogsci.ed.ac.uk (Henry S. Thompson)
Cc: carnold@houston.rr.com, www-xml-schema-comments@w3.org
Message-ID: <OFEC3FF10A.68BE03DC-ON852568CD.0071AFA6@lotus.com>
Uh...I'm not sure it's quite that simple.  If we are going to encourge 
coders of schema instance documents to use:

        <el xmlns:dt="http://www.w3.org/1999/XMLSchema-datatypes"  xsi:type="dt:integer"/>

as opposed to:

        <el xsi:type="xsd:integer"/>

then we have to be very careful about the semantic implications.  Did we 
finally manage to make these two "integer" types identical in the sense 
that they would be the same in the augmented infoset?  If not, then your 
suggestion leads users into big problems.  I do not typically want my 
infosets labeled with two subtly different sorts of integers.

Last I heard in New Orleans, we did not have this level of identity.  If 
that is the case, then I think http://www.w3.org/1999/XMLSchema-datatypes is appropriate for use specifically in languages which will not interact with our schemas.  We have been quite clear that the typical 
(though not required) idiom in a schema is:

        <xsd:element name="el" type="xsd:integer"/>

This suggests to me that the intended instance is the 2nd one above.  That 
said, I have reservations about combining dt: and xsi:;  the types can be 
used in many situations in which xsi: itself would be inappropriate.

------------------------------------------------------------------------
Noah Mendelsohn                                    Voice: 1-617-693-4036
Lotus Development Corp.                            Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------------







ht@cogsci.ed.ac.uk (Henry S. Thompson)
Sent by: www-xml-schema-comments-request@w3.org
04/21/00 12:12 PM

 
        To:     "Curt Arnold" <carnold@houston.rr.com>
        cc:     <www-xml-schema-comments@w3.org>, (bcc: Noah Mendelsohn/CAM/Lotus)
        Subject:        Re: Proper home namespace/resource for built-in datatypes

There is already a namespace and a schema for precisely what you have
in mind, namely http://www.w3.org/1999/XMLSchema-datatypes

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of 
Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
                     Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
                                      URL: http://www.ltg.ed.ac.uk/~ht/
Received on Thursday, 27 April 2000 00:20:50 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:52 UTC