W3C home > Mailing lists > Public > public-linked-json@w3.org > August 2013

Re: playground schema.org support

From: David I. Lehn <dil@lehn.org>
Date: Thu, 15 Aug 2013 18:36:17 -0400
Message-ID: <CADcbRRPzxq_JJnmPFxBwSNf9yE3SEQu+gLJc+byUemnUczcu_w@mail.gmail.com>
To: Markus Lanthaler <markus.lanthaler@gmx.net>
Cc: Linked JSON <public-linked-json@w3.org>
On Thu, Aug 15, 2013 at 5:43 PM, Markus Lanthaler
<markus.lanthaler@gmx.net> wrote:
> On Thursday, August 15, 2013 11:26 PM, David I. Lehn wrote:
>> Right now when it does context mapping it does display a box at the
>> bottom saying which contexts were modified.  That could be expanded to
>> also show a reason for each mapping.
>
> Yeah, that would be great. I would also like to add a checkbox or something
> so that it won't work without the user acknowledging it.
>

Why can't a quick hack be just that?  I'll try to get to it at some
point unless someone else feels like adding such a thing.


> Btw. the feature doesn't work for me. Neihter in FF nor in IE. I get the
> following error:
>
> {"name":"jsonld.InvalidUrl","message":"Derefencing a URL did not result in a
> valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to
> a same-origin policy (ensure the server uses CORS if you are using
> client-side JavaScript), too many redirects, a non-JSON response, or more
> than one HTTP Link Header was provided for a remote
> context.","details":{"url":"http://schema.org","cause":{"name":"jsonld.LoadD
> ocumentError","message":"URL could not be dereferenced, an error
> occurred.","details":{"url":"https://w3id.org/schema.org","cause":{"fileName
> ":"http://json-ld.org/playground/jquery-1.9.0.min.js"}}}}}
>

I added a context typo.  My bad.  Fixed now.  That error message
really sucks for just a JSON syntax error.

-dave
Received on Thursday, 15 August 2013 22:36:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:39 UTC