Re: URIs for primitive datatypes and facets?

Dan,

I should have known better than to post two URIs that refer to the same
resource when talking to Mr URI!

:-)

You're correct that the schema annotation says that the explicit xpointer
version of the URI is the 'correct' one. Personally I think I prefer the
shorthand. Perhaps you/we could raise this as an agenda item and try to get
it changed to be the shorthand version?

Gudge

----- Original Message -----
From: "Dan Connolly" <connolly@w3.org>
To: "Martin Gudgin" <marting@develop.com>
Cc: <www-xml-schema-comments@w3.org>; <joint-committee@daml.org>
Sent: Monday, December 18, 2000 3:36 PM
Subject: 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 11:02:56 UTC