Re: relativize URI

Created issue https://github.com/ruby-rdf/rdf/issues/173 as a feature request. This can then be used to change the behavior of writers needing this behavior.

Gregg Kellogg
gregg@greggkellogg.net

> On Mar 11, 2015, at 4:58 PM, carmen <_@whats-your.name> wrote:
> 
> 
>> (i.e., <foo/bar/> is different than <foo/./bar>
> 
> changing the URI in an RDF context is indeed out of the question. here's the specific breakage:
> 
> ~ curl http://b.whats-your.name/news/2015/03.ttl
> 
> @base <http://b.whats-your.name/news/2015/03> .
> <> a stat:Directory;
>   ldp:contains </07>
> 
> browsers then try to find /07 on this server which doesnt exist.. 
> 
> maybe make relativize a noop unless base matches /[\/#]$/ ? 
> 

Received on Thursday, 12 March 2015 00:46:26 UTC