RE: Problem loading JSON-LD resource in Hydra Console

On 1 Jan 2015 at 19:50, John Walker wrote:
> Removed those characters and now it's working :)

Great. Was it a BOM? Might be worthwhile to support that or at least throw a
more descriptive error.


--
Markus Lanthaler
@markuslanthaler

 
> Time to extend the vocabulary.
> 
> Regards,
> 
> John
> 
> On 31 Dec 2014, at 20:51, John Walker <john.walker@semaku.com> wrote:
> 
>> 
>> On 31 Dec 2014, at 18:34, "Markus Lanthaler" <markus.lanthaler@gmx.net>
wrote:
>> 
>>>> I'm having some trouble loading a JSON-LD resource
>>>> to the Hydra Console:
>>>> http://www.markus-
>
lanthaler.com/hydra/console/?url=http%3A%2F%2Fbreweryld.semaku.com%2Fbeers%3
Fab
> v%3D5
>>>> 
>>>> The proxy.php script seems to be returning a HTTP 400 with the
>>>> message "Loading http://breweryld.semaku.com/context.jsonld failed".
>>> 
>>> I just curl'ed the file and it appears as there are some invalid
characters before the
> opening curly brace. Maybe that's a BOM.. I'm not sure and can't verify
right now. Try to
> get rid of it and see if it works.
>>> 
>>> 
>> 
>> D'oh yes that'll do it. Teach me to use notepad.
>> 
>> Well think I'll leave it until next year...
>> 
>> Have a good one!
>> 
>>> HTH,
>>> Markus
>>> 
>>> 
>>> --
>>> Markus Lanthaler
>>> @markuslanthaler
>>> 
>>> 
>>> 
>>> 
>>

Received on Sunday, 4 January 2015 10:51:37 UTC