W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

Re: Import and change target namespace is desirable

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 04 Jan 2001 15:23:58 +0000
To: "Bob Schloss" <rschloss@us.ibm.com>
Cc: www-xml-schema-comments@w3.org
Message-ID: <f5bofxngx2p.fsf@cogsci.ed.ac.uk>
In addition to the comments from Michael and Noah, I'd add that there
is an underlying commitment in the XML Schema design to the integrity
of namespaces.  That is, if you want to deploy your own work as
someone else's, or someone else's as your own, you have leave explicit 
evidence of this.  Wrt one of your use cases, this means that if SOAP
wants to offer a type called 'integer' in its own namespace with the
same 'semantics' as the 'integer' in the XML Schema namespace, it must 
do this openly, i.e. by saying

  <xs:schema xmlns:xs='http://www.w3.org/2000/10/XMLSchema'
             targetNamespace='http://www.example.org/Soap'
             xmlns:soap='http://www.example.org/Soap'>
   . . .
   <xs:simpleType name='integer>
    <restriction base='xs:integer'/>
   </xs:simpleType>
   . . .
 </xs:schema>

If this turns out to be a very common design pattern, perhaps succinct 
support for it should be offered in 1.1, but in my opinion this is not 
crucial for 1.0 as the functionality is already there.

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, 4 January 2001 10:24:04 GMT

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