Re: Import and change target namespace is desirable

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 UTC