Re: URIs for primitive datatypes and facets?

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 UTC