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 12:35:33 +0200
Message-Id: <EFF64192-46F6-4FDA-B915-FEDDBAD0032C@ugent.be>
To: RDF Comments <public-rdf-comments@w3.org>
Dear all,

Here is a proposed test case for IRI resolution:
https://gist.github.com/RubenVerborgh/39f0e8d63e33e435371a

For a correct Turtle parser, iri-resolution.ttl and iri-resolution.nt
should contain equal graphs.

These tests:
a) assume that base IRIs are not normalized
b) are based on the RFC3986 tests, with two changes:
 I included several variations on the base IRI
 the base IRI includes path parts with multiple characters,
   to also capture off-by-one string offset bugs that could occur

Feedback is most welcome;
I still plan to include more variations
(paths with mixed ../ and ./ sequences).

Best,

Ruben
Received on Friday, 28 August 2015 10:36:05 UTC

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