digitalbazaar / jsonld.js

A JSON-LD Processor and API implementation in JavaScript
https://json-ld.org/
Other
1.66k stars 195 forks source link

Nested contexts causing unspecified error #393

Closed hsolbrig closed 4 years ago

hsolbrig commented 4 years ago

https://tinyurl.com/y92r6kxt -- gives invalidURL message, but it works in previous versions of the playground.

gkellogg commented 4 years ago

Looks like it's returning a BOM character:

curl https://fhircat.org/fhir-r5/rdf-r4/contexts/patient.context.jsonld | od -c
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3366  100  3366    0     0  15728      0 --:--:-- --:--:-- --:--:-- 15802
0000000  357 273 277   {  \n           "   @   c   o   n   t   e   x   t
0000020    "   :       {  \n                   "   @   v   e   r   s   i
0000040    o   n   "   :       1   .   1   ,  \n                   "   @
...
hsolbrig commented 4 years ago

Dang - we'd filed a previous one on this as well. Apologies and thanks!.