@@ -972,7 +972,7 @@ <h2>JSON-LD 1.1 Processing Mode</h2>
972972 </ pre >
973973
974974 < p > The first < code > context</ code > encountered when processing a
975- document determines the < code > processing mode</ code > ,
975+ document which contains < code > @version </ code > determines the < code > processing mode</ code > ,
976976 unless it is defined explicitly through an API option.</ p >
977977
978978 < p class ="note "> Setting the < a > processing mode</ a > explicitly
@@ -1191,10 +1191,18 @@ <h2>Compact IRIs</h2>
11911191 -->
11921192 </ pre >
11931193
1194- < p class ="changed "> In JSON-LD 1.0, terms will be used as < a > compact IRI</ a > prefixes when
1195- compacting only if they map to a value that ends with a URI < a
1196- data-cite ="RFC3986#section-2.2 "> gen-delim</ a > character (e.g, < code > /</ code > ,
1197- < code > #</ code > and others, see [[!RFC3986]]).</ p >
1194+ < p class ="changed "> In JSON-LD 1.0, terms may be chosen as < a > compact IRI</ a > prefixes when
1195+ compacting only if a < a > simple term definition</ a > is used where the value ends with a
1196+ URI < a data-cite ="RFC3986#section-2.2 "> gen-delim</ a > character (e.g, < code > /</ code > ,
1197+ < code > #</ code > and others, see [[!RFC3986]]).
1198+ < span class ="note "> The previous specification allows any term to be chosen as
1199+ a compact IRI prefix, which lead to a poor experience.</ span > </ p >
1200+
1201+ < p class ="changed "> In JSON-LD 1.1, terms may be chosen as < a > compact IRI</ a > prefixes
1202+ when compacting only if
1203+ a < a > simple term definition</ a > is used where the value ends with a URI < a data-cite ="RFC3986#section-2.2 "> gen-delim</ a > character,
1204+ or if their < a > expanded term definition</ a > contains
1205+ a < code > @prefix</ code > member with the value < a > true</ a > .</ p >
11981206
11991207 < p class ="note "> This represents a small change to the 1.0 algorithm to prevent IRIs
12001208 that are not really intended to be used as prefixes from being used for creating
@@ -5070,6 +5078,7 @@ <h3>Serializing/Deserializing RDF</h3>
50705078< section class ="appendix informative ">
50715079 < h2 > Changes since 1.0 Recommendation of 16 January 2014</ h2 >
50725080 < ul >
5081+ < li > A context may contain a < code > @version</ code > member which is used to set the < a > processing mode</ a > .</ li >
50735082 < li > An < a > expanded term definition</ a > can now have an
50745083 < code > @context</ code > property, which defines a < a > context</ a > used for values of
50755084 a < a > property</ a > identified with such a < a > term</ a > .</ li >
@@ -5093,7 +5102,7 @@ <h2>Changes since 1.0 Recommendation of 16 January 2014</h2>
50935102 keyword along with < code > @set</ code > (other than < code > @list</ code > ).
50945103 This allows a way to ensure that such property values will always
50955104 be expressed in < a > array</ a > form.</ li >
5096- < li > In JSON-LD 1.1, terms will be used as < a > compact IRI</ a > prefixes
5105+ < li > In JSON-LD 1.1, terms will be chosen as < a > compact IRI</ a > prefixes
50975106 when compacting only if
50985107 a < a > simple term definition</ a > is used where the value ends with a URI < a data-cite ="RFC3986#section-2.2 "> gen-delim</ a > character,
50995108 or if their < a > expanded term definition</ a > contains
0 commit comments