Re: Need an authoritative basetype that means 'anyIRI'.

Shane McCarron writes:

> There is no anyIRI base type.

He is correct that there is no built-in type of that name.
But despite its name, the anyURI defined as a built-in
datatype by XSD 1.0 and 1.1 has the set of all IRIs as
its value space.

The XSD 1.0 spec says, in section 3.2.17.1,

> The ·lexical space· of anyURI is finite-length character sequences which, when the algorithm defined in Section 5.4 of [XML Linking Language] is applied to them, result in strings which are legal URIs according to [RFC 2396], as amended by [RFC 2732].

The XSD 1.1 spec says, in section 3.3.18,

> [Definition:]   anyURI represents an Internationalized Resource Identifier Reference (IRI).  AnanyURI value can be absolute or relative, and may have an optional fragment identifier (i.e., it may be an IRI Reference).  This type should be used when the value fulfills the role of an IRI, as defined in [RFC 3987] or its successor(s) in the IETF Standards Track.

I hope this helps.

Michael Sperberg-McQueen

-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com 
* http://cmsmcq.com/mib                 
* http://balisage.net
****************************************************************

Received on Saturday, 28 May 2011 14:05:26 UTC