File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -5755,8 +5755,7 @@ <h3>LoadDocumentCallback</h3>
57555755 and the response has an HTTP Link Header [[RFC8288]] using the < code > alternate</ code > link relation
57565756 with type `application/ld+json`,
57575757 set < var > url</ var > to the associated < code > href</ code > relative to the previous < var > url</ var >
5758- and restart the algorithm from < a href ="#LoadDocumentCallback-step-2 "> step 2</ a > ,
5759- ensuring that < var > documentUrl</ var > is set to the original < var > url</ var > .</ li >
5758+ and restart the algorithm from < a href ="#LoadDocumentCallback-step-2 "> step 2</ a > .</ li >
57605759 < li id ="LoadDocumentCallback-step-5 "> If the retrieved resource's < a > Content-Type</ a > is < code > application/json</ code >
57615760 or any media type with a < code > +json</ code > suffix as defined in [[RFC6839]]
57625761 except < code > application/ld+json</ code > ,
Original file line number Diff line number Diff line change 177177 } , {
178178 "@id" : "#tla05" ,
179179 "@type" : [ "jld:PositiveEvaluationTest" , "jld:ExpandTest" ] ,
180- "name" : "Base remains that of original document " ,
180+ "name" : "Base is that of the alternate URL " ,
181181 "purpose" : "Load an alternate link if type is not ld+json and rel=alternate." ,
182182 "option" : {
183183 "httpLink" : "<la05-alternate.jsonld>; rel=\"alternate\"; type=\"application/ld+json\""
Original file line number Diff line number Diff line change 11[ {
2- "@id" : "https://w3c.github.io/json-ld-api/tests/remote-doc/la05-in.html " ,
2+ "@id" : "https://w3c.github.io/json-ld-api/tests/remote-doc/la05-alternate.jsonld " ,
33 "http://example.org/content" : [ { "@value" : "alternate" } ]
44} ]
You can’t perform that action at this time.
0 commit comments