Skip to content

Commit 3966e19

Browse files
committed
Update step 13.4.6.2 of the Expansion algorithm to pass null for active property, as included blocks do not define a relationship to a referencing node.
Fixes #479.
1 parent 0d109d9 commit 3966e19

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

index.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2675,9 +2675,10 @@ <h3>Algorithm</h3>
26752675
<ol>
26762676
<li>If <a>processing mode</a> is `json-ld-1.0`,
26772677
continue with the next <var>key</var> from <var>element</var>.</li>
2678-
<li>Set <var>expanded value</var> to the result of using
2678+
<li id="alg-expand-included">Set <var>expanded value</var> to the result of using
26792679
this algorithm recursively passing <var>active context</var>,
2680-
<var>active property</var>, <var>value</var> for <var>element</var>,
2680+
`null` for <var>active property</var>,
2681+
<var>value</var> for <var>element</var>,
26812682
<var>base URL</var>,
26822683
and the {{JsonLdOptions/frameExpansion}}
26832684
and {{JsonLdOptions/ordered}} flags,
@@ -7044,6 +7045,11 @@ <h2>Changes since Candidate Release of 05 March 2020</h2>
70447045
to use any boolean value of `@protected`, not just `true`.</li>
70457046
<li>Updated step <a href="#alg-iric-value-map">4.5</a> of the <a href="#iri-compaction">IRI Compaction algorithm</a>
70467047
to use `@index` for any value with an `@index` entry.</li>
7048+
alg-expand-included
7049+
<li>Update step <a href="#alg-expand-included">13.4.6.2</a> of the
7050+
<a href="#expansion-algorithm">Expansion algorithm</a> to pass
7051+
`null` for <var>active property</var>, as <a>included blocks</a>
7052+
do not define a relationship to a referencing node.</li>
70477053
<li>Update step <a href="#alg-expand-index-value">13.8.3.6</a> of the
70487054
<a href="#expansion-algorithm">Expansion algorithm</a> to pass
70497055
`true` for the <var>from map</var> parameter to properly manage reverting

0 commit comments

Comments
 (0)