diff --git a/index.html b/index.html index 6b1dd437..4d0a5793 100644 --- a/index.html +++ b/index.html @@ -1030,8 +1030,9 @@

Algorithm

characters are treated in URI references, per section 6.5 of [[RFC3987]]. -
  • If context is in the remote contexts array, a - recursive context inclusion +
  • If the number of entries in the remote contexts array + exceeds a processor defined limit, a + context overflow error has been detected and processing is aborted; otherwise, add context to remote contexts.
  • If context was previously dereferenced, @@ -5437,7 +5438,7 @@

    JsonLdErrorCode

    "loading remote context failed", "multiple context link headers", "processing mode conflict", - "recursive context inclusion" + "context overflow" }; --> @@ -5551,8 +5552,8 @@

    JsonLdErrorCode

    processing mode conflict
    An attempt was made to change the processing mode which is incompatible with the previous specified version.
    -
    recursive context inclusion
    -
    A cycle in remote context inclusions has been detected.
    +
    context overflow
    +
    maximum number of @context URLs exceeded.
    @@ -5680,6 +5681,8 @@

    Changes since JSON-LD Community Group Final Report

    or all JSON-LD script elements.
  • Added contentType field to RemoteDocument.
  • Added support for sealed contexts and term definitions.
  • +
  • Because scoped contexts can lead to contexts being reloaded, replace the + recursive context inclusion error with a context overflow error.
  • diff --git a/tests/expand-manifest.jsonld b/tests/expand-manifest.jsonld index 36a73c98..098b620d 100644 --- a/tests/expand-manifest.jsonld +++ b/tests/expand-manifest.jsonld @@ -932,14 +932,16 @@ "name": "A context may not include itself recursively (direct)", "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself", "input": "expand/e002-in.jsonld", - "expect": "recursive context inclusion" + "expect": "recursive context inclusion", + "option": {"specVersion": "json-ld-1.0"} }, { "@id": "#te003", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "A context may not include itself recursively (indirect)", "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself indirectly", "input": "expand/e003-in.jsonld", - "expect": "recursive context inclusion" + "expect": "recursive context inclusion", + "option": {"specVersion": "json-ld-1.0"} }, { "@id": "#te004", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ],