Skip to content

Commit e4f1cd0

Browse files
committed
Pass false for _propagate_ when expanding and adding a type-scoped context.
For #246.
1 parent 7a498f5 commit e4f1cd0

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

index.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2469,14 +2469,16 @@ <h3>Algorithm</h3>
24692469
<var>value</var>, and <code>true</code> for <var>vocab</var>:
24702470
<ol>
24712471
<li>Convert <var>value</var> into an <a>array</a>, if necessary.</li>
2472-
<li>For each <var>term</var> which is a value of <var>value</var> ordered lexicographically,
2472+
<li id="expand-type-scoped-context">For each <var>term</var> which is a value of <var>value</var> ordered lexicographically,
24732473
if <var>term</var> is a <a>string</a>,
24742474
and <var>term</var>'s <a>term definition</a> in <var>active context</var>
24752475
has a <a>local context</a>, set <var>active context</var> to the result
24762476
to the result of the
24772477
<a href="#context-processing-algorithm">Context Processing algorithm</a>,
2478-
passing <var>active context</var>, and the value of the
2479-
<var>term</var>'s <a>local context</a> as <var>local context</var>.</li>
2478+
passing <var>active context</var>,
2479+
the value of the
2480+
<var>term</var>'s <a>local context</a> as <var>local context</var>,
2481+
and `false` for <var>propagate</var>.</li>
24802482
</ol>
24812483
</li>
24822484
<li>Initialize two empty <a class="changed">maps</a>, <var>result</var>
@@ -6920,6 +6922,10 @@ <h2>Changes since Candidate Release of 12 December 2019</h2>
69206922
<a href="#create-term-definition">Create Term Definition algorithm</a>
69216923
to prevent an issue where <var>term</var> might not be defined at the time it is expanded.
69226924
This is in response to <a href="https://github.com/w3c/json-ld-api/issues/245">Issue 245</a>.</li>
6925+
<li>Update step <a href="#expand-type-scoped-context">11.1</a> of the
6926+
<a href="#expansion-algorithm">Expansion algorithm</a>
6927+
to make sure the <a>type-scoped context</a> is not propagated by default.
6928+
This is in response to <a href="https://github.com/w3c/json-ld-api/issues/243">Issue 246</a>.</li>
69236929
</ul>
69246930
</section>
69256931

0 commit comments

Comments
 (0)