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

The default for extractAllScripts in toRdf() should be true. #606

Merged
merged 3 commits into from
Jul 26, 2024
Merged
Changes from 1 commit
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
9 changes: 8 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6008,7 +6008,8 @@ <h3>Algorithm</h3>
<a data-link-for="JsonLdProcessor">expand()</a> method
using <a data-lt="jsonldprocessor-toRdf-input">input</a>
and <a data-lt="jsonldprocessor-toRdf-options">options</a>
<span class="changed">with {{JsonLdOptions/ordered}} set to <code>false</code></span>.</li>
<span class="changed">with {{JsonLdOptions/ordered}} set to <code>false</code>,
and {{JsonLdOptions/extractAllScripts}} defaulting to <code>true</code></span>.</li>
<li>Create a new <a>RdfDataset</a> <var>dataset</var>.</li>
<li>Create a new <a>map</a> <var>node map</var>.</li>
<li>Invoke the <a href="#node-map-generation">Node Map Generation algorithm</a>,
Expand Down Expand Up @@ -7118,6 +7119,12 @@ <h2>Changes since Recommendation of 16 July 2020</h2>
14 to begin with <q>Otherwise</q>.</li>
<li>Use <a>code point order</a> as a better definition for the more vague "lexicographical order".</li>
<li>Remove spurious paragraph in the description of {{JsonLdOptions/frameExpansion}}</li>
<li>Specify that the default value of <a data-link-for="LoadDocumentOptions">extractAllScripts</a>
gkellogg marked this conversation as resolved.
Show resolved Hide resolved
in <a data-link-for="JsonLdProcessor">toRdf()</a>
defaults to `true`, rather than `false`.
This is consistent with wording in
<a data-cite="JSON-LD11#embedding-json-ld-in-html-documents">Embedding JSON-LD in HTML Documents</a> [[JSON-LD11]]
for teating script elements as a single document.</li>
gkellogg marked this conversation as resolved.
Show resolved Hide resolved
</ul>
</section>
<section id="ack"
Expand Down
Loading