@@ -2663,20 +2663,18 @@ <h3>Algorithm</h3>
2663
2663
in < var > value</ var > , ordered lexicographically by < var > index</ var >
2664
2664
< span class ="changed "> if {{JsonLdOptions/ordered}} is < code > true</ code > </ span > :
2665
2665
< ol >
2666
- < li class ="changed "> If < var > container mapping</ var > includes < code > @type</ code > :
2667
- < ol >
2668
- < li > Set < var > map context</ var > to the < a > previous context</ a >
2669
- from < var > active context</ var > if it exists, or < var > active context</ var > otherwise.</ li >
2670
- < li > If < var > index</ var > 's < a > term definition</ a > in
2671
- < var > map context</ var > has a < a > local context</ a > , update
2672
- < var > map context</ var > to the result of the
2673
- < a href ="#context-processing-algorithm "> Context Processing algorithm</ a > ,
2674
- passing < var > map context</ var > as < var > active context</ var >
2675
- and the value of the < var > index</ var > 's < a > local context</ a >
2676
- as < var > local context</ var > .</ li >
2677
- </ ol >
2678
- </ li >
2679
- < li > Otherwise, set < var > map context</ var > to < var > active context</ var > .</ li >
2666
+ < li class ="changed "> If < var > container mapping</ var > includes `@id` or `@type`,
2667
+ set < var > map context</ var > to the < a > previous context</ a >
2668
+ from < var > active context</ var > if it exists, or < var > active context</ var > otherwise.</ li >
2669
+ < li class ="changed "> If < var > container mapping</ var > includes < code > @type</ code >
2670
+ and < var > index</ var > 's < a > term definition</ a > in
2671
+ < var > map context</ var > has a < a > local context</ a > , update
2672
+ < var > map context</ var > to the result of the
2673
+ < a href ="#context-processing-algorithm "> Context Processing algorithm</ a > ,
2674
+ passing < var > map context</ var > as < var > active context</ var >
2675
+ and the value of the < var > index</ var > 's < a > local context</ a >
2676
+ as < var > local context</ var > .</ li >
2677
+ < li > Otherwise, set < var > map context</ var > to < var > active context</ var > .</ li >
2680
2678
< li > Set < var > expanded index</ var > to the result of using the
2681
2679
< a href ="#iri-expansion "> IRI Expansion algorithm</ a > ,
2682
2680
passing < var > active context</ var > , < var > index</ var > , and < code > true</ code >
0 commit comments