Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
Add inline ednotes for places that are affected by issue #480.
  • Loading branch information
gkellogg committed Dec 3, 2017
commit 8c3826f335d043fe9421979879946712545d1630
24 changes: 18 additions & 6 deletions spec/latest/json-ld-api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,9 @@ <h3>Algorithm</h3>
key-value pairs: (<code>@value</code>-<em>item</em>)
and (<code>@language</code>-lowercased
<em>language</em>),
<span class="changed">unless <em>item</em> is <code>null</code></span>.</li>
<span class="changed">unless <em>item</em> is <code>null</code></span>.
<span class="ednote">From <a href="#issue-480">Issue 480</a>
the language tag <code>@none</code> represents no language.</span></li>
</ol>
</li>
</ol>
Expand Down Expand Up @@ -1653,7 +1655,9 @@ <h3>Algorithm</h3>
and <em>item</em> does not have the key
<code>@index</code>, add the key-value pair
(<code>@index</code>-<em>index</em>) to
<em>item</em>.</li>
<em>item</em>.
<span class="ednote">From <a href="#issue-480">Issue 480</a>
the index <code>@none</code> represents no index.</span></li>
<li>Otherwise, if <a>container mapping</a> is <code>@id</code>
and <em>item</em> does not have the key
<code>@id</code>, add the key-value pair
Expand Down Expand Up @@ -1872,7 +1876,9 @@ <h3>Algorithm</h3>
value to the language code associated with the
<a>language mapping</a>; unless the
<a>language mapping</a> is set to <code>null</code> in
which case no member is added.</li>
which case no member is added.
<span class="ednote">From <a href="#issue-480">Issue 480</a>
the language tag <code>@none</code> represents no language.</span></li>
<li>Otherwise, if the <a>active context</a> has a
<a>default language</a>, add an <code>@language</code>
to <em>result</em> and set its value to the
Expand Down Expand Up @@ -2135,7 +2141,9 @@ <h3>Algorithm</h3>
in <a>active context</a> that is <code>@index</code>,
then the compacted result will be inside of an <code>@index</code>
container, drop the <code>@index</code> property by continuing
to the next <em>expanded property</em>.</li>
to the next <em>expanded property</em>.
<span class="ednote">From <a href="#issue-480">Issue 480</a>
the index <code>@none</code> represents no index.</span></li>
<li>Otherwise, if <em>expanded property</em> is <code>@index</code>,
<code>@value</code>, or <code>@language</code>:
<ol class="algorithm">
Expand Down Expand Up @@ -2269,11 +2277,15 @@ <h3>Algorithm</h3>
for <em>vocab</em>.</li>
<li>Initialize <em>map key</em> to the value associated with
with the key that equals <em>container</em> in
<em>expanded item</em>.</li>
<em>expanded item</em>.
<span class="ednote">From <a href="#issue-480">Issue 480</a>
the index <code>@none</code> represents no index.</span></li>
<li>If <em>container</em> is <code>@language</code> and
<em>compacted item</em> contains the key
<code>@value</code>, then set <em>compacted item</em>
to the value associated with its <code>@value</code> key.</li>
to the value associated with its <code>@value</code> key.
<span class="ednote">From <a href="#issue-480">Issue 480</a>
the language tag <code>@none</code> represents no language.</span></li>
<li class="changed">If <em>container</em> is <code>@id</code>, set
<em>map key</em> to the result of calling the <a
href="#iri-compaction">IRI Compaction algorithm</a>
Expand Down