@@ -6822,143 +6822,27 @@ <h4>JsonLdErrorCode</h4>
6822
6822
explicitly to `json-ld-1.0`.</ li >
6823
6823
< li > Improve notation using < a > IRI</ a > , < a > IRI reference</ a > , and < a > relative IRI reference</ a > .</ li >
6824
6824
< li > Ignore terms and IRIs that have the form of a keyword (`"@"1*ALPHA`).</ li >
6825
+ < li > Add `application/xhtml+xml` as an allowed media type in < a href ="#process-html " class ="sectionRef "> </ a > ,
6826
+ in the note in < a href ="#loaddocumentcallback " class ="sectionRef "> </ a > ,
6827
+ and as a use of the {{LoadDocumentOptions/profile}} API option.</ li >
6828
+ < li > Added < a > add value</ a > , < a > IRI expanding</ a > , and < a > IRI compacting</ a >
6829
+ macros to reduce boilerplate in algorithmic language.</ li >
6830
+ < li > Improved algorithms in
6831
+ < a href ="#context-processing-algorithm " class ="sectionRef "> </ a > ,
6832
+ < a href ="#create-term-definition " class ="sectionRef "> </ a > ,
6833
+ < a href ="#expansion " class ="sectionRef "> </ a > ,
6834
+ < a href ="#compaction " class ="sectionRef "> </ a > ,
6835
+ < a href ="#value-compaction " class ="sectionRef "> </ a > ,
6836
+ < a href ="#node-map-generation " class ="sectionRef "> </ a > ,
6837
+ and < a href ="#deserialize-json-ld-to-rdf-algorithm " class ="sectionRef "> </ a > .
6838
+ </ li >
6825
6839
</ ul >
6826
6840
</ section >
6827
- < section class ="appendix informative " id ="changes-from-cr ">
6841
+ <!-- section class="appendix informative" id="changes-from-cr">
6828
6842
<h2>Changes since Candidate Release of 12 December 2019</h2>
6829
6843
<ul>
6830
- < li > Miscellaneous updates to < a href ="#create-term-definition " class ="sectionRef "> </ a > :
6831
- < ul >
6832
- < li > Added missing `@none` in < a href ="#ctd-invalid-type "> 13.4</ a > .
6833
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/259 "> Issue 259</ a > .</ li >
6834
- < li > Moved step < a href ="#ctd-id-not-null "> 16.2</ a > ,
6835
- and subsequent substeps of step 16 into a new grouping, to separate the logic
6836
- from step < a href ="#ctd-id-not-null "> 16.1</ a > .
6837
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/241 "> Issue 241</ a > .</ li >
6838
- < li > Updated step < a href ="#ctd-contains-colon "> 16.4</ a >
6839
- to prevent an issue where < var > term</ var > might not be defined at the time it is expanded.
6840
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/245 "> Issue 245</ a > .</ li >
6841
- < li > Clarified step < a href ="#ctd-container "> 21.1</ a >
6842
- that `@graph` may be used with `@set`.
6843
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/242 "> Issue 242</ a > .</ li >
6844
- < li > Added missing keywords to step < a href ="#ctd-invalid-entries "> 28</ a > .
6845
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/261 "> Issue 261</ a > .</ li >
6846
- </ ul >
6847
- </ li >
6848
- < li > Miscellaneous updates to < a href ="#expansion " class ="sectionRef "> </ a > :
6849
- < ul >
6850
- < li > Update step < a href ="#alg-expand-prev-context "> 7</ a >
6851
- to describe using the < a href ="#iri-expansion "> IRI Expansion algorithm</ a > for expanding entries.
6852
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/309 "> Issue 309</ a > .</ li >
6853
- < li > Update step < a href ="#alg-expand-property-scoped-context "> 8</ a >
6854
- to pass < var > override context</ var > when creating a property-scoped context.
6855
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/301 "> Issue 301</ a > .</ li >
6856
- < li > Update step < a href ="#expand-type-scoped-context "> 11.2</ a >
6857
- to make sure the < a > type-scoped context</ a > is not propagated by default
6858
- and to use the < a > type-scoped context</ a > when finding a < a > local context</ a > .
6859
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/243 "> Issue 246</ a >
6860
- and < a href ="https://github.com/w3c/json-ld-api/issues/304 "> Issue 304</ a > .</ li >
6861
- < li > Updated step < a href ="#alg-expand-initialize-vars "> 12</ a >
6862
- < var > input type</ var > to use the expanded value.
6863
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/269 "> Issue 269</ a > .</ li >
6864
- < li > Remove text from < a href ="#expansion-tsc "> 13.4.4.4</ a >
6865
- that duplicate the following step.
6866
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/243 "> Issue 243</ a > .</ li >
6867
- < li > Add text to step < a href ="#alg-expand-list-value "> 13.4.11.2</ a >
6868
- to ensure that the result is an array.
6869
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/310 "> Issue 310</ a > .</ li >
6870
- < li > Changed text in step < a href ="#alg-expand-container-index-not-index "> 3.8.3.7.2</ a >
6871
- to re-expand the index as a value before using it to update any existing
6872
- value for the associated property.
6873
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/264 "> Issue 290</ a > .</ li >
6874
- < li > Improved text in step < a href ="#alg-expand-container-mapping-type "> 13.8.3.7.5</ a >
6875
- to exclude the < var > expanded index</ var > being `@none`.
6876
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/264 "> Issue 264</ a > .</ li >
6877
- < li > Update step < a href ="#alg-expand-resolve-nest "> 14</ a >
6878
- to order by < var > nesting-key</ var > , if `ordered` is `true`.
6879
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/295 "> Issue 295</ a > .</ li >
6880
- < li > Move step 13.15 of the expansion algorithm up one level to step < a href ="#alg-expand-resolve-nest "> 14</ a > ,
6881
- as it had accidentally been set to run for every entry in the object, rather than
6882
- after all entries had been expanded.
6883
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/262 "> Issue 262</ a > .</ li >
6884
- < li > Move step < a href ="#alg-expand-null-value "> 15.3</ a > down one, and return `null`.
6885
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/292 "> Issue 292</ a > .</ li >
6886
- < li > Changed step < a href ="#alg-expand-only-language "> 18</ a >
6887
- to return `null`, not set < var > result</ var > to `null`.
6888
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/284 "> Issue 284</ a > .</ li >
6889
- < li > Moved three steps prior to step < a href ="#alg-expand-return "> 20</ a > to
6890
- step < a href ="#api-expand-post-processing "> 7.1</ a > of
6891
- the < a data-link-for ="JsonLdProcessor "> expand()</ a > method of the
6892
- < a > JsonLdProcessor</ a > interface.
6893
- Additionally, in step < a href ="#alg-expand-container-index-graph "> 13.8.3.7.1</ a > ,
6894
- when expanding properties where container includes both `@index` and `@graph`,
6895
- don't transform an item into a < a > graph object</ a > repetitively.
6896
- This corrects an issue introduced in < a href ="https://github.com/w3c/json-ld-api/pull/184 "> PR 184</ a > and is
6897
- in response to < a href ="https://github.com/w3c/json-ld-api/issues/294 "> Issue 294</ a > .</ li >
6898
- </ ul >
6899
- </ li >
6900
- < li > Miscellaneous updates to < a href ="#deserialize-json-ld-to-rdf-algorithm " class ="sectionRef "> </ a > :
6901
- < ul >
6902
- < li > Changed step < a href ="#alg-jld2rdf-init-triples "> 1.2</ a >
6903
- to initialize < var > triple</ var > , not < var > graph</ var > , which is an input.
6904
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/281 "> Issue 281</ a > .</ li >
6905
- < li > Changed step < a href ="#alg-jld2rdf-init-list-triples "> 1.3.2.5.1</ a >
6906
- to be a note on the following step, as it was non-procedural.
6907
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/278 "> Issue 278</ a > .</ li >
6908
- < li > Changed step < a href ="#alg-jld2rdf-add-list-triples "> 1.3.2.5.2</ a >
6909
- to use the {{RdfGraph/add}} method, rather than use "append".
6910
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/279 "> Issue 279</ a > .</ li >
6911
- </ ul >
6912
- </ li >
6913
- < li > Miscellaneous updates to < a href ="#object-to-rdf-conversion " class ="sectionRef "> </ a > :
6914
- < ul >
6915
- < li > Updated step < a href ="#alg-obj2rdf-datatype "> 6</ a >
6916
- to only check that a datatype is well-formed if it is not `null` or `@json`,
6917
- and to specify that the check is for a well-formed IRI.
6918
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/282 "> Issue 282</ a >
6919
- and < a href ="https://github.com/w3c/json-ld-api/issues/298 "> Issue 298</ a > .</ li >
6920
- < li > Updated step < a href ="#alg-obj2rdf-double "> 10</ a >
6921
- to also catch big integers.
6922
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/312 "> Issue 312</ a > .</ li >
6923
- < li > Simplified step < a href ="#alg-obj2rdf-integer "> 11</ a >
6924
- to remove redundant conditions, adding a note instead.
6925
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/312 "> Issue 312</ a > .</ li >
6926
- < li > Added a new step < a href ="#alg-obj2rdf-direction-language "> 13.1</ a > to create a variable for `@language`.
6927
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/277 "> Issue 277</ a > .</ li >
6928
- </ ul >
6929
- </ li >
6930
- < li > Other changes:
6931
- < ul >
6932
- < li > Created < a > add value</ a > , < a > IRI expanding</ a > , and < a > IRI compacting</ a >
6933
- macros to reduce boilerplate in algorithmic language.</ li >
6934
- < li > Added explanatory notes to step < a href ="#alg-context-string "> 5.2</ a >
6935
- of < a href ="#context-processing-algorithm " class ="sectionRef "> </ a > ,
6936
- and moved the former step 5.2.5 to < a href ="#alg-context-deref-error "> 5.2.4.1</ a > .
6937
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/265 "> Issue 265</ a > .</ li >
6938
- < li > Add `application/xhtml+xml` as an allowed media type in < a href ="#process-html " class ="sectionRef "> </ a > ,
6939
- in the note in < a href ="#loaddocumentcallback " class ="sectionRef "> </ a > ,
6940
- and as a use of the {{LoadDocumentOptions/profile}} API option.
6941
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/244 "> Issue 244</ a > .</ li >
6942
- < li > Improved text in step < a href ="#alg-nmg-each-type "> 3</ a > of the
6943
- < a href ="#node-map-generation "> Node Map Generation algorithm</ a > to clarify
6944
- that the steps iterates over any `@type` entries.
6945
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/276 "> Issue 276</ a > .</ li >
6946
- < li > Clarify sub-steps of step < a href ="#alg-compval-id-index "> 4</ a >
6947
- of the < a href ="#value-compaction "> Value Compaction algorithm</ a > .
6948
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/321 "> Issue 321</ a > .</ li >
6949
- < li > Updated the language in step < a href ="alg-valcompact-lang-dir "> 8</ a >
6950
- of < a href ="#value-compaction " class ="sectionRef "> </ a > to be consistent with other steps.
6951
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/313 "> Issue 313</ a > .</ li >
6952
- < li > Moved the last part of the compaction algorithm to
6953
- step < a href ="#api-compact-post-processing "> 7</ a > of
6954
- the < a data-link-for ="JsonLdProcessor "> compact()</ a > method of the
6955
- < a > JsonLdProcessor</ a > interface.</ li >
6956
- < li > Clarified the handling of big integers in < a href ="#data-round-tripping " class ="sectionRef "> </ a >
6957
- This is in response to < a href ="https://github.com/w3c/json-ld-api/issues/312 "> Issue 312</ a > .</ li >
6958
- </ ul >
6959
- </ li >
6960
6844
</ul>
6961
- </ section >
6845
+ </section-- >
6962
6846
6963
6847
< section id ="ack "
6964
6848
class ="appendix informative "
0 commit comments