@@ -3876,9 +3876,15 @@ <h3>Algorithm</h3>
3876
3876
set < var > map key</ var > to the value of < code > @index</ code > in < var > expanded item</ var > , if any.</ li >
3877
3877
< li id ="alg-compact-12_8_9_6 " class ="changed "> Otherwise, if < var > container</ var > includes < code > @index</ code >
3878
3878
and < var > index key</ var > is not < code > @index</ code > :
3879
+ < div class ="candidate correction " id ="change_2 ">
3880
+ < span class ="marker "> Candidate Correction 2</ span >
3881
+ < p > The value of `@index` on a property map can be a < a > Compact IRI</ a > in addition to an < a > IRI</ a > .
3882
+ The Compaction Algorithm is updated to first expand this value before re-compacting it.
3883
+ For more information, refer to < a href ="https://github.com/w3c/json-ld-api/issues/514 "> issue 380</ a > .</ p >
3884
+ </ div >
3879
3885
< ol >
3880
3886
< li id ="alg-compact-12_8_9_6_1 "> Reinitialize < var > container key</ var > by < a > IRI compacting</ a >
3881
- < var > index key</ var > after first < a > IRI expanding</ a > it.</ li >
3887
+ < var > index key</ var > < ins cite =" #change_2 " > after first < a > IRI expanding</ a > it</ ins > .</ li >
3882
3888
< li > Set < var > map key</ var > to the first value of < var > container key</ var > in < var > compacted item</ var > , if any.</ li >
3883
3889
< li id ="alg-compact-12_8_9_6_3 "> If there are remaining values in < var > compacted item</ var >
3884
3890
for < var > container key</ var > , use < a > add value</ a > to
@@ -6868,7 +6874,8 @@ <h2>Change log</h2>
6868
6874
< li > 2021-05-15: Added additional language to the
6869
6875
< a href ="#compaction-algorithm "> Compaction Algorithm</ a >
6870
6876
step < a href ="#alg-compact-12_8_9_6_1 "> 12.8.9.6.1</ a > to first expand
6871
- < var > container key</ var > before compacting it.</ li > <!-- From issue 525 commit: faddb4288947f56cbc6e1019f8d628b5316a91ab -->
6877
+ < var > container key</ var > before compacting it,
6878
+ as described in < a href ="#change_2 "> Candidate Correction 2</ a > .</ li >
6872
6879
< li > 2023-06-28: Changed the < a href ="#create-term-definition "> Create Term Definition</ a >
6873
6880
in section 4.2 of the Context Processing Algorithms, to ensure that all
6874
6881
possible features for reverse term definitions are processed. The change
0 commit comments