kianschmalenbach / rdf-browser

A Firefox Add-on that requests RDF files and renders RDF files as Turtle documents with clickable links
MIT License
16 stars 6 forks source link

JSON-LD contexts are rendered as a blank screen #35

Open pchampin opened 1 year ago

pchampin commented 1 year ago

JSON-LD contexts (e.g. the one from schema.org) are valid JSON-LD documents, but generate no triple.

Currently, with 'Parse RDF as HTML' on, this results in a blank screen, which is a bit unsettling. This would be mitigated by the resolution of #34, but in this particular case, maybe a fallback to displaying the original JSON would make more sense -- because the value of such a document is in the context, not in the triples...