W3C home > Mailing lists > Public > public-awwsw@w3.org > June 2008

Re: ISSUE-126 (Revisit Datatypes): The list of normative datatypes should be revisited

From: Alan Ruttenberg <alanruttenberg@gmail.com>
Date: Sun, 29 Jun 2008 04:18:48 -0400
Message-Id: <3237DE08-F936-4187-A8E7-406423E464FD@gmail.com>
Cc: OWL Working Group WG <public-owl-wg@w3.org>, public-awwsw@w3.org
To: Boris Motik <boris.motik@comlab.ox.ac.uk>

On Jun 18, 2008, at 3:23 PM, Boris Motik wrote:

> 2. We define xsd:anyURI to be a subset of xsd:string.

I thought this isn't a problem, but now I think it might be. The  
issue is that the lexical to value space mapping for xsd:anyURI is  
different from that for xsd:string.

For xsd:anyURI, my understanding is that

1. http://neurocommons.org/page/Main%5FPage
2. http://neurocommons.org/page/Main_Page

Have the same value

However if interpreted as xsd:string these are different values.

The issues are:

If we have a pattern facet, is the pattern applied in the value space  
or the lexical space? If in the value space then this is really  
painful, as one has to do schema dependent unescaping.

If in the lexical space, then this is at variance with the approach  
that OWL operates on the values.

This also explains why xsd:anyURI isn't a subtype of xsd:string (even  
if the value space of xsd:anyURI is a subset of the value space of  
xsd:string).

-Alan

http://www.w3.org/TR/xmlschema-2/#anyURI
http://www.cs.tut.fi/~jkorpela/rfc/2396/full.html#2.4.2
Received on Sunday, 29 June 2008 08:19:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 July 2008 07:55:28 GMT