Skip to content
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

Improve step 3 of the node map generation algorithm. #285

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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 6 additions & 2 deletions index.html
Expand Up @@ -4564,8 +4564,8 @@ <h3>Algorithm</h3>
<var>active subject</var> is <code>null</code>, set <var>node</var> to <code>null</code>
otherwise reference the <var>active subject</var> <a>entry</a> of <var>graph</var> using the
variable <var>subject node</var>.</li>
<li>If <var>element</var> has an <code>@type</code> <a>entry</a>, perform for each
<var>item</var> the following steps:
<li id="alg-nmg-each-type">For each <var>item</var> in the `@type` <a>entry</a> of <var>element</var>,
if any, or for the value of `@type`, if the value of `@type` exists and is not an <a>array</a>:
<ol>
<li>If <var>item</var> is a <a>blank node identifier</a>, replace it with a newly
<a href="#generate-blank-node-identifier">generated blank node identifier</a>
Expand Down Expand Up @@ -6996,6 +6996,10 @@ <h2>Changes since Candidate Release of 12 December 2019</h2>
in the note in <a href="#loaddocumentcallback" class="sectionRef"></a>,
and as a use of the {{LoadDocumentOptions/profile}} API option.
This is in response to <a href="https://github.com/w3c/json-ld-api/issues/244">Issue 244</a>.</li>
<li>Improved text in step <a href="#alg-nmg-each-type">3</a> of the
<a href="#node-map-generation">Node Map Generation algorithm</a> to clarify
that the steps iterates over any `@type` entries.
This is in response to <a href="https://github.com/w3c/json-ld-api/issues/276">Issue 276</a>.</li>
</ul>
</li>
</ul>
Expand Down