w3c / vc-data-integrity

W3C Data Integrity Specification
https://w3c.github.io/vc-data-integrity/
Other
40 stars 18 forks source link

Typo in context validation algorithm step from grammar adjustment needs fixing #299

Closed dlongley closed 1 month ago

dlongley commented 1 month ago

A slight mixup here in the grammar fixes, this step should read "or if" not "then if".

_Originally posted by @dlongley in https://github.com/w3c/vc-data-integrity/pull/291#discussion_r1694302108_

TallTed commented 1 month ago

Given that the above change is correct, then the fix is somewhat larger.

If |contextValue| does not deeply equal |expectedContext|, then if any subtree in
|result|.|document| contains an `@context` property or any URI in

should become

If |contextValue| does not deeply equal |expectedContext|, any subtree in
|result|.|document| contains an `@context` property, or any URI in
msporny commented 1 month ago

Purely editorial, fixed in c887ab237b20b390d48871dcbb3e51fa4745f1e7, closing.