@@ -1030,8 +1030,9 @@ <h3>Algorithm</h3>
1030
1030
characters are treated in URI references, per
1031
1031
< a data-cite ="RFC3987#section-6.5 "> section 6.5</ a >
1032
1032
of [[RFC3987]].</ li >
1033
- < li > If < var > context</ var > is in the < var > remote contexts</ var > array, a
1034
- < a data-link-for ="JsonLdErrorCode "> recursive context inclusion</ a >
1033
+ < li > If the number of entries in the < var > remote contexts</ var > array
1034
+ exceeds a processor defined limit, a
1035
+ < a data-link-for ="JsonLdErrorCode "> context overflow</ a >
1035
1036
error has been detected and processing is aborted;
1036
1037
otherwise, add < var > context</ var > to < var > remote contexts</ var > .</ li >
1037
1038
< li class ="changed "> If < var > context</ var > was previously dereferenced,
@@ -5437,7 +5438,7 @@ <h4>JsonLdErrorCode</h4>
5437
5438
"loading remote context failed",
5438
5439
"multiple context link headers",
5439
5440
"processing mode conflict",
5440
- "recursive context inclusion "
5441
+ "context overflow "
5441
5442
};
5442
5443
--> </ pre >
5443
5444
@@ -5551,8 +5552,8 @@ <h4>JsonLdErrorCode</h4>
5551
5552
< dt > < dfn > processing mode conflict</ dfn > </ dt >
5552
5553
< dd > An attempt was made to change the < a > processing mode</ a >
5553
5554
which is incompatible with the previous specified version.</ dd >
5554
- < dt > < dfn > recursive context inclusion </ dfn > </ dt >
5555
- < dd > A cycle in remote context inclusions has been detected .</ dd >
5555
+ < dt > < dfn > context overflow </ dfn > </ dt >
5556
+ < dd > maximum number of < code > @ context</ code > URLs exceeded .</ dd >
5556
5557
</ dl >
5557
5558
</ section >
5558
5559
</ section > <!-- end of Error Handling -->
@@ -5680,6 +5681,8 @@ <h2>Changes since JSON-LD Community Group Final Report</h2>
5680
5681
or all < a > JSON-LD script elements</ a > .</ li >
5681
5682
< li > Added < a data-link-for ="RemoteDocument "> contentType</ a > field to < a > RemoteDocument</ a > .</ li >
5682
5683
< li > Added support for sealed < a > contexts</ a > and < a > term definitions</ a > .</ li >
5684
+ < li > Because scoped contexts can lead to contexts being reloaded, replace the
5685
+ < strong > recursive context inclusion</ strong > error with a < a data-link-for ="JsonLdErrorCode "> context overflow</ a > error.</ li >
5683
5686
</ ul >
5684
5687
</ section >
5685
5688
0 commit comments