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

Re: URIs for primitive datatypes and facets?

From: Dan Connolly <connolly@w3.org>
Date: Mon, 18 Dec 2000 09:36:10 -0600
Message-ID: <3A3E2EEA.A0DC45D9@w3.org>
To: Martin Gudgin <marting@develop.com>
CC: www-xml-schema-comments@w3.org, joint-committee@daml.org


Martin Gudgin wrote:
[...]
> >From Appendix A of Part 2[1]
[...]
> [1] http://www.w3.org/TR/2000/CR-xmlschema-2-20001024/#schema

Thanks for the pointer. But... which is it?
...XMLSchema#date or ...XMLSchema#xpointer(id(date)) ?

They're defined to mean the same thing, in the case of
an XML representation of the schema, but I'm looking
for opaque identifiers.

My reading of the spec says it's the latter
(ugh!).

> Data type    URI
> 
> string       http://www.w3.org/2000/10/XMLSchema#string
> boolean      http://www.w3.org/2000/10/XMLSchema#boolean
> float        http://www.w3.org/2000/10/XMLSchema#float
> double       http://www.w3.org/2000/10/XMLSchema#double
> decimal      http://www.w3.org/2000/10/XMLSchema#decimal
> timeDuration http://www.w3.org/2000/10/XMLSchema#timeDuration

or

>       For example, to address the date datatype, the URI is:
> 
>         http://www.w3.org/2000/10/XMLSchema#xpointer(id("date"))

?

> Hope this helps,

Quite a bit; thanks!

> Gudge
> 
> [1] http://www.w3.org/TR/2000/CR-xmlschema-2-20001024/#schema

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Monday, 18 December 2000 10:38:00 GMT

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