Skip to content

Commit ff4a92f

Browse files
committed
The default for extractAllScripts in toRdf() should be true.
Fixes #603
1 parent 30aa531 commit ff4a92f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6008,7 +6008,8 @@ <h3>Algorithm</h3>
60086008
<a data-link-for="JsonLdProcessor">expand()</a> method
60096009
using <a data-lt="jsonldprocessor-toRdf-input">input</a>
60106010
and <a data-lt="jsonldprocessor-toRdf-options">options</a>
6011-
<span class="changed">with {{JsonLdOptions/ordered}} set to <code>false</code></span>.</li>
6011+
<span class="changed">with {{JsonLdOptions/ordered}} set to <code>false</code>,
6012+
and {{JsonLdOptions/extractAllScripts}} defaulting to <code>true</code></span>.</li>
60126013
<li>Create a new <a>RdfDataset</a> <var>dataset</var>.</li>
60136014
<li>Create a new <a>map</a> <var>node map</var>.</li>
60146015
<li>Invoke the <a href="#node-map-generation">Node Map Generation algorithm</a>,
@@ -7118,6 +7119,12 @@ <h2>Changes since Recommendation of 16 July 2020</h2>
71187119
14 to begin with <q>Otherwise</q>.</li>
71197120
<li>Use <a>code point order</a> as a better definition for the more vague "lexicographical order".</li>
71207121
<li>Remove spurious paragraph in the description of {{JsonLdOptions/frameExpansion}}</li>
7122+
<li>Specify that the default value of <a data-link-for="LoadDocumentOptions">extractAllScripts</a>
7123+
in <a data-link-for="JsonLdProcessor">toRdf()</a>
7124+
defaults to `true`, rather than `false`.
7125+
This is consistent with wording in
7126+
<a data-cite="JSON-LD11#embedding-json-ld-in-html-documents">Embedding JSON-LD in HTML Documents</a> [[JSON-LD11]]
7127+
for teating script elements as a single document.</li>
71217128
</ul>
71227129
</section>
71237130
<section id="ack"

0 commit comments

Comments
 (0)