@@ -995,11 +995,10 @@ <h3>Algorithm</h3>
995
995
< p > This algorithm specifies how a new < a > active context</ a > is updated
996
996
with a < a > local context</ a > . The algorithm takes two required
997
997
< span class ="changed "> and two optional</ span >
998
- input variables:
999
- an < var > active context</ var > and a < var > local context</ var > .
1000
- < span class ="changed "> The optional inputs are < var > from term</ var > </ span > ,
1001
- and an < a > array</ a >
1002
- < var > remote contexts</ var > which is used to detect cyclical context inclusions,
998
+ input variables.
999
+ The required inputs inputs are an < var > active context</ var > and a < var > local context</ var > .
1000
+ < span class ="changed "> The optional inputs are < var > from term</ var > </ span > , which defaults to < code > null</ code > ,
1001
+ and an < a > array</ a > < var > remote contexts</ var > which is used to detect cyclical context inclusions,
1003
1002
which defaults to a new empty < a > array</ a > .</ p >
1004
1003
1005
1004
< ol >
@@ -1022,8 +1021,8 @@ <h3>Algorithm</h3>
1022
1021
set < var > result</ var > to a
1023
1022
newly-initialized < var > active context</ var > and continue with the
1024
1023
next < var > context</ var > .
1025
- < span class ="changed "> If < var > current seal</ var > is < code > null</ code > ,
1026
- processors SHOULD issue a warning that an attempt to clear a sealed context was attempted .</ span >
1024
+ < span class ="changed "> If < var > current seal</ var > is not < code > null</ code > ,
1025
+ processors SHOULD issue a warning that an attempt was made to clear a sealed context.</ span >
1027
1026
< span class ="note "> In JSON-LD 1.0, the < a > base IRI</ a > was given
1028
1027
a default value here; this is now described conditionally
1029
1028
in < a href ="#the-application-programming-interface " class ="sectionRef "> </ a > .</ span > </ li >
@@ -1195,12 +1194,13 @@ <h3>Overview</h3>
1195
1194
< h3 > Algorithm</ h3 >
1196
1195
1197
1196
< p > The algorithm has four required < span class ="changed "> and three optional</ span > inputs.
1198
- The required inputs are:
1197
+ The required inputs are
1199
1198
an < var > active context</ var > , a < var > local context</ var > ,
1200
1199
a < var > term</ var > , and a map < var > defined</ var > .
1201
1200
< span class ="changed "> The optional inputs are
1202
1201
< var > sealed</ var > which defaults to < code > false</ code > ,
1203
- < var > current seal</ var > , and < var > context id</ var > , which default to < code > null</ code > .</ span > </ p >
1202
+ < var > current seal</ var > , which defaults to < code > null</ code > ,
1203
+ and < var > context id</ var > , which defaults to < code > null</ code > .</ span > </ p >
1204
1204
< ol >
1205
1205
< li > If < var > defined</ var > contains the < a > member</ a > < var > term</ var > and the associated
1206
1206
value is < code > true</ code > (indicating that the
0 commit comments