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

Re: RDF's relative IRI resolution is ambiguous

From: Ruben Verborgh <ruben.verborgh@ugent.be>
Date: Fri, 28 Aug 2015 00:01:03 +0200
Cc: Richard Cyganiak <richard@cyganiak.de>, RDF Comments <public-rdf-comments@w3.org>
Message-Id: <E3EA44A1-52B4-456C-9981-419103364994@ugent.be>
To: Gregg Kellogg <gregg@greggkellogg.net>
> That depends on if <> is interpreted as a relative URI. 

Upon closely reading RFC3986, an empty URI is a relative URI:
relative-part = "//" authority path-abempty
                    / path-absolute
                    / path-noscheme
                    / path-empty
And Section 5.2.2 defines the behavior as:
            if (R.path == "") then
               T.path = Base.path;
So <> necessarily equals the base IRI, without normalization.

I'm in the process of building an extensive list of test cases.
Will share when ready.

Ruben
Received on Thursday, 27 August 2015 22:01:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:59:49 UTC