W3C home > Mailing lists > Public > public-rdf-comments@w3.org > August 2012

Re: RDF 1.1 IRIs and %-escaping

From: Jeremy Carroll <jeremy@topquadrant.com>
Date: Fri, 10 Aug 2012 15:03:53 -0700
Message-ID: <50258549.1010208@topquadrant.com>
To: Richard Cyganiak <richard@cyganiak.de>
CC: Dan Brickley <danbri@danbri.org>, Andy Seaborne <andy.seaborne@epimorphics.com>, public-rdf-comments Comments <public-rdf-comments@w3.org>, Giovanni Tummarello <giovanni.tummarello@deri.org>, Graham Klyne <gk@ninebynine.org>
On 8/8/2012 4:01 AM, Richard Cyganiak wrote:
> 1. RDF 2004 is the only standard on the planet that allows spaces in 
> URIs/IRIs

I believe that the plural in spaces is crucial in making that sentence 
true ...
The XML Schema Datatypes version 1.0 anyURI I believe allows spaces [1], 
but it's white space handling rules will replace multiple spaces with a 
single space.

So I believe

<http://www.example.org/Two  Spaces>
conforms with RDF 2004 but not XML Schema 1.0
and
<http://www.example.org/One Space>
conforms with both ....

Both specifications had history against them - the IRI spec was much 
anticipated and pretty late - and people had to get on with the job

Hmmm, java.net.URI is from the same era, and has similar issues I think.

Checking out the XML Schema ref [1], I see there is a second spec - 
which really does seem to have very similar rules to RDF 2004, XLink [2].
I think one

Jeremy

[1]
http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#anyURI
[2]
http://www.w3.org/TR/2001/REC-xlink-20010627/#link-locators
Received on Friday, 10 August 2012 22:04:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:53 UTC