Re: Call for Consensus: IRI resolution tests

Apache Jena passes these tests.

The tests run are after the discussed modifications from the initial PR:

The tests were originally marked as "syntax" tests and are now 
"evaluation" tests (syntax tests don't check the output; evaluation 
tests compare output with a reference file).

The tests make an additional assumption that absolute URIs are not 
normalized.  This is not covered by the Turtle spec one way or another 
(nor should it be).  Both normalizing and not normalizing are possible.

In one small corner case [1] of RFC 3986, this makes a difference to the 
resource identified:

Non-normalised absolute URIs:
     Resolve relative URI
<http://host/a/bb/ccc/..> <x> ==> <http://host/a/bb/ccc/x>

Normalised absolute URIs:
    Normalize:
<http://host/a/bb/ccc/..> --> <http://host/a/bb/>
    Resolve relative URI
<http://host/a/bb/> <x> ==> <http://host/a/bb/x>

     Andy

Our discussion:
[1] https://github.com/w3c/rdf-tests/issues/6

Received on Saturday, 24 October 2015 19:13:19 UTC