Re: [dxwg] JSON-LD context missing as a canonical resource and duplicated in-line in examples (#1428)

On Sun, 28 Nov 2021 at 05:21, Rob Atkinson ***@***.***> wrote:

> I think commenting examples is a separate concern to providing good
> examples in the first place - and examples that cut and paste contexts are
> not good examples:
>
That feels inappropriately absolutist - you’re elevating person opinion to
a rule for others who may have different tradeoffs to make.

If you are going to be digitally signing some json-ld for example, that
gives you good readon not to write blank cheques by making the rdf triples
view of the content depend on external changeable (and often even
man-in-the-middle-able) definitions.

Similarly - eg IoT - if deployment target environment is potentially
unreliably connected to public internet, or you don’t want to broadcast an
association between requesting IP address and remote context host. Consider
a futuristic health iot home device fetching
http://cancertests.medical.example.org/context.json …

> they may possibly modify or only partially implement the spec - its
> impossible to know without fully parsing the examples, the spec vocabulary
> and performing a comparison on possibly differently serialised but
> isomorphic graphs with different but equivalent blank nodes etc...
>
> i.e. please just use a canonical context so its unambiguous what the
> example implements.
>
> —
> You are receiving this because you were mentioned.
>
>
> Reply to this email directly, view it on GitHub
> <https://github.com/w3c/dxwg/issues/1428#issuecomment-980842310>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AABJSGJ7H5T3TMENMBDCIN3UOG33ZANCNFSM5ILISXEA>
> .
>


-- 
GitHub Notification of comment by danbri
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/1428#issuecomment-980846845 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 28 November 2021 06:14:17 UTC