From 3b0a95cce11a634f55cc9b03951ab9e7666c9b34 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sat, 25 Jan 2025 15:29:56 -0800 Subject: [PATCH] Add Candidate Correction marking, as this is a class-3 change. --- index.html | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index f0a711ee..9de42a8b 100644 --- a/index.html +++ b/index.html @@ -6420,12 +6420,21 @@

LoadDocumentCallback

The HTTP Link Header is ignored for documents served as application/ld+json, text/html, or application/xhtml+xml.

-
  • Otherwise, if the retrieved document's Content-Type is neither +
  • Otherwise, if the retrieved document's Content-Type is neither application/json, application/ld+json, nor any other media type using a - +json suffix as defined in [[RFC6839]], - then reject the promise passing a loading document failed error.
  • + +json suffix as defined in [[RFC6839]]. + Reject, then reject + the promise passing a loading document failed error. +
    + Candidate Correction 6 +

    This changes corrects the processing by not assuming that the + Content-Type is for JSON, but making processing conditional + on that Content-Type. + For more information, refer to issue 622.

    +
    +
  • Create a new RemoteDocument remote document using url as {{RemoteDocument/documentUrl}}, document as {{RemoteDocument/document}}, @@ -6903,6 +6912,12 @@

    Change log

    Embedding JSON-LD in HTML Documents [[JSON-LD11]] for treating script elements as a single document, as described in Candidate Correction 4.
  • +
  • 2025-01-25: Correct some corner cases in transforming RDF Number Literals + to JSON numbers when useNativeTypes is `true`, + as described in Candidate Correction 5.
  • +
  • 2024-01-25: Change processing step for LoadDocumentCallback + to not presume that the content type is for JSON, + as described in Candidate Correction 6