diff --git a/Gemfile.lock b/Gemfile.lock
index 5d03b900..f603fc37 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/ruby-rdf/json-ld.git
- revision: 565f89265c1fc06d2fd5b761bdbf95b905065d3a
+ revision: 94a5f041320f71ef89e4e82c73a01fd07ab4af27
branch: develop
specs:
json-ld (3.0.2)
@@ -33,10 +33,10 @@ GEM
hamster (3.0.0)
concurrent-ruby (~> 1.0)
htmlentities (4.3.4)
- i18n (1.6.0)
+ i18n (1.7.0)
concurrent-ruby (~> 1.0)
json-canonicalization (0.1.0)
- json-ld-preloaded (3.0.4)
+ json-ld-preloaded (3.0.5)
json-ld (~> 3.0)
multi_json (~> 1.12)
rdf (~> 3.0)
@@ -73,7 +73,7 @@ GEM
sparql (~> 3.0)
sparql-client (~> 3.0)
mini_portile2 (2.4.0)
- multi_json (1.13.1)
+ multi_json (1.14.1)
net-http-persistent (3.1.0)
connection_pool (~> 2.2)
nokogiri (1.10.4)
@@ -82,7 +82,7 @@ GEM
nokogiri
public_suffix (4.0.1)
rack (2.0.7)
- rake (12.3.3)
+ rake (13.0.0)
rdf (3.0.12)
hamster (~> 3.0)
link_header (~> 0.0, >= 0.0.8)
@@ -134,7 +134,7 @@ GEM
rdf-turtle (3.0.6)
ebnf (~> 1.1)
rdf (~> 3.0)
- rdf-vocab (3.0.10)
+ rdf-vocab (3.0.11)
rdf (~> 3.0, >= 3.0.11)
rdf-xsd (3.0.1)
rdf (~> 3.0)
@@ -160,8 +160,8 @@ GEM
rdf (~> 3.0)
sxp (1.0.2)
rdf (~> 3.0)
- temple (0.8.1)
- tilt (2.0.9)
+ temple (0.8.2)
+ tilt (2.0.10)
PLATFORMS
ruby
diff --git a/common/terms.html b/common/terms.html
index ff660e0e..cdef3e1f 100644
--- a/common/terms.html
+++ b/common/terms.html
@@ -320,13 +320,16 @@
when prepended to the suffix of the compact IRI,
results in an absolute IRI.
processing mode
- The processing mode defines how a JSON-LD document is processed.
- By default, all documents are assumed to be conformant with JSON-LD 1.0 [[JSON-LD10]].
+ The processing mode defines how a JSON-LD document is processed.
+ By default, all documents are assumed to be conformant with this specification.
By defining a different version using the @version
entry in a context,
- or via explicit API option,
- other processing modes can be accessed.
+ publishers can ensure that processors conformant with JSON-LD 1.0 [[JSON-LD10]]
+ will not accidently process JSON-LD 1.1 documents, possibly creating a different output.
+ The API provides an option for setting the processing mode to `json-ld-1.0`,
+ which will prevent JSON-LD 1.1 features from being activated,
+ or error if @version
entry in a context is explicitly set to `1.1`.
This specification extends JSON-LD 1.0
- via the json-ld-1.1
processing mode.
+ via the `json-ld-1.1` processing mode.
set object
A set object is a map that has an @set
entry.
It may also have an @index
key, but no other entries.
diff --git a/index.html b/index.html
index eeb6cbe3..17f13d07 100644
--- a/index.html
+++ b/index.html
@@ -91,7 +91,7 @@
url: "https://digitalbazaar.com/",
company: "Digital Bazaar",
companyURL: "https://digitalbazaar.com/",
- note: "v1.0" },
+ note: "v1.0 and v1.1" },
{ name: "Gregg Kellogg",
url: "https://greggkellogg.net/",
w3cid: "44770",
@@ -455,10 +455,11 @@ Features
JSON-LD 1.1 introduces new features that are
compatible with [[[JSON-LD10]]] [[JSON-LD10]],
but if processed by a JSON-LD 1.0 processor may produce different results.
- In order to detect this JSON-LD 1.1 requires that the processing
- mode be explicitly set to json-ld-1.1
, either through the
- processingMode API option, or using the
- @version
map entry within a context.
+ Processors default to `json-ld-1.1`, unless the
+ processingMode API option
+ is explicitly set to `json-ld-1.0`.
+ Publishers are encouraged to use the @version
map entry within a context
+ set to `1.1` to ensure that JSON-LD 1.0 processors will not misinterpret JSON-LD 1.1 features.
There are four major types of transformation that are discussed in this
document: expansion, compaction, flattening, and RDF serialization/deserialization.
@@ -918,6 +919,16 @@ RDF Serialization/Deserialization
serialize RDF as JSON-LD as
defined in this specification.
+ Unless specified using
+ processingMode API option,
+ the processing mode is set using the @version
entry
+ in a local context and
+ affects the behavior of algorithms including expansion and compaction.
+ Once set, it is an error to attempt to change to a different processing mode,
+ and processors MUST generate,
+ a processing mode conflict
+ error and abort further processing.
+
The algorithms in this specification are generally written with more concern for clarity
than efficiency. Thus, JSON-LD Processors may
implement the algorithms given in this specification in any way desired,
@@ -1010,12 +1021,6 @@
Overview
a combination of the two. Finally we process each context contained
in the local context array as follows.
- Unless specified using
- processingMode API option,
- the processing mode is set using the @version
entry
- in a local context and
- affects the behavior of algorithms including expansion and compaction.
-
If context is a string, it represents a reference to
a remote context. We dereference the remote context and replace context
with the value of the @context
entry of the top-level object in the
@@ -1167,16 +1172,14 @@
Algorithm
an invalid @version value
has been detected, and processing is aborted.
If processing mode
- is set to json-ld-1.0
,
+ is set to `json-ld-1.0`,
a processing mode conflict
error has been detected and processing is aborted.
- Set processing mode,
- to json-ld-1.1
, if not already set.
If context has an @import
entry:
- - If processing mode is
json-ld-1.0
,
+ - If processing mode is `json-ld-1.0`,
an invalid context entry
error has been detected and processing is aborted.
- Otherwise, if its value is not a string,
@@ -1283,6 +1286,9 @@
Algorithm
- If context has an
@direction
entry:
+ - If processing mode is `json-ld-1.0`,
+ an invalid context entry
+ error has been detected and processing is aborted.
- Initialize value to the value associated with the
@direction
entry.
- If value is
null
, remove
@@ -1296,7 +1302,7 @@ Algorithm
- If context has an
@propagate
entry:
- - If processing mode is
json-ld-1.0
,
+ - If processing mode is `json-ld-1.0`,
an invalid context entry
error has been detected and processing is aborted.
- Otherwise, if its value is not boolean
true
or false
,
@@ -1397,9 +1403,11 @@ Algorithm
is now being created but is not yet complete.
- Initialize value to a copy of the value associated with the entry
term in local context.
- - If processing mode
- is
json-ld-1.1
- and term is @type
, value
+ - If term is `@type`,
+ and processing mode is `json-ld-1.0`,
+ a keyword redefinition error has
+ been detected and processing is aborted.
+ At this point, value
MUST be a map with only the entry
@container
and value @set
and optional entry `@protected`.
@@ -1429,7 +1437,11 @@ Algorithm
Set simple term to false
.
- Create a new term definition, definition.
- If the
@protected
entry in value
- is true
, or there is no @protected
entry in value
+ is true
set the protected in definition to true.
+ If processing mode is `json-ld-1.0`,
+ an invalid term definition
+ has been detected and processing is aborted.
+ - Otherwise, if there is no
@protected
entry in value
and the protected parameter is true
,
set the protected in definition to true.
- If value contains the entry
@type
:
@@ -1442,11 +1454,15 @@ Algorithm
IRI Expansion algorithm, passing
active context, type for value,
true
for vocab,
- local context, and defined. If the expanded type is
+ local context, and defined.
+ - If the expanded type is
+ `@json` or `@none`, and processing mode is `json-ld-1.0`,
+ an invalid type mapping
+ error has been detected and processing is aborted.
+ - Otherwise, if the expanded type is
neither
@id
, nor @vocab
,
- nor, if processing mode is json-ld-1.1
, @json
nor @none
,
- nor an absolute IRI, an
- invalid type mapping
+ nor an absolute IRI,
+ an invalid type mapping
error has been detected and processing is aborted.
- Set the type mapping for definition to type.
@@ -1564,8 +1580,8 @@ Algorithm
@index
,
@language
,
@list
,
- @set
, or
- @type
.
+ @set
,
+ @type
,
or an array containing exactly any one of those
keywords, an array containing @graph
and
@@ -1578,11 +1594,10 @@ Algorithm
Otherwise, an
invalid container mapping
has been detected and processing is aborted.
- - If processing mode
- is
json-ld-1.0
and the container value
- is @graph
, @id
, or @type
, or is otherwise not a string, an
- invalid container mapping
- has been detected and processing is aborted.
+ - If the container value
+ is
@graph
, @id
, or @type
, or is otherwise not a string,
+ generate an invalid container mapping
+ error and abort processing if processing mode is `json-ld-1.0`.
- Set the container mapping of definition to
container.
- If container mapping is `@type`:
@@ -1597,7 +1612,7 @@
Algorithm
- If value contains the entry
@index
:
- - If processing mode is
json-ld-1.0
or
+ - If processing mode is `json-ld-1.0` or
container mapping does not include
@index
,
an invalid term definition
has been detected and processing is aborted.
@@ -1611,7 +1626,7 @@ Algorithm
- If value contains the entry
@context
:
- - If processing mode is
json-ld-1.0
, an
+ - If processing mode is `json-ld-1.0`, an
invalid term definition
has been detected and processing is aborted.
- Initialize context to the value associated with the
@@ -1659,7 +1674,7 @@
Algorithm
- If value contains the entry
@nest
:
- - If processing mode is
json-ld-1.0
, an
+ - If processing mode is `json-ld-1.0`, an
invalid term definition
has been detected and processing is aborted.
- Initialize nest value in definition to the value associated with the
@@ -1671,7 +1686,7 @@
Algorithm
- If value contains the entry
@prefix
:
- - If processing mode is
json-ld-1.0
, or if
+ - If processing mode is `json-ld-1.0`, or if
term contains a colon (
:
), an
invalid term definition
has been detected and processing is aborted.
@@ -2347,10 +2362,13 @@ Algorithm
- If active property equals
@reverse
, an
invalid reverse property map
error has been detected and processing is aborted.
- - If result has already an expanded property entry,
- other than `@included` or `@type`,
+
- If result already has an expanded property entry,
+ other than `@included` or `@type`
+ (unless processing mode is `json-ld-1.0`),
a colliding keywords
error has been detected and processing is aborted.
+ - If result already has an expanded property entry,
+ for `@included` or `@type`.
- If expanded property is
@id
and
value is not a string, an
invalid @id value
@@ -2398,38 +2416,47 @@ Algorithm
and {{JsonLdOptions/ordered}} flags,
ensuring that expanded value is an array of one or more maps.
- - If expanded property is `@included`
- and processing mode is `json-ld-1.1`,
- set expanded value to the result of using
- this algorithm recursively passing active context,
- active property, value for element,
- and the {{JsonLdOptions/frameExpansion}}
- and {{JsonLdOptions/ordered}} flags,
- ensuring that the result is an array.
- If any element of included result is not a node object,
- an invalid @included value
- error has been detected and processing is aborted.
- If result already has an entry for `@include`,
- prepend the value of `@include` in result to expanded value.
- - Otherwise, if expanded property is
@value
,
- processing mode is json-ld-1.1
, and
- input type is @json
,
- set expanded value to value.
- Otherwise, if
- value is not a scalar or null
, an
- invalid value object value
- error has been detected and processing is aborted. Otherwise,
- set expanded value to value. If expanded value
- is null
, set the @value
- entry of result to null
and continue with the
- next key from element. Null values need to be preserved
- in this case as the meaning of an @type
entry depends
- on the existence of an @value
entry.
-
- When the {{JsonLdOptions/frameExpansion}} flag is set, value
- may also be an empty map or an array of
- scalar values. expanded value will be null, or an
- array of one or more scalar values.
+ - If expanded property is `@included`:
+
+ - If processing mode is `json-ld-1.0`,
+ continue with the next key from element.
+ - Set expanded value to the result of using
+ this algorithm recursively passing active context,
+ active property, value for element,
+ and the {{JsonLdOptions/frameExpansion}}
+ and {{JsonLdOptions/ordered}} flags,
+ ensuring that the result is an array.
+ - If any element of included result is not a node object,
+ an invalid @included value
+ error has been detected and processing is aborted.
+ - If result already has an entry for `@include`,
+ prepend the value of `@include` in result to expanded value.
+
+
+ - Otherwise, if expanded property is
@value
:
+
+ - If input type is
@json
,
+ set expanded value to value.
+ If processing mode is `json-ld-1.0`,
+ an invalid value object value
+ error has been detected and processing is aborted.
+ - Otherwise, if value is not a scalar or
null
,
+ an invalid value object value
+ error has been detected and processing is aborted.
+ - Otherwise, set expanded value to value.
+ - If expanded value
+ is
null
, set the @value
+ entry of result to null
and continue with the
+ next key from element. Null values need to be preserved
+ in this case as the meaning of an @type
entry depends
+ on the existence of an @value
entry.
+ -
+ When the {{JsonLdOptions/frameExpansion}} flag is set, value
+ may also be an empty map or an array of
+ scalar values. expanded value will be null, or an
+ array of one or more scalar values.
+
+
- If expanded property is
@language
and
value is not a string, an
invalid language-tagged string
@@ -2445,15 +2472,20 @@ Algorithm
array of one or more string values.
Processors MAY normalize language tags to lower case.
- - If expanded property is
@direction
and
- value is neither `"ltr"` nor `"rtl"`, an
- invalid base direction
- error has been detected and processing is aborted.
- Otherwise, set expanded value to value.
- When the {{JsonLdOptions/frameExpansion}} flag is set, value
- may also be an empty map or an array of zero or
- strings. expanded value will be an
- array of one or more string values.
+ - If expanded property is
@direction
:
+
+ - If processing mode is `json-ld-1.0`,
+ continue with the next key from element.
+ - If value is neither `"ltr"` nor `"rtl"`, an
+ invalid base direction
+ error has been detected and processing is aborted.
+ - Otherwise, set expanded value to value.
+ - When the {{JsonLdOptions/frameExpansion}} flag is set, value
+ may also be an empty map or an array of zero or
+ strings. expanded value will be an
+ array of one or more string values.
+
+
- If expanded property is
@index
and
value is not a string, an
invalid @index value
@@ -2941,8 +2973,8 @@ Algorithm
return the result of concatenating the IRI mapping
associated with prefix and suffix.
A more conservative change, although more involved,
- would to restrict looking at the prefix flag unless
- the processing mode is json-ld-1.1
.
+ would to restrict looking at the prefix flag if
+ the processing mode is `json-ld-1.0`.
- If value has the form of an absolute IRI,
return value.
@@ -3294,8 +3326,7 @@ Algorithm
passing active context, inverse context,
expanded property for var,
and true
for vocab.
- - If processing mode is
json-ld-1.1
,
- and the term definition for alias in the
+ - If the term definition for alias in the
active context has a container mapping including
@set
,
ensure that compacted value is an array.
- Add an entry alias to result whose value is
@@ -3954,11 +3985,11 @@
Algorithm
be the last container mapping value to be checked as it
is the most generic.
-
- If processing mode is
json-ld-1.1
and value does not contain an @index
entry,
+ If processing mode not `json-ld-1.0` and value does not contain an @index
entry,
append @index
and @index@set
to containers.
-
- If processing mode is
json-ld-1.1
and value contains only an @value
entry,
+ If processing mode is not `json-ld-1.0` and value contains only an @value
entry,
append @language
and @language@set
to containers.
- If type/language value is
null
, set it to
@@ -4432,7 +4463,7 @@ Algorithm
node unless it is already in that array. Finally
remove the @type
entry from element.
- If element has an
@index
entry, set the @index
- entry of node to its value. If node has already an
+ entry of node to its value. If node already has an
@index
entry with a different value, a
conflicting indexes
error has been detected and processing is aborted. Otherwise, continue by
@@ -5267,7 +5298,7 @@ Algorithm
to a JSON number.
- - Otherwise, if processing mode is
json-ld-1.1
,
+ - Otherwise, if processing mode is not `json-ld-1.0`,
and value is a JSON literal,
set converted value to the result of
turning the lexical value of value
@@ -5276,8 +5307,7 @@
Algorithm
the JSON Grammar [[RFC8259]],
an invalid JSON literal
error has been detected and processing is aborted.
- - Otherwise, if processing mode is `json-ld-1.1`,
- the datatype IRI of value starts with `https://www.w3.org/ns/i18n#`,
+
- Otherwise, if the datatype IRI of value starts with `https://www.w3.org/ns/i18n#`,
and {{JsonLdOptions/rdfDirection}} is `i18n-datatype`:
- Set converted value to the lexical form of value.
@@ -5991,7 +6021,7 @@ Algorithm
- processingMode
- Sets the processing mode.
- If set to
json-ld-1.0
or json-ld-1.1
,
+ If set to `json-ld-1.0` or `json-ld-1.1`,
the implementation must produce exactly the same results as the
algorithms defined in this specification.
If set to another value,
@@ -6673,6 +6703,8 @@ JsonLdErrorCode
- It is no longer required that language tags be normalized to lower case,
other than for testing considerations.
Language tags that are not valid according to [[BCP47]] are rejected.
+ - The processing mode is now implicitly `json-ld-1.1`, unless set
+ explicitly to `json-ld-1.0`.
diff --git a/tests/compact-manifest.html b/tests/compact-manifest.html
index d3040e8c..28a48f75 100644
--- a/tests/compact-manifest.html
+++ b/tests/compact-manifest.html
@@ -2078,8 +2078,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2112,8 +2110,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2146,8 +2142,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2180,8 +2174,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2214,8 +2206,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2248,8 +2238,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2282,8 +2270,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2316,8 +2302,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2350,8 +2334,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2384,8 +2366,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2418,8 +2398,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2452,8 +2430,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2511,8 +2487,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2547,8 +2521,6 @@
- compactArrays
- false
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2581,8 +2553,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2617,8 +2587,6 @@
- compactArrays
- false
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2651,8 +2619,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2710,8 +2676,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2744,8 +2708,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2778,8 +2740,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2812,8 +2772,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2846,8 +2804,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2880,8 +2836,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2914,8 +2868,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2948,8 +2900,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2982,8 +2932,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3016,8 +2964,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3134,8 +3080,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3168,8 +3112,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3202,8 +3144,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3236,8 +3176,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3270,8 +3208,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3304,8 +3240,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3338,8 +3272,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3372,8 +3304,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3406,8 +3336,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3440,8 +3368,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3474,8 +3400,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3508,8 +3432,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3542,8 +3464,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3576,8 +3496,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3610,8 +3528,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3644,8 +3560,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3678,8 +3592,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3712,8 +3624,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3746,8 +3656,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3780,8 +3688,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3814,8 +3720,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3848,8 +3752,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3882,8 +3784,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3916,8 +3816,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3950,8 +3848,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3984,8 +3880,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -4018,8 +3912,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -4118,8 +4010,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -4152,8 +4042,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -4186,8 +4074,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -4220,8 +4106,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -4254,8 +4138,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -4288,8 +4170,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -4322,8 +4202,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -4418,40 +4296,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
-- specVersion
-- json-ld-1.1
-
-
-
-
--
-Test tep04 Processing mode is implicitly json-ld-1.0
-
--
-
-- id
-- #tep04
-- Type
-- jld:NegativeEvaluationTest, jld:CompactTest
-- Purpose
-- If not specified using processingMode, processing mode is taken as json-ld-1.0
-- input
--
-compact/ep04-in.jsonld
-
-- context
--
-compact/ep04-context.jsonld
-
-- expect
--
-invalid container mapping
-
-- Options
--
-
- specVersion
- json-ld-1.1
@@ -4468,7 +4312,7 @@
- Type
- jld:NegativeEvaluationTest, jld:CompactTest
- Purpose
-- If not specified using processingMode, processing mode is taken as json-ld-1.0
+- If processingMode is explicitly json-ld-1.0, it will conflict with 1.1 features.
- input
-
compact/ep05-in.jsonld
@@ -4584,8 +4428,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -4618,8 +4460,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -5018,8 +4858,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -5052,8 +4890,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -5086,8 +4922,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -5120,8 +4954,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -5154,8 +4986,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -5188,8 +5018,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -5222,8 +5050,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -5256,8 +5082,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -5290,8 +5114,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -5324,8 +5146,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -5358,8 +5178,6 @@
- specVersion
- json-ld-1.1
-- processingMode
-- json-ld-1.1
@@ -5575,8 +5393,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -5609,8 +5425,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -5643,8 +5457,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -5677,8 +5489,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -5711,8 +5521,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -5745,8 +5553,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -5779,8 +5585,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -5813,8 +5617,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -5847,8 +5649,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -5881,8 +5681,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -5915,8 +5713,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -5949,8 +5745,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -5983,8 +5777,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6017,8 +5809,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6051,8 +5841,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6085,8 +5873,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6119,8 +5905,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6153,8 +5937,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6187,8 +5969,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6221,8 +6001,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6255,8 +6033,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6289,8 +6065,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6323,8 +6097,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6357,8 +6129,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6391,8 +6161,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6425,8 +6193,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6459,8 +6225,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6493,8 +6257,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6527,8 +6289,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6561,8 +6321,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6595,8 +6353,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6629,8 +6385,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6697,8 +6451,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6795,8 +6547,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6829,8 +6579,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6895,8 +6643,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6929,8 +6675,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6963,8 +6707,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -6997,8 +6739,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -7031,8 +6771,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -7065,8 +6803,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -7099,8 +6835,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -7295,8 +7029,6 @@
- base
- http://example.org/
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -7329,8 +7061,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
- compactToRelative
@@ -7365,8 +7095,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -7399,8 +7127,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
diff --git a/tests/compact-manifest.jsonld b/tests/compact-manifest.jsonld
index 2ba3a936..8046426e 100644
--- a/tests/compact-manifest.jsonld
+++ b/tests/compact-manifest.jsonld
@@ -636,7 +636,7 @@
"input": "compact/0077-in.jsonld",
"context": "compact/0077-context.jsonld",
"expect": "compact/0077-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0078",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -645,7 +645,7 @@
"input": "compact/0078-in.jsonld",
"context": "compact/0078-context.jsonld",
"expect": "compact/0078-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0079",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -654,7 +654,7 @@
"input": "compact/0079-in.jsonld",
"context": "compact/0079-context.jsonld",
"expect": "compact/0079-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0080",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -663,7 +663,7 @@
"input": "compact/0080-in.jsonld",
"context": "compact/0080-context.jsonld",
"expect": "compact/0080-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0081",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -672,7 +672,7 @@
"input": "compact/0081-in.jsonld",
"context": "compact/0081-context.jsonld",
"expect": "compact/0081-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0082",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -681,7 +681,7 @@
"input": "compact/0082-in.jsonld",
"context": "compact/0082-context.jsonld",
"expect": "compact/0082-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0083",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -690,7 +690,7 @@
"input": "compact/0083-in.jsonld",
"context": "compact/0083-context.jsonld",
"expect": "compact/0083-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0084",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -699,7 +699,7 @@
"input": "compact/0084-in.jsonld",
"context": "compact/0084-context.jsonld",
"expect": "compact/0084-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0085",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -708,7 +708,7 @@
"input": "compact/0085-in.jsonld",
"context": "compact/0085-context.jsonld",
"expect": "compact/0085-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0086",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -717,7 +717,7 @@
"input": "compact/0086-in.jsonld",
"context": "compact/0086-context.jsonld",
"expect": "compact/0086-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0087",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -726,7 +726,7 @@
"input": "compact/0087-in.jsonld",
"context": "compact/0087-context.jsonld",
"expect": "compact/0087-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0088",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -735,7 +735,7 @@
"input": "compact/0088-in.jsonld",
"context": "compact/0088-context.jsonld",
"expect": "compact/0088-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0089",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -752,7 +752,7 @@
"input": "compact/0090-in.jsonld",
"context": "compact/0090-context.jsonld",
"expect": "compact/0090-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0091",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -761,7 +761,7 @@
"input": "compact/0091-in.jsonld",
"context": "compact/0091-context.jsonld",
"expect": "compact/0091-out.jsonld",
- "option": {"compactArrays": false, "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"compactArrays": false, "specVersion": "json-ld-1.1"}
}, {
"@id": "#t0092",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -770,7 +770,7 @@
"input": "compact/0092-in.jsonld",
"context": "compact/0092-context.jsonld",
"expect": "compact/0092-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0093",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -779,7 +779,7 @@
"input": "compact/0093-in.jsonld",
"context": "compact/0093-context.jsonld",
"expect": "compact/0093-out.jsonld",
- "option": {"compactArrays": false, "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"compactArrays": false, "specVersion": "json-ld-1.1"}
}, {
"@id": "#t0094",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -788,7 +788,7 @@
"input": "compact/0094-in.jsonld",
"context": "compact/0094-context.jsonld",
"expect": "compact/0094-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0095",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -805,7 +805,7 @@
"input": "compact/0096-in.jsonld",
"context": "compact/0096-context.jsonld",
"expect": "compact/0096-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0097",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -814,7 +814,7 @@
"input": "compact/0097-in.jsonld",
"context": "compact/0097-context.jsonld",
"expect": "compact/0097-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0098",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -823,7 +823,7 @@
"input": "compact/0098-in.jsonld",
"context": "compact/0098-context.jsonld",
"expect": "compact/0098-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0099",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -832,7 +832,7 @@
"input": "compact/0099-in.jsonld",
"context": "compact/0099-context.jsonld",
"expect": "compact/0099-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0100",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -841,7 +841,7 @@
"input": "compact/0100-in.jsonld",
"context": "compact/0100-context.jsonld",
"expect": "compact/0100-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0101",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -850,7 +850,7 @@
"input": "compact/0101-in.jsonld",
"context": "compact/0101-context.jsonld",
"expect": "compact/0101-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0102",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -859,7 +859,7 @@
"input": "compact/0102-in.jsonld",
"context": "compact/0102-context.jsonld",
"expect": "compact/0102-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0103",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -868,7 +868,7 @@
"input": "compact/0103-in.jsonld",
"context": "compact/0103-context.jsonld",
"expect": "compact/0103-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0104",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -877,7 +877,7 @@
"input": "compact/0104-in.jsonld",
"context": "compact/0104-context.jsonld",
"expect": "compact/0104-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0105",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -886,7 +886,7 @@
"input": "compact/0105-in.jsonld",
"context": "compact/0105-context.jsonld",
"expect": "compact/0105-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0106",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -922,7 +922,7 @@
"input": "compact/0109-in.jsonld",
"context": "compact/0109-context.jsonld",
"expect": "compact/0109-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0110",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -931,7 +931,7 @@
"input": "compact/0110-in.jsonld",
"context": "compact/0110-context.jsonld",
"expect": "compact/0110-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc001",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -940,7 +940,7 @@
"input": "compact/c001-in.jsonld",
"context": "compact/c001-context.jsonld",
"expect": "compact/c001-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc002",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -949,7 +949,7 @@
"input": "compact/c002-in.jsonld",
"context": "compact/c002-context.jsonld",
"expect": "compact/c002-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc003",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -958,7 +958,7 @@
"input": "compact/c003-in.jsonld",
"context": "compact/c003-context.jsonld",
"expect": "compact/c003-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc004",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -967,7 +967,7 @@
"input": "compact/c004-in.jsonld",
"context": "compact/c004-context.jsonld",
"expect": "compact/c004-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc005",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -976,7 +976,7 @@
"input": "compact/c005-in.jsonld",
"context": "compact/c005-context.jsonld",
"expect": "compact/c005-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc006",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -985,7 +985,7 @@
"input": "compact/c006-in.jsonld",
"context": "compact/c006-context.jsonld",
"expect": "compact/c006-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc007",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -994,7 +994,7 @@
"input": "compact/c007-in.jsonld",
"context": "compact/c007-context.jsonld",
"expect": "compact/c007-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc008",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1003,7 +1003,7 @@
"input": "compact/c008-in.jsonld",
"context": "compact/c008-context.jsonld",
"expect": "compact/c008-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc009",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1012,7 +1012,7 @@
"input": "compact/c009-in.jsonld",
"context": "compact/c009-context.jsonld",
"expect": "compact/c009-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc010",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1021,7 +1021,7 @@
"input": "compact/c010-in.jsonld",
"context": "compact/c010-context.jsonld",
"expect": "compact/c010-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc011",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1030,7 +1030,7 @@
"input": "compact/c011-in.jsonld",
"context": "compact/c011-context.jsonld",
"expect": "compact/c011-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc012",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1039,7 +1039,7 @@
"input": "compact/c012-in.jsonld",
"context": "compact/c012-context.jsonld",
"expect": "compact/c012-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc013",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1048,7 +1048,7 @@
"input": "compact/c013-in.jsonld",
"context": "compact/c013-context.jsonld",
"expect": "compact/c013-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc014",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1057,7 +1057,7 @@
"input": "compact/c014-in.jsonld",
"context": "compact/c014-context.jsonld",
"expect": "compact/c014-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc015",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1066,7 +1066,7 @@
"input": "compact/c015-in.jsonld",
"context": "compact/c015-context.jsonld",
"expect": "compact/c015-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc016",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1075,7 +1075,7 @@
"input": "compact/c016-in.jsonld",
"context": "compact/c016-context.jsonld",
"expect": "compact/c016-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc017",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1084,7 +1084,7 @@
"input": "compact/c017-in.jsonld",
"context": "compact/c017-context.jsonld",
"expect": "compact/c017-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc018",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1093,7 +1093,7 @@
"input": "compact/c018-in.jsonld",
"context": "compact/c018-context.jsonld",
"expect": "compact/c018-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc019",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1102,7 +1102,7 @@
"input": "compact/c019-in.jsonld",
"context": "compact/c019-context.jsonld",
"expect": "compact/c019-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc020",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1111,7 +1111,7 @@
"input": "compact/c020-in.jsonld",
"context": "compact/c020-context.jsonld",
"expect": "compact/c020-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc021",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1120,7 +1120,7 @@
"input": "compact/c021-in.jsonld",
"context": "compact/c021-context.jsonld",
"expect": "compact/c021-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc022",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1129,7 +1129,7 @@
"input": "compact/c022-in.jsonld",
"context": "compact/c022-context.jsonld",
"expect": "compact/c022-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc023",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1138,7 +1138,7 @@
"input": "compact/c023-in.jsonld",
"context": "compact/c023-context.jsonld",
"expect": "compact/c023-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc024",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1147,7 +1147,7 @@
"input": "compact/c024-in.jsonld",
"context": "compact/c024-context.jsonld",
"expect": "compact/c024-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc025",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1156,7 +1156,7 @@
"input": "compact/c025-in.jsonld",
"context": "compact/c025-context.jsonld",
"expect": "compact/c025-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc026",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1180,7 +1180,7 @@
"@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ],
"name": "term direction null",
"purpose": "Uses term with null direction when two terms conflict on direction.",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/di01-in.jsonld",
"context": "compact/di01-context.jsonld",
"expect": "compact/di01-out.jsonld"
@@ -1189,7 +1189,7 @@
"@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ],
"name": "use alias of @direction",
"purpose": "Use alias of @direction.",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/di02-in.jsonld",
"context": "compact/di02-context.jsonld",
"expect": "compact/di02-out.jsonld"
@@ -1198,7 +1198,7 @@
"@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ],
"name": "term selection with lists and direction",
"purpose": "Term selection includes values of @list.",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/di03-in.jsonld",
"context": "compact/di03-context.jsonld",
"expect": "compact/di03-out.jsonld"
@@ -1207,7 +1207,7 @@
"@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ],
"name": "simple language map with term direction",
"purpose": "Term selection with language maps and @direction.",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/di04-in.jsonld",
"context": "compact/di04-context.jsonld",
"expect": "compact/di04-out.jsonld"
@@ -1216,7 +1216,7 @@
"@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ],
"name": "simple language map with overriding term direction",
"purpose": "Term selection with language maps and @direction.",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/di05-in.jsonld",
"context": "compact/di05-context.jsonld",
"expect": "compact/di05-out.jsonld"
@@ -1225,7 +1225,7 @@
"@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ],
"name": "simple language map with overriding null direction",
"purpose": "Term selection with language maps and @direction.",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/di06-in.jsonld",
"context": "compact/di06-context.jsonld",
"expect": "compact/di06-out.jsonld"
@@ -1234,7 +1234,7 @@
"@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ],
"name": "simple language map with mismatching term direction",
"purpose": "Term selection with language maps and @direction.",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/di07-in.jsonld",
"context": "compact/di07-context.jsonld",
"expect": "compact/di07-out.jsonld"
@@ -1264,21 +1264,12 @@
"input": "compact/en01-in.jsonld",
"context": "compact/en01-context.jsonld",
"expect": "invalid @nest value",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
- }, {
- "@id": "#tep04",
- "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
- "name": "Processing mode is implicitly json-ld-1.0",
- "purpose": "If not specified using processingMode, processing mode is taken as json-ld-1.0",
- "option": {"specVersion": "json-ld-1.1"},
- "input": "compact/ep04-in.jsonld",
- "context": "compact/ep04-context.jsonld",
- "expect": "invalid container mapping"
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tep05",
"@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
"name": "processingMode json-ld-1.0 conflicts with @version: 1.1",
- "purpose": "If not specified using processingMode, processing mode is taken as json-ld-1.0",
+ "purpose": "If processingMode is explicitly json-ld-1.0, it will conflict with 1.1 features.",
"input": "compact/ep05-in.jsonld",
"context": "compact/ep05-context.jsonld",
"expect": "processing mode conflict",
@@ -1306,7 +1297,7 @@
"@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
"name": "@prefix must be a boolean",
"purpose": "@prefix must be a boolean in a term definition in 1.1",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/ep08-in.jsonld",
"context": "compact/ep08-context.jsonld",
"expect": "invalid @prefix value"
@@ -1315,7 +1306,7 @@
"@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
"name": "@prefix not allowed on compact IRI term",
"purpose": "If processingMode is json-ld-1.0, or if term contains a colon (:), an invalid term definition has been detected and processing is aborted.",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/ep09-in.jsonld",
"context": "compact/ep09-context.jsonld",
"expect": "invalid term definition"
@@ -1426,7 +1417,7 @@
"input": "compact/js01-in.jsonld",
"context": "compact/js01-context.jsonld",
"expect": "compact/js01-out.jsonld",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tjs02",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1435,7 +1426,7 @@
"input": "compact/js02-in.jsonld",
"context": "compact/js02-context.jsonld",
"expect": "compact/js02-out.jsonld",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tjs03",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1444,7 +1435,7 @@
"input": "compact/js03-in.jsonld",
"context": "compact/js03-context.jsonld",
"expect": "compact/js03-out.jsonld",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tjs04",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1453,7 +1444,7 @@
"input": "compact/js04-in.jsonld",
"context": "compact/js04-context.jsonld",
"expect": "compact/js04-out.jsonld",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tjs05",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1462,7 +1453,7 @@
"input": "compact/js05-in.jsonld",
"context": "compact/js05-context.jsonld",
"expect": "compact/js05-out.jsonld",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tjs06",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1471,7 +1462,7 @@
"input": "compact/js06-in.jsonld",
"context": "compact/js06-context.jsonld",
"expect": "compact/js06-out.jsonld",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tjs07",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1480,7 +1471,7 @@
"input": "compact/js07-in.jsonld",
"context": "compact/js07-context.jsonld",
"expect": "compact/js07-out.jsonld",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tjs08",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1489,7 +1480,7 @@
"input": "compact/js08-in.jsonld",
"context": "compact/js08-context.jsonld",
"expect": "compact/js08-out.jsonld",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tjs09",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1498,7 +1489,7 @@
"input": "compact/js09-in.jsonld",
"context": "compact/js09-context.jsonld",
"expect": "compact/js09-out.jsonld",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tjs10",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1507,7 +1498,7 @@
"input": "compact/js10-in.jsonld",
"context": "compact/js10-context.jsonld",
"expect": "compact/js10-out.jsonld",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tjs11",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1516,7 +1507,7 @@
"input": "compact/js11-in.jsonld",
"context": "compact/js11-context.jsonld",
"expect": "compact/js11-out.jsonld",
- "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tla01",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1578,7 +1569,7 @@
"input": "compact/m001-in.jsonld",
"context": "compact/m001-context.jsonld",
"expect": "compact/m001-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm002",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1587,7 +1578,7 @@
"input": "compact/m002-in.jsonld",
"context": "compact/m002-context.jsonld",
"expect": "compact/m002-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm003",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1596,7 +1587,7 @@
"input": "compact/m003-in.jsonld",
"context": "compact/m003-context.jsonld",
"expect": "compact/m003-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm004",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1605,7 +1596,7 @@
"input": "compact/m004-in.jsonld",
"context": "compact/m004-context.jsonld",
"expect": "compact/m004-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm005",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1614,7 +1605,7 @@
"input": "compact/m005-in.jsonld",
"context": "compact/m005-context.jsonld",
"expect": "compact/m005-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm006",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1623,7 +1614,7 @@
"input": "compact/m006-in.jsonld",
"context": "compact/m006-context.jsonld",
"expect": "compact/m006-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm007",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1632,7 +1623,7 @@
"input": "compact/m007-in.jsonld",
"context": "compact/m007-context.jsonld",
"expect": "compact/m007-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm008",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1641,7 +1632,7 @@
"input": "compact/m008-in.jsonld",
"context": "compact/m008-context.jsonld",
"expect": "compact/m008-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm009",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1650,7 +1641,7 @@
"input": "compact/m009-in.jsonld",
"context": "compact/m009-context.jsonld",
"expect": "compact/m009-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm010",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1659,7 +1650,7 @@
"input": "compact/m010-in.jsonld",
"context": "compact/m010-context.jsonld",
"expect": "compact/m010-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm011",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1668,7 +1659,7 @@
"input": "compact/m011-in.jsonld",
"context": "compact/m011-context.jsonld",
"expect": "compact/m011-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm012",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1677,7 +1668,7 @@
"input": "compact/m012-in.jsonld",
"context": "compact/m012-context.jsonld",
"expect": "compact/m012-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm013",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1686,7 +1677,7 @@
"input": "compact/m013-in.jsonld",
"context": "compact/m013-context.jsonld",
"expect": "compact/m013-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm014",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1695,7 +1686,7 @@
"input": "compact/m014-in.jsonld",
"context": "compact/m014-context.jsonld",
"expect": "compact/m014-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm015",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1704,7 +1695,7 @@
"input": "compact/m015-in.jsonld",
"context": "compact/m015-context.jsonld",
"expect": "compact/m015-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm016",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1713,7 +1704,7 @@
"input": "compact/m016-in.jsonld",
"context": "compact/m016-context.jsonld",
"expect": "compact/m016-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm017",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1722,7 +1713,7 @@
"input": "compact/m017-in.jsonld",
"context": "compact/m017-context.jsonld",
"expect": "compact/m017-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm018",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1731,7 +1722,7 @@
"input": "compact/m018-in.jsonld",
"context": "compact/m018-context.jsonld",
"expect": "compact/m018-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm019",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1740,7 +1731,7 @@
"input": "compact/m019-in.jsonld",
"context": "compact/m019-context.jsonld",
"expect": "compact/m019-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm020",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1749,7 +1740,7 @@
"input": "compact/m020-in.jsonld",
"context": "compact/m020-context.jsonld",
"expect": "compact/m020-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm021",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1758,7 +1749,7 @@
"input": "compact/m021-in.jsonld",
"context": "compact/m021-context.jsonld",
"expect": "compact/m021-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tm022",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1767,7 +1758,7 @@
"input": "compact/m022-in.jsonld",
"context": "compact/m022-context.jsonld",
"expect": "compact/m022-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tn001",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1776,7 +1767,7 @@
"input": "compact/n001-in.jsonld",
"context": "compact/n001-context.jsonld",
"expect": "compact/n001-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tn002",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1785,7 +1776,7 @@
"input": "compact/n002-in.jsonld",
"context": "compact/n002-context.jsonld",
"expect": "compact/n002-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tn003",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1794,7 +1785,7 @@
"input": "compact/n003-in.jsonld",
"context": "compact/n003-context.jsonld",
"expect": "compact/n003-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tn004",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1803,7 +1794,7 @@
"input": "compact/n004-in.jsonld",
"context": "compact/n004-context.jsonld",
"expect": "compact/n004-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tn005",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1812,7 +1803,7 @@
"input": "compact/n005-in.jsonld",
"context": "compact/n005-context.jsonld",
"expect": "compact/n005-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tn006",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1821,7 +1812,7 @@
"input": "compact/n006-in.jsonld",
"context": "compact/n006-context.jsonld",
"expect": "compact/n006-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tn007",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1830,7 +1821,7 @@
"input": "compact/n007-in.jsonld",
"context": "compact/n007-context.jsonld",
"expect": "compact/n007-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tn008",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1839,7 +1830,7 @@
"input": "compact/n008-in.jsonld",
"context": "compact/n008-context.jsonld",
"expect": "compact/n008-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tn009",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1848,7 +1839,7 @@
"input": "compact/n009-in.jsonld",
"context": "compact/n009-context.jsonld",
"expect": "compact/n009-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tn010",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1857,7 +1848,7 @@
"input": "compact/n010-in.jsonld",
"context": "compact/n010-context.jsonld",
"expect": "compact/n010-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tp001",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -1872,7 +1863,7 @@
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact IRI does not use expanded term definition in 1.1",
"purpose": "Terms with an expanded term definition are not used for creating compact IRIs",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/p002-in.jsonld",
"context": "compact/p002-context.jsonld",
"expect": "compact/p002-out.jsonld"
@@ -1899,7 +1890,7 @@
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact IRI uses term with definition including @prefix: true",
"purpose": "Expanded term definition may set prefix explicitly in 1.1",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/p005-in.jsonld",
"context": "compact/p005-context.jsonld",
"expect": "compact/p005-out.jsonld"
@@ -1908,7 +1899,7 @@
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact IRI uses term with definition including @prefix: true",
"purpose": "Expanded term definition may set prefix explicitly in 1.1",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/p006-in.jsonld",
"context": "compact/p006-context.jsonld",
"expect": "compact/p006-out.jsonld"
@@ -1926,7 +1917,7 @@
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact IRI does not use term with definition including @prefix: false",
"purpose": "Expanded term definition may set prefix explicitly in 1.1",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/p008-in.jsonld",
"context": "compact/p008-context.jsonld",
"expect": "compact/p008-out.jsonld"
@@ -1935,7 +1926,7 @@
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "property-valued index indexes property value, instead of property (value)",
"purpose": "Compacting property-valued indexes.",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/pi01-in.jsonld",
"context": "compact/pi01-context.jsonld",
"expect": "compact/pi01-out.jsonld"
@@ -1944,7 +1935,7 @@
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "property-valued index indexes property value, instead of property (multiple values)",
"purpose": "Compacting property-valued indexes.",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/pi02-in.jsonld",
"context": "compact/pi02-context.jsonld",
"expect": "compact/pi02-out.jsonld"
@@ -1953,7 +1944,7 @@
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "property-valued index indexes property value, instead of property (node)",
"purpose": "Compacting property-valued indexes.",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/pi03-in.jsonld",
"context": "compact/pi03-context.jsonld",
"expect": "compact/pi03-out.jsonld"
@@ -1962,7 +1953,7 @@
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "property-valued index indexes property value, instead of property (multiple nodes)",
"purpose": "Compacting property-valued indexes.",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/pi04-in.jsonld",
"context": "compact/pi04-context.jsonld",
"expect": "compact/pi04-out.jsonld"
@@ -1971,7 +1962,7 @@
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "property-valued index indexes using @none if no property value exists",
"purpose": "Compacting property-valued indexes.",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/pi05-in.jsonld",
"context": "compact/pi05-context.jsonld",
"expect": "compact/pi05-out.jsonld"
@@ -1980,7 +1971,7 @@
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "property-valued index indexes using @none if no property value does not compact to string",
"purpose": "Compacting property-valued indexes.",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"},
+ "option": {"specVersion": "json-ld-1.1"},
"input": "compact/pi06-in.jsonld",
"context": "compact/pi06-context.jsonld",
"expect": "compact/pi06-out.jsonld"
@@ -2037,7 +2028,7 @@
"input": "compact/r001-in.jsonld",
"context": "compact/r001-context.jsonld",
"expect": "compact/r001-out.jsonld",
- "option": {"base": "http://example.org/", "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"base": "http://example.org/", "specVersion": "json-ld-1.1"}
}, {
"@id": "#tr002",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -2047,7 +2038,7 @@
"context": "compact/r002-context.jsonld",
"expect": "compact/r002-out.jsonld",
"option": {
- "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1",
+ "specVersion": "json-ld-1.1",
"compactToRelative": false
}
}, {
@@ -2058,7 +2049,7 @@
"input": "compact/s001-in.jsonld",
"context": "compact/s001-context.jsonld",
"expect": "compact/s001-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#ts002",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
@@ -2067,7 +2058,7 @@
"input": "compact/s002-in.jsonld",
"context": "compact/s002-context.jsonld",
"expect": "compact/s002-out.jsonld",
- "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#ttn01",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
diff --git a/tests/compact/ep04-context.jsonld b/tests/compact/ep04-context.jsonld
deleted file mode 100644
index c699d930..00000000
--- a/tests/compact/ep04-context.jsonld
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "@context": {
- "@vocab": "http://example/",
- "ex": "http://example.org/",
- "idmap": {"@container": "@id"}
- }
-}
diff --git a/tests/compact/ep04-in.jsonld b/tests/compact/ep04-in.jsonld
deleted file mode 100644
index fe15d637..00000000
--- a/tests/compact/ep04-in.jsonld
+++ /dev/null
@@ -1,5 +0,0 @@
-[{
- "http://example/idmap": [
- {"http://example/label": [{"@value": "Object with @id "}], "@id": "http://example.org/foo"}
- ]
-}]
\ No newline at end of file
diff --git a/tests/expand-manifest.html b/tests/expand-manifest.html
index cf3c24dd..335d0c7e 100644
--- a/tests/expand-manifest.html
+++ b/tests/expand-manifest.html
@@ -1799,8 +1799,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -1829,8 +1827,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -1859,8 +1855,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -1889,8 +1883,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -1919,8 +1911,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -1949,8 +1939,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -1979,8 +1967,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2009,8 +1995,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2039,8 +2023,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2174,8 +2156,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2204,8 +2184,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2234,8 +2212,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2264,8 +2240,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2294,8 +2268,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2324,8 +2296,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2354,8 +2324,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2384,8 +2352,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2414,8 +2380,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2444,8 +2408,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2474,8 +2436,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2504,8 +2464,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2534,8 +2492,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2564,8 +2520,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2594,8 +2548,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2624,8 +2576,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2654,8 +2604,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2705,8 +2653,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2896,8 +2842,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2926,8 +2870,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2956,8 +2898,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -2986,8 +2926,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3016,8 +2954,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3046,8 +2982,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3076,8 +3010,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3106,8 +3038,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3136,8 +3066,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3166,8 +3094,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3196,8 +3122,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3226,8 +3150,6 @@
- Options
-
-- processingMode
-- json-ld-1.1
- specVersion
- json-ld-1.1
@@ -3256,8 +3178,6 @@
- Options
-