@@ -6145,83 +6145,85 @@ <h3>Algorithm</h3>
6145
6145
in [[INFRA]].</ p >
6146
6146
6147
6147
< section id ="internal-representation-in-implementations " class ="informative ">
6148
- < h4 > Internal Representation in Implementations</ h4 >
6149
-
6150
- < p >
6151
- < a data-cite ="WebIDL#idl-USVString "> USVString</ a > ,
6152
- < a > JsonLdRecord</ a > ,
6153
- < a data-cite ="WebIDL#idl-sequence "> sequence</ a > ,
6154
- and other types defined in [[WebIDL]] and [[INFRA]], and used above as input and output types for
6155
- < a > JsonLdProcessor</ a > functions, comprise the data structure known
6156
- as the < a > internal representation</ a > .
6157
- JSON-LD algorithms are defined against those types.
6158
- </ p >
6159
-
6160
- < p >
6161
- Implementations map [[WebIDL]] and [[INFRA]] types to types specific to the
6162
- programming language in use. For instance:
6163
- </ p >
6148
+ < ins cite ="#change_6 ">
6149
+ < h4 > Internal Representation in Implementations</ h4 >
6150
+
6151
+ < p >
6152
+ < a data-cite ="WebIDL#idl-USVString "> USVString</ a > ,
6153
+ < a > JsonLdRecord</ a > ,
6154
+ < a data-cite ="WebIDL#idl-sequence "> sequence</ a > ,
6155
+ and other types defined in [[WebIDL]] and [[INFRA]], and used above as input and output types for
6156
+ < a > JsonLdProcessor</ a > functions, comprise the data structure known
6157
+ as the < a > internal representation</ a > .
6158
+ JSON-LD algorithms are defined against those types.
6159
+ </ p >
6164
6160
6165
- < table class ="simple ">
6166
- < thead >
6167
- < tr >
6168
- < th > WebIDL Type</ th >
6169
- < th > INFRA Type</ th >
6170
- < th > JavaScript Type</ th >
6171
- < th > Python Type</ th >
6172
- </ tr >
6173
- </ thead >
6174
- < tbody >
6175
- < tr >
6176
- < th > < code > < a data-cite ="WebIDL#idl-USVString "> USVString</ a > </ code > </ th >
6177
- < th > < code > < a data-cite ="INFRA#string "> String</ a > </ code > </ th >
6178
- < td > < code > String</ code > </ td >
6179
- < td > < code > str</ code > </ td >
6180
- </ tr >
6181
- < tr >
6182
- < th > < a > JsonLdRecord</ a > </ th >
6183
- < th > < code > < a data-cite ="INFRA#ordered-map "> Map</ a > </ code > </ th >
6184
- < td > < code > Object</ code > </ td >
6185
- < td > < code > dict</ code > </ td >
6186
- </ tr >
6187
- < tr >
6188
- < th > < a data-cite ="WebIDL#idl-sequence "> sequence</ a > </ th >
6189
- < th > < code > < a data-cite ="INFRA#list "> list</ a > </ code > </ th >
6190
- < td > < code > Array</ code > </ td >
6191
- < td > < code > list</ code > </ td >
6192
- </ tr >
6193
- < tr >
6194
- < th > < code > < a data-cite ="WebIDL#idl-long "> long</ a > </ code > </ th >
6195
- < th > < code > < a data-cite ="XMLSCHEMA11-2#integer "> integer</ a > </ code > [[?XMLSCHEMA11-2]]</ th >
6196
- < td > < code > Number</ code > </ td >
6197
- < td > < code > int</ code > </ td >
6198
- </ tr >
6199
- < tr >
6200
- < th > < code > < a data-cite ="WebIDL#idl-double "> double</ a > </ code > </ th >
6201
- < th > < code > < a data-cite ="XMLSCHEMA11-2#double "> double</ a > </ code > [[?XMLSCHEMA11-2]]</ th >
6202
- < td > < code > Number</ code > </ td >
6203
- < td > < code > float</ code > </ td >
6204
- </ tr >
6205
- < tr >
6206
- < th > < code > < a data-cite ="WebIDL#idl-boolean "> boolean</ a > </ code > </ th >
6207
- < th > < code > < a data-cite ="INFRA#boolean "> boolean</ a > </ code > </ th >
6208
- < td > < code > Boolean</ code > </ td >
6209
- < td > < code > bool</ code > </ td >
6210
- </ tr >
6211
- < tr >
6212
- < th > < code > < strong > null</ strong > </ code > </ th >
6213
- < th > < code > < a data-cite ="INFRA#nulls "> null</ a > </ code > </ th >
6214
- < td > < code > Null</ code > </ td >
6215
- < td > < code > None</ code > </ td >
6216
- </ tr >
6217
- </ tbody >
6218
- </ table >
6161
+ < p >
6162
+ Implementations map [[WebIDL]] and [[INFRA]] types to types specific to the
6163
+ programming language in use. For instance:
6164
+ </ p >
6219
6165
6220
- < p >
6221
- The table above is only provided as an example.
6222
- The mappings used for a particular implementation are out of scope for
6223
- this specification.
6224
- </ p >
6166
+ < table class ="simple ">
6167
+ < thead >
6168
+ < tr >
6169
+ < th > WebIDL Type</ th >
6170
+ < th > INFRA Type</ th >
6171
+ < th > JavaScript Type</ th >
6172
+ < th > Python Type</ th >
6173
+ </ tr >
6174
+ </ thead >
6175
+ < tbody >
6176
+ < tr >
6177
+ < th > < code > < a data-cite ="WebIDL#idl-USVString "> USVString</ a > </ code > </ th >
6178
+ < th > < code > < a data-cite ="INFRA#string "> String</ a > </ code > </ th >
6179
+ < td > < code > String</ code > </ td >
6180
+ < td > < code > str</ code > </ td >
6181
+ </ tr >
6182
+ < tr >
6183
+ < th > < a > JsonLdRecord</ a > </ th >
6184
+ < th > < code > < a data-cite ="INFRA#ordered-map "> Map</ a > </ code > </ th >
6185
+ < td > < code > Object</ code > </ td >
6186
+ < td > < code > dict</ code > </ td >
6187
+ </ tr >
6188
+ < tr >
6189
+ < th > < a data-cite ="WebIDL#idl-sequence "> sequence</ a > </ th >
6190
+ < th > < code > < a data-cite ="INFRA#list "> list</ a > </ code > </ th >
6191
+ < td > < code > Array</ code > </ td >
6192
+ < td > < code > list</ code > </ td >
6193
+ </ tr >
6194
+ < tr >
6195
+ < th > < code > < a data-cite ="WebIDL#idl-long "> long</ a > </ code > </ th >
6196
+ < th > < code > < a data-cite ="XMLSCHEMA11-2#integer "> integer</ a > </ code > [[?XMLSCHEMA11-2]]</ th >
6197
+ < td > < code > Number</ code > </ td >
6198
+ < td > < code > int</ code > </ td >
6199
+ </ tr >
6200
+ < tr >
6201
+ < th > < code > < a data-cite ="WebIDL#idl-double "> double</ a > </ code > </ th >
6202
+ < th > < code > < a data-cite ="XMLSCHEMA11-2#double "> double</ a > </ code > [[?XMLSCHEMA11-2]]</ th >
6203
+ < td > < code > Number</ code > </ td >
6204
+ < td > < code > float</ code > </ td >
6205
+ </ tr >
6206
+ < tr >
6207
+ < th > < code > < a data-cite ="WebIDL#idl-boolean "> boolean</ a > </ code > </ th >
6208
+ < th > < code > < a data-cite ="INFRA#boolean "> boolean</ a > </ code > </ th >
6209
+ < td > < code > Boolean</ code > </ td >
6210
+ < td > < code > bool</ code > </ td >
6211
+ </ tr >
6212
+ < tr >
6213
+ < th > < code > < strong > null</ strong > </ code > </ th >
6214
+ < th > < code > < a data-cite ="INFRA#nulls "> null</ a > </ code > </ th >
6215
+ < td > < code > Null</ code > </ td >
6216
+ < td > < code > None</ code > </ td >
6217
+ </ tr >
6218
+ </ tbody >
6219
+ </ table >
6220
+
6221
+ < p >
6222
+ The table above is only provided as an example.
6223
+ The mappings used for a particular implementation are out of scope for
6224
+ this specification.
6225
+ </ p >
6226
+ </ ins >
6225
6227
</ section >
6226
6228
6227
6229
< section id ="serialization-and-deserialization ">
@@ -6562,8 +6564,12 @@ <h3>LoadDocumentCallback</h3>
6562
6564
< p > If multiple HTTP Link Headers using the < code > http://www.w3.org/ns/json-ld#context</ code > link relation are found,
6563
6565
the < var > promise</ var > is rejected with a < a > JsonLdError</ a > whose {{JsonLdError/code}} is set to < a data-link-for ="JsonLdErrorCode "> multiple context link headers</ a >
6564
6566
and processing is terminated.</ p >
6565
- < p > Processors MAY transform a < var > document</ var > to the < a > internal representation</ a > ,
6566
- as described in < a href ="#internal-representation-in-implementations " class ="sectionRef "> </ a > .</ p >
6567
+ < p >
6568
+ Processors MAY transform a < var > document</ var > to the < a > internal representation</ a > ,
6569
+ < ins cite ="#change_6 ">
6570
+ as described in < a href ="#internal-representation-in-implementations " class ="sectionRef "> </ a >
6571
+ </ ins > .
6572
+ </ p >
6567
6573
< p class ="note "> The HTTP Link Header is ignored for documents served as < code > application/ld+json</ code > ,
6568
6574
< code > text/html</ code > , or < code > application/xhtml+xml</ code > .</ p >
6569
6575
</ li >
0 commit comments