Skip to content

Commit dccd725

Browse files
BigBlueHatgkellogg
authored andcommitted
Add requirements when targeting one data block
1 parent a9b3991 commit dccd725

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8905,7 +8905,11 @@ <h3>Graph Containers</h3>
89058905
<a data-cite="HTML52/semantics-scripting.html#the-script-element">script element</a>
89068906
within an HTML document may be located using
89078907
a fragment identifier matching the <a data-cite="DOM#concept-id">unique identifier</a>
8908-
of the script element within the HTML document located by a URL (see [[!DOM]]).</p>
8908+
of the script element within the HTML document located by a URL (see [[!DOM]]).
8909+
A <a>JSON-LD processor</a> MUST extract only the specified data block's contents
8910+
parsing it as a standalone <a>JSON-LD document</a>
8911+
and MUST NOT create a <a>dataset</a>.</p>
8912+
89098913
<p>For example, given an HTML document located at <code>http://example.com/document</code>,
89108914
a script element identified by "name" can be targeted using the URL
89118915
<code>http://example.com/document#name</code>.</p>

0 commit comments

Comments
 (0)