@@ -2424,7 +2424,7 @@ <h3>Algorithm</h3>
2424
2424
< li > If < var > element</ var > is < code > null</ code > , return < code > null</ code > .</ li >
2425
2425
< li class ="changed "> If < var > active property</ var > is < code > @default</ code > ,
2426
2426
initialize the {{JsonLdOptions/frameExpansion}} flag to < code > false</ code > .</ li >
2427
- < li class ="changed "> If < var > active property</ var > has a < a > term definition</ a > in < var > active context</ var >
2427
+ < li id =" alg-expand-property-scoped-context " class ="changed "> If < var > active property</ var > has a < a > term definition</ a > in < var > active context</ var >
2428
2428
with a < a > local context</ a > , initialize < var > property-scoped context</ var > to that < a > local context</ a > .</ li >
2429
2429
< li > If < var > element</ var > is a < a > scalar</ a > ,
2430
2430
< ol >
@@ -2478,7 +2478,7 @@ <h3>Algorithm</h3>
2478
2478
(where < a > entries</ a > are < span class ="changed "> < a data-lt ="IRI expanding "> IRI expanded</ a > </ span > ,
2479
2479
set < var > active context</ var > to < a > previous context</ a > from < var > active context</ var > ,
2480
2480
as the scope of a term-scoped < a > context</ a > does not apply when processing new < a > node objects</ a > .</ li >
2481
- < li id ="alg-expand-property-scoped-context " class ="changed "> If < var > property-scoped context</ var > is defined,
2481
+ < li id ="alg-expand-property-scoped-context2 " id =" alg-expand-property-scoped- context " class ="changed "> If < var > property-scoped context</ var > is defined,
2482
2482
set < var > active context</ var > to the result of the
2483
2483
< a href ="#context-processing-algorithm "> Context Processing algorithm</ a > ,
2484
2484
passing < var > active context</ var > , < var > property-scoped context</ var > as < var > local context</ var > ,
@@ -3013,9 +3013,20 @@ <h3>Algorithm</h3>
3013
3013
< var > nested value</ var > expands to < code > @value</ code > , an
3014
3014
< a data-link-for ="JsonLdErrorCode "> invalid @nest value</ a > error
3015
3015
has been detected and processing is aborted.</ li >
3016
- < li > Recursively repeat steps < a href ="#alg-expand-each-key-value "> 13</ a >
3016
+ < li > Recursively repeat steps
3017
+ < a href ="#alg-expand-property-scoped-context "> 3</ a > ,
3018
+ < a href ="#alg-expand-property-scoped-context2 "> 8</ a > ,
3019
+ < a href ="#alg-expand-each-key-value "> 13</ a > ,
3017
3020
and < a href ="#alg-expand-resolve-nest "> 14</ a >
3018
- using < var > nested value</ var > for < var > element</ var > .
3021
+ using < var > nesting-key</ var > for < var > active property</ var > , and
3022
+ < var > nested value</ var > for < var > element</ var > .
3023
+ < div class ="note "> Steps < a href ="#alg-expand-property-scoped-context "> 3</ a >
3024
+ and < a href ="#alg-expand-property-scoped-context2 "> 8</ a >
3025
+ may update the < var > active context</ var > based on a
3026
+ property-scoped context associated with < var > nesting-key</ var > .
3027
+ Updates to < var > active context</ var > are restricted to the
3028
+ recursive operation, and do not propogate to subsequent iterations
3029
+ on < var > nested value</ var > and < var > nesting-key</ var > .</ div >
3019
3030
< div class ="note "> By invoking steps < a href ="#alg-expand-each-key-value "> 13</ a >
3020
3031
and < a href ="#alg-expand-resolve-nest "> 14</ a > on < var > nested value</ var >
3021
3032
we are able to unfold arbitrary levels of nesting, with results being merged into
0 commit comments