You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is no way to distinguishing a context document from an instance document if it isn't know beforehand. There are a couple of options to solve this issue:
create a new MIME type
use the form MIME type parameter, i.e., form=context
Using a MIME type (parameter) for this is problematic for client-side JavaScript implementations. Including @context also in context documents seems to be a straightforward and simple way to do it. The only issue then is to ensure that there isn't any data in a context document - but I'm not even sure if we need to do that.
Perhaps we also just say it's not important to be able to distinguish it because a client has to know what it requests!?
The text was updated successfully, but these errors were encountered:
It has been decided that external context documents have to include the @context keyword. This eliminates the need to distinguish context from instance documents.
The situation for frame documents is not clear yet so I leave this issue open for the moment. The simplest and cleanest solution IMHO would be to serve frame documents as JSON documents instead of JSON-LD documents. After all, they are not "valid" JSON-LD documents anyway.
Currently there is no way to distinguishing a context document from an instance document if it isn't know beforehand. There are a couple of options to solve this issue:
Using a MIME type (parameter) for this is problematic for client-side JavaScript implementations. Including @context also in context documents seems to be a straightforward and simple way to do it. The only issue then is to ensure that there isn't any data in a context document - but I'm not even sure if we need to do that.
Perhaps we also just say it's not important to be able to distinguish it because a client has to know what it requests!?
The text was updated successfully, but these errors were encountered: