Skip to content

Pass false for _propagate_ when expanding and adding a type-scoped context #252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2469,14 +2469,15 @@ <h3>Algorithm</h3>
<var>value</var>, and <code>true</code> for <var>vocab</var>:
<ol>
<li>Convert <var>value</var> into an <a>array</a>, if necessary.</li>
<li>For each <var>term</var> which is a value of <var>value</var> ordered lexicographically,
<li id="expand-type-scoped-context">For each <var>term</var> which is a value of <var>value</var> ordered lexicographically,
if <var>term</var> is a <a>string</a>,
and <var>term</var>'s <a>term definition</a> in <var>active context</var>
has a <a>local context</a>, set <var>active context</var> to the result
to the result of the
<a href="#context-processing-algorithm">Context Processing algorithm</a>,
passing <var>active context</var>, and the value of the
<var>term</var>'s <a>local context</a> as <var>local context</var>.</li>
passing <var>active context</var>,
the value of the
<var>term</var>'s <a>local context</a> as <var>local context</var>,
and `false` for <var>propagate</var>.</li>
</ol>
</li>
<li>Initialize two empty <a class="changed">maps</a>, <var>result</var>
Expand Down Expand Up @@ -6920,6 +6921,10 @@ <h2>Changes since Candidate Release of 12 December 2019</h2>
<a href="#create-term-definition">Create Term Definition algorithm</a>
to prevent an issue where <var>term</var> might not be defined at the time it is expanded.
This is in response to <a href="https://github.com/w3c/json-ld-api/issues/245">Issue 245</a>.</li>
<li>Update step <a href="#expand-type-scoped-context">11.1</a> of the
<a href="#expansion-algorithm">Expansion algorithm</a>
to make sure the <a>type-scoped context</a> is not propagated by default.
This is in response to <a href="https://github.com/w3c/json-ld-api/issues/243">Issue 246</a>.</li>
</ul>
</section>

Expand Down