Re: playground schema.org support

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