Skip to content

Commit f004001

Browse files
multimericTallTedgkellogg
authored
Fix issue 622 (#623)
* Fix issue 622 * if... then * Add Candidate Correction marking, as this is a class-3 change. --------- Co-authored-by: Ted Thibodeau Jr Co-authored-by: Gregg Kellogg
1 parent e9a9a01 commit f004001

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

index.html

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -485,9 +485,7 @@

Features

485485
<a>stringsa>, <a>numbersa>, <a>booleansa>, and <a>nulla> to describe
486486
the data represented by a JSON document. Algorithms act on this
487487
<a>internal representationa> with API entry points responsible for
488-
transforming between concrete representations and the <a>internal representationa>.
489-
See <a href="#internal-representation-in-implementations" class="sectionRef">a>
490-
for more details on transforming to or from the <a>internal representationa>.p>
488+
transforming between concrete <a>internal representationsa>.p>
491489

492490
<p>JSON-LD uses <a>contextsa> to allow Linked Data
493491
to be expressed in a way that is specifically tailored to a particular
@@ -6566,12 +6564,21 @@

LoadDocumentCallback

65666564
<p class="note">The HTTP Link Header is ignored for documents served as <code>application/ld+jsoncode>,
65676565
<code>text/htmlcode>, or <code>application/xhtml+xmlcode>.p>
65686566
li>
6569-
<li>Otherwise, the retrieved document's <a>Content-Typea> is neither
6567+
<li>Otherwise, <ins cite="#change_6">ifins> the retrieved document's <a>Content-Typea> is neither
65706568
<code>application/jsoncode>,
65716569
<code>application/ld+jsoncode>,
65726570
nor any other media type using a
6573-
<code>+jsoncode> suffix as defined in [[RFC6839]].
6574-
Reject the <var>promisevar> passing a <a data-link-for="JsonLdErrorCode">loading document faileda> error.li>
6571+
<code>+jsoncode> suffix as defined in [[RFC6839]]<del cite="#change_6">.
6572+
Rejectdel><ins cite="#change_6">, then rejectins>
6573+
the <var>promisevar> passing a <a data-link-for="JsonLdErrorCode">loading document faileda> error.
6574+
<div class="candidate correction" id="change_6">
6575+
<span class="marker">Candidate Correction 6span>
6576+
<p>This changes corrects the processing by not assuming that the
6577+
<a>Content-Typea> is for JSON, but making processing conditional
6578+
on that <a>Content-Typea>.
6579+
For more information, refer to <a href="https://github.com/w3c/json-ld-api/issues/622">issue 622a>.p>
6580+
div>
6581+
li>
65756582
<li>Create a new <a>RemoteDocumenta> <var>remote documentvar> using
65766583
<var>urlvar> as {{RemoteDocument/documentUrl}},
65776584
<var>documentvar> as {{RemoteDocument/document}},
@@ -7049,10 +7056,13 @@

Change log

70497056
<a data-cite="JSON-LD11#embedding-json-ld-in-html-documents">Embedding JSON-LD in HTML Documentsa> [[JSON-LD11]]
70507057
for treating script elements as a single document,
70517058
as described in <a href="#change_4">Candidate Correction 4a>.li>
7052-
<li>2024-10-31: Abstract JSON serialization from WebIDL interfaces to allow
7059+
<li>2024-01-25: Change processing step for <a>LoadDocumentCallbacka>
7060+
to not presume that the content type is for JSON,
7061+
as described in <a href="#change_6">Candidate Correction 6a>li>
7062+
<li>2024-10-31: Abstract JSON serialization from WebIDL interfaces to allow
70537063
for alternative formats,
70547064
as described in <a href="#change_7">Candidate Correction 7a>li>
7055-
ul>
7065+
ul>
70567066
details>
70577067

70587068
<details id="changes-from-pr">

0 commit comments

Comments
 (0)