You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dd>One or more IRIs to use in the request as a <code>profile</code> parameter.
@@ -6419,11 +6420,13 @@ <h3>RemoteDocument</h3>
6419
6420
<p>This sections describe an extension to the algorithm specified
6420
6421
in <a>LoadDocumentCallback</a> to support extracting JSON-LD from HTML.</p>
6421
6422
6422
-
<p><ahref="#LoadDocumentCallback-step-2">Step 2</a> is updated to add the following: A processor supporting <a>HTML script extraction</a> MUST include <code>text/html</code> at any preference level,
6423
+
<p><ahref="#LoadDocumentCallback-step-2">Step 2</a> is updated to add the following: A processor supporting <a>HTML script extraction</a> MUST include <code>text/html</code> at any preference level
6424
+
and MAY include <code>application/xhtml+xml</code> at any preference level,
6423
6425
unless <adata-link-for="LoadDocumentOptions">requestProfile</a> is `http://www.w3.org/ns/json-ld#context`.</p>
6424
6426
6425
6427
<p>After <ahref="#LoadDocumentCallback-step-5">step 5</a>, add the following processing step:
6426
-
Otherwise, if the retrieved resource's <a>Content-Type</a> is <code>text/html</code>:</p>
6428
+
Otherwise, if the retrieved resource's <a>Content-Type</a> is either <code>text/html</code>
6429
+
or <code>application/xhtml+xml</code>:</p>
6427
6430
<ol>
6428
6431
<li>Set <var>documentUrl</var> to the <adata-cite="HTML/urls-and-fetching.html#document-base-url">Document Base URL</a>
6429
6432
of <adata-link-for="LoadDocumentCallback">url</a>, as defined in [[HTML]],
@@ -6909,6 +6912,10 @@ <h2>Changes since Candidate Release of 12 December 2019</h2>
0 commit comments