OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML Schema built-in data type namespace URI.



Jonathan Borden <jborden@mediaone.net> writes:

> Biron,Paul V wrote:
> 
> >
> > Because the built-in datatypes are intended to be used both by the schema
> > language and by other specifications, it was decided that there should be
> > two namespaces.  The XML Schema namespace
> > (http://www.w3.org/2000/10/XMLSchema) is to be used to identify a built-in
> > datatype whenever  that type is being used IN THE CONTEXT of an XML
> Schema;
> > the XML Schema Datatypes namespace
> > (http://www.w3.org/2000/10/XMLSchema-datatypes) is to be used to indentify
> a
> > schema datatype whenver that type is being used OUTSIDE THE CONTEXT of an
> > XML Schema.
> >
> > I hope this helps.
> 
> A big problem here is that QNames and URIs are not being used in a web
> interoperable or meaningful way. Are you saying that the concept
> "unsignedInt" as named by
> 
> http://www.w3.org/2000/10/XMLSchema#unsignedInt
> 
> is different than the concept "unsignedInt" as named by:
> 
> http://www.w3.org/2000/10/XMLSchema-datatypes#unsignedInt

You're crossing threads, Jonathan.  Paul was answering a much simpler
questions.

In any case, yes, those two are different, because they are just URI
references to elements in two distinct XML documents.  Prose in the
XML Schema Part 2: Datatypes public working draft makes clear that
these refer to the same builtin simple type definition, but that's in
the prose, not something which follows from the nature of namespaces.

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/