- From: Markus Lanthaler <markus.lanthaler@gmx.net>
- Date: Fri, 3 May 2013 10:39:46 +0200
- To: <public-rdf-comments@w3.org>
- Cc: "'Linked JSON'" <public-linked-json@w3.org>
On Wednesday, May 01, 2013 3:58 PM, Gregg Kellogg wrote: > > If you look at the JSON-LD grammar, specifically the section Context > Definitions: > > > > http://www.w3.org/TR/json-ld/#context-definitions > > > > You'll see that such a definition is illegal. It has to be an > absolute IRI. The playground on json-ld.org seems to accept it > nevertheless and the algorithms actually don't verify it. I've CC'ed > Dave Longley who implemented the JSON-LD processor used for the > playground. > > > > That wasn't intended and we probably should throw an error instead as > it is ambiguous relative to which base URL such a definition is > resolved. > > Turtle allows the use of a relative base, as does HTML (AFAIKR), if > @base is seen in the context of an already established base IRI, this > could be valid, IMO. But neither Turtle nor HTML have external contexts. So are you really proposing to allow relative URLs in contexts? -- Markus Lanthaler @markuslanthaler
Received on Friday, 3 May 2013 08:40:19 UTC