diff --git a/index.html b/index.html index 11ad23c..11f2753 100644 --- a/index.html +++ b/index.html @@ -2319,7 +2319,7 @@

Context Validation

executed business rules specific to the input in the document. For more rationale related to this algorithm, see Section [[[#validating-contexts]]]. This algorithm takes inputs of a document ([=map=] |inputDocument|), a set of -approved JSON-LD Contexts ([=map=] |expectedContext|), and a boolean to +known JSON-LD Contexts ([=array=] |knownContext|), and a boolean to recompact when unknown contexts are detected ([=boolean=] |recompact|), and returns a [=map=] that contains the following:

@@ -2354,7 +2354,7 @@

Context Validation

which might be undefined.
  • -If |contextValue| does not deeply equal |expectedContext|, any subtree in +If |contextValue| does not deeply equal |knownContext|, any subtree in |result|.|document| contains an `@context` property, or any URI in |contextValue| dereferences to a JSON-LD Context file that does not match a known good value or cryptographic hash, then perform the applicable action: @@ -2363,7 +2363,7 @@

    Context Validation

    If |recompact| is `true`, set |result|.|document| to the result of running the JSON-LD Compaction Algorithm with the |inputDocument| and -|expectedContext| as inputs. If the compaction fails, add at least one error +|knownContext| as inputs. If the compaction fails, add at least one error to |result|.|errors|.