W3C home > Mailing lists > Public > www-tag@w3.org > December 2002

Re: how to specify a URL in a Schema?

From: Tim Bray <tbray@textuality.com>
Date: Fri, 13 Dec 2002 00:03:32 -0800
Message-ID: <3DF99454.9030802@textuality.com>
To: Jeff Sonstein <jeffs@it.rit.edu>
Cc: www-tag@w3.org

Jeff Sonstein wrote:
> pardon the interruption...
> I am working on developing a W3C XML Schema
> for the next generation of VRML
> and I am trying to figure out a reasonable way
> to specify that an element or attribute must be a URL...
> any pointers/examples would be greatly appreciated

I believe XML Schema has an AnyURI data type that might do what you 
want.  Speaking pedantically, I note that there is no longer any 
authoritative definition i.e. RFC you can point to to explain what you 
mean when you say "URL".  RFC 2396 is pretty well what there is, and it 
defines URIs, so URIs, not URLs, is what we have to work with going 
forward. -Tim
Received on Friday, 13 December 2002 03:03:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:55:56 UTC