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: URIs and information typing



Jonathan Borden <jborden@mediaone.net> writes:

<snip/>

> right, so: "xsd:unsignedInt" is just shorthand for
> http://www.w3.org/2000/10/XMLSchema#unsignedInt -- which is references a
> location in the XML Schema schema <simpleType id="unsignedInt">... ?

Lest anyone misunderstand, this is _not_ the status quo in the W3C XML
Schema public working drafts.  The former ("xsd:unsignedInt") is
defined to be the name 'unsignedInt' in the namespace named by the URI
associated with the 'xsd' prefix in the inscope namespace
declarations, and hence to refer by statue, as it were, to the builtin
'unsignedInt' derived datatype.  The latter
(http://www.w3.org/2000/10/XMLSchema#unsignedInt) is a uriReference
which resolves, provided the returned resource is the schema document
for schemas, and its mime type is as expected text/xml or
application/xml, to a <simpleType> element in that document, courtesy
of an attribute of type ID with the value 'unsignedInt' on that
element.

Needless to say, these are _not_ the same thing, although
the XML Schema Part 2: Datatypes draft does identify this as a URI
reference which may be used to identify this type in places other than
schemas.

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/