Skip to content

Commit

Permalink
Provide guidance to specification authors on integrity checking of re…
Browse files Browse the repository at this point in the history
…sources.
  • Loading branch information
jyasskin authored and msporny committed Nov 30, 2023
1 parent d0dc30a commit 1d7b554
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3128,9 +3128,11 @@ <h2>Integrity of Related Resources</h2>
an object in the <code>relatedResource</code> array.
</p>
<p>
Any failure to verify content integrity information that is vital to the
validity of a <a>conforming document</a>, such as the integrity of content
identified by related `@context` URLs, SHOULD result in a validation error.
Specification authors that write algorithms that fetch a resource based on the
`id` of an object inside a <a>conforming document</a> need to consider whether
that resource's content is vital to the validity of that document. If it is, the
specification MUST produce a validation error unless the resource has the
expected media type and its bytes hash to the expected digest.
</p>
<p>
Implementers are urged to consult appropriate sources, such as the
Expand Down

0 comments on commit 1d7b554

Please sign in to comment.