Re: RDF 1.1 IRIs and %-escaping

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