From db81e2610e88e02987a7d1deda41d1eff4b63b06 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 16 Oct 2019 09:13:23 -0700 Subject: [PATCH 1/7] Lazy-Eval processingMode. * Updates to existing tests to make json-ld-1.1 the presumed version, unless json-ld-1.0 is set explicitly. For #161. --- tests/compact-manifest.html | 34 +---------------------- tests/compact-manifest.jsonld | 11 +------- tests/compact/ep04-context.jsonld | 7 ----- tests/compact/ep04-in.jsonld | 5 ---- tests/expand-manifest.html | 45 +++++++++++-------------------- tests/expand-manifest.jsonld | 17 ++++-------- tests/expand/ep01-in.jsonld | 10 ------- tests/toRdf-manifest.html | 2 ++ tests/toRdf-manifest.jsonld | 2 +- 9 files changed, 25 insertions(+), 108 deletions(-) delete mode 100644 tests/compact/ep04-context.jsonld delete mode 100644 tests/compact/ep04-in.jsonld delete mode 100644 tests/expand/ep01-in.jsonld diff --git a/tests/compact-manifest.html b/tests/compact-manifest.html index d3040e8c..a25d2819 100644 --- a/tests/compact-manifest.html +++ b/tests/compact-manifest.html @@ -4426,38 +4426,6 @@

-
-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
-
-
-
-
Test tep05 processingMode json-ld-1.0 conflicts with @version: 1.1
@@ -4468,7 +4436,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 diff --git a/tests/compact-manifest.jsonld b/tests/compact-manifest.jsonld index 2ba3a936..be22fce8 100644 --- a/tests/compact-manifest.jsonld +++ b/tests/compact-manifest.jsonld @@ -1265,20 +1265,11 @@ "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" }, { "@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", 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..a52db8e7 100644 --- a/tests/expand-manifest.html +++ b/tests/expand-manifest.html @@ -3732,6 +3732,8 @@

specVersion
json-ld-1.1
+
processingMode
+
json-ld-1.0

@@ -4922,7 +4924,7 @@

-Test te042 Keywords may not be redefined +Test te042 Keywords may not be redefined in 1.0
@@ -4940,6 +4942,15 @@

keyword redefinition
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+

@@ -5294,34 +5305,6 @@

-
-Test tep01 Processing mode is implicitly json-ld-1.0 -
-
-
-
id
-
#tep01
-
Type
-
jld:NegativeEvaluationTest, jld:ExpandTest
-
Purpose
-
If not specified using processingMode, processing mode is taken as json-ld-1.0
-
input
-
-expand/ep01-in.jsonld -
-
expect
-
-invalid container mapping -
-
Options
-
-
-
specVersion
-
json-ld-1.1
-
-
-
-
Test tep02 processingMode json-ld-1.0 conflicts with @version: 1.1
@@ -5332,7 +5315,7 @@

Type
jld:NegativeEvaluationTest, jld:ExpandTest
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
expand/ep02-in.jsonld @@ -8968,6 +8951,8 @@

specVersion
json-ld-1.1
+
processingMode
+
json-ld-1.0

diff --git a/tests/expand-manifest.jsonld b/tests/expand-manifest.jsonld index 9e0e88a2..9ba7e396 100644 --- a/tests/expand-manifest.jsonld +++ b/tests/expand-manifest.jsonld @@ -1099,7 +1099,7 @@ "purpose": "@propagate is invalid in 1.0", "input": "expand/c029-in.jsonld", "expect": "invalid context member", - "option": {"specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"} }, { "@id": "#tc030", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -1476,8 +1476,9 @@ }, { "@id": "#te042", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "Keywords may not be redefined", + "name": "Keywords may not be redefined in 1.0", "purpose": "Verifies that an exception is raised on expansion when processing an invalid context attempting to define @container on a keyword", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"}, "input": "expand/e042-in.jsonld", "expect": "keyword redefinition" }, { @@ -1576,19 +1577,11 @@ "input": "expand/en06-in.jsonld", "expect": "invalid reverse property", "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} - }, { - "@id": "#tep01", - "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], - "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": "expand/ep01-in.jsonld", - "expect": "invalid container mapping" }, { "@id": "#tep02", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], "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": "expand/ep02-in.jsonld", "expect": "processing mode conflict", "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} @@ -2605,7 +2598,7 @@ "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], "name": "@type: @none is illegal in 1.0.", "purpose": "@type: @none is illegal in json-ld-1.0.", - "option": {"specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"}, "input": "expand/tn01-in.jsonld", "expect": "invalid type mapping" }, { diff --git a/tests/expand/ep01-in.jsonld b/tests/expand/ep01-in.jsonld deleted file mode 100644 index 81a736c7..00000000 --- a/tests/expand/ep01-in.jsonld +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@context": { - "@vocab": "http://example/", - "idmap": {"@container": "@id"} - }, - "idmap": { - "http://example.org/foo": {"label": "Object with @id "}, - "_:bar": {"label": "Object with @id _:bar"} - } -} \ No newline at end of file diff --git a/tests/toRdf-manifest.html b/tests/toRdf-manifest.html index 22c02b75..0af03377 100644 --- a/tests/toRdf-manifest.html +++ b/tests/toRdf-manifest.html @@ -8034,6 +8034,8 @@

specVersion
json-ld-1.1
+
processingMode
+
json-ld-1.0
diff --git a/tests/toRdf-manifest.jsonld b/tests/toRdf-manifest.jsonld index 7a7d2889..95132f67 100644 --- a/tests/toRdf-manifest.jsonld +++ b/tests/toRdf-manifest.jsonld @@ -2379,7 +2379,7 @@ "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], "name": "@type: @none is illegal in 1.0.", "purpose": "@type: @none is illegal in json-ld-1.0.", - "option": {"specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"}, "input": "toRdf/tn01-in.jsonld", "expect": "invalid type mapping" }, { From 9dd31b315374608960154a05e7709a14adbf0fd8 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 16 Oct 2019 14:18:31 -0700 Subject: [PATCH 2/7] Update spec for lazy-evaluation of processingMode. --- index.html | 233 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 142 insertions(+), 91 deletions(-) diff --git a/index.html b/index.html index eeb6cbe3..95f75670 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,18 @@

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. + If unspecified, processors MUST set processing mode to `json-ld-1.1` + on the first attempt to use a JSON-LD 1.1 feature.

+

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 +1023,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,18 +1174,19 @@

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.
  • + to `json-ld-1.1`, if not already set.
  • If context has an @import entry:
      -
    1. If processing mode is json-ld-1.0, +
    2. If processing mode is `json-ld-1.0`, an invalid context entry - error has been detected and processing is aborted.
    3. + error has been detected and processing is aborted. + Set processing mode, to `json-ld-1.1`, if not already set.
    4. Otherwise, if its value is not a string, an invalid @import value error has been detected and processing is aborted.
    5. @@ -1283,6 +1291,10 @@

      Algorithm

    6. If context has an @direction entry:
        +
      1. If processing mode is `json-ld-1.0`, + an invalid context entry + error has been detected and processing is aborted. + Set processing mode, to `json-ld-1.1`, if not already set.
      2. Initialize value to the value associated with the @direction entry.
      3. If value is null, remove @@ -1296,9 +1308,10 @@

        Algorithm

      4. If context has an @propagate entry:
          -
        1. If processing mode is json-ld-1.0, +
        2. If processing mode is `json-ld-1.0`, an invalid context entry - error has been detected and processing is aborted.
        3. + error has been detected and processing is aborted. + Set processing mode, to `json-ld-1.1`, if not already set.
        4. Otherwise, if its value is not boolean true or false, an invalid @propagate value error has been detected and processing is aborted.
        5. @@ -1397,9 +1410,12 @@

          Algorithm

          is now being created but is not yet complete.
        6. Initialize value to a copy of the value associated with the entry term in local context.
        7. -
        8. If processing mode - is json-ld-1.1 - and term is @type, value +
        9. If term is `@type`, + and processing mode is `json-ld-1.0`, + a keyword redefinition error has + been detected and processing is aborted. + Set processing mode, to `json-ld-1.1`, if not already set. + At this point, value MUST be a map with only the entry @container and value @set and optional entry `@protected`. @@ -1429,7 +1445,12 @@

          Algorithm

          Set simple term to false.
        10. Create a new term definition, definition.
        11. 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. + Set processing mode, to `json-ld-1.1`, if not already set.
        12. +
        13. Otherwise, if there is no @protected entry in value and the protected parameter is true, set the protected in definition to true.
        14. If value contains the entry @type: @@ -1442,11 +1463,16 @@

          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.
        15. +
        16. 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. + Set processing mode, to `json-ld-1.1`, if not already set.
        17. +
        18. 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.
        19. Set the type mapping for definition to type.
        @@ -1564,8 +1590,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 +1604,11 @@

        Algorithm

        Otherwise, an invalid container mapping has been detected and processing is aborted.
      5. -
      6. 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.
      7. +
      8. 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 processing mode, to `json-ld-1.1`, if not already set.
      9. Set the container mapping of definition to container.
      10. If container mapping is `@type`: @@ -1597,10 +1623,11 @@

        Algorithm

      11. If value contains the entry @index:
          -
        1. If processing mode is json-ld-1.0 or +
        2. 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.
        3. + has been detected and processing is aborted. + Set processing mode, to `json-ld-1.1`, if not already set.
        4. Initialize index to the value associated with the @index entry, which MUST a string expanding to an absolute IRI. Otherwise, an @@ -1611,9 +1638,10 @@

          Algorithm

        5. If value contains the entry @context:
            -
          1. If processing mode is json-ld-1.0, an +
          2. If processing mode is `json-ld-1.0`, an invalid term definition - has been detected and processing is aborted.
          3. + has been detected and processing is aborted. + Set processing mode, to `json-ld-1.1`, if not already set.
          4. Initialize context to the value associated with the @context entry, which is treated as a local context.
          5. Invoke the Context Processing algorithm @@ -1659,9 +1687,10 @@

            Algorithm

          6. If value contains the entry @nest:
              -
            1. If processing mode is json-ld-1.0, an +
            2. If processing mode is `json-ld-1.0`, an invalid term definition - has been detected and processing is aborted.
            3. + has been detected and processing is aborted. + Set processing mode, to `json-ld-1.1`, if not already set.
            4. Initialize nest value in definition to the value associated with the @nest entry, which MUST be a string and MUST NOT be a keyword other than @nest. Otherwise, an @@ -1671,10 +1700,11 @@

              Algorithm

            5. If value contains the entry @prefix:
                -
              1. If processing mode is json-ld-1.0, or if +
              2. 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.
              3. + has been detected and processing is aborted. + Set processing mode, to `json-ld-1.1`, if not already set.
              4. Initialize the prefix flag to the value associated with the @prefix entry, which MUST be a boolean. Otherwise, an invalid @prefix value @@ -2348,9 +2378,13 @@

                Algorithm

                invalid reverse property map error has been detected and processing is aborted.
              5. If result has already an expanded property entry, - other than `@included` or `@type`, + other than `@included` or `@type` + (unless processing mode is `json-ld-1.0`), a colliding keywords error has been detected and processing is aborted.
              6. +
              7. If result has already an expanded property entry, + for `@included` or `@type`. + Set processing mode, to `json-ld-1.1`, if not already set.
              8. If expanded property is @id and value is not a string, an invalid @id value @@ -2398,38 +2432,49 @@

                Algorithm

                and {{JsonLdOptions/ordered}} flags, ensuring that expanded value is an array of one or more maps.
              9. -
              10. 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.
              11. -
              12. 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.
              13. +
              14. If expanded property is `@included`: +
                  +
                1. If processing mode is `json-ld-1.0`, + continue with the next key from element. + Set processing mode, to `json-ld-1.1`, if not already set.
                2. +
                3. 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.
                4. +
                5. If any element of included result is not a node object, + an invalid @included value + error has been detected and processing is aborted.
                6. +
                7. If result already has an entry for `@include`, + prepend the value of `@include` in result to expanded value.
                8. +
                +
              15. +
              16. Otherwise, if expanded property is @value: +
                  +
                1. 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. + Set processing mode, to `json-ld-1.1`, if not already set.
                2. +
                3. Otherwise, if value is not a scalar or null, + an invalid value object value + error has been detected and processing is aborted.
                4. +
                5. Otherwise, set expanded value to value.
                6. +
                7. 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.
                8. +
                9. + 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.
                10. +
                +
              17. If expanded property is @language and value is not a string, an invalid language-tagged string @@ -2445,15 +2490,21 @@

                Algorithm

                array of one or more string values. Processors MAY normalize language tags to lower case.
              18. -
              19. 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.
              20. +
              21. If expanded property is @direction: +
                  +
                1. If processing mode is `json-ld-1.0`, + continue with the next key from element. + Otherwise, set processing mode, to `json-ld-1.1`, if not already set.
                2. +
                3. If value is neither `"ltr"` nor `"rtl"`, an + invalid base direction + error has been detected and processing is aborted.
                4. +
                5. Otherwise, set expanded value to value.
                6. +
                7. 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.
                8. +
                +
              22. If expanded property is @index and value is not a string, an invalid @index value @@ -2528,6 +2579,7 @@

                Algorithm

              23. If expanded property is @nest, add key to nests, initializing it to an empty array, if necessary. + Set processing mode, to `json-ld-1.1`, if not already set. Continue with the next key from element.
              24. When the {{JsonLdOptions/frameExpansion}} flag is set, if expanded property is any other @@ -2942,7 +2994,7 @@

                Algorithm

                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.

              25. + the processing mode is `json-ld-1.1`.

              26. If value has the form of an absolute IRI, return value.
              @@ -3294,8 +3346,7 @@

              Algorithm

              passing active context, inverse context, expanded property for var, and true for vocab.
            6. -
            7. If processing mode is json-ld-1.1, - and the term definition for alias in the +
            8. If the term definition for alias in the active context has a container mapping including @set, ensure that compacted value is an array.
            9. Add an entry alias to result whose value is @@ -3954,11 +4005,11 @@

              Algorithm

              be the last container mapping value to be checked as it is the most generic.
            10. - If processing mode is json-ld-1.1 and value does not contain an @index entry, + If processing mode is `json-ld-1.1` and value does not contain an @index entry, append @index and @index@set to containers.
            11. - If processing mode is json-ld-1.1 and value contains only an @value entry, + If processing mode is `json-ld-1.1` and value contains only an @value entry, append @language and @language@set to containers.
            12. If type/language value is null, set it to @@ -5267,17 +5318,17 @@

              Algorithm

              to a JSON number.
          7. -
          8. Otherwise, if processing mode is json-ld-1.1, +
          9. 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 into the JSON-LD internal representation, and set type to @json. + Set processing mode, to `json-ld-1.1`, if not already set. If the lexical value of value is not valid JSON according to the JSON Grammar [[RFC8259]], an invalid JSON literal error has been detected and processing is aborted.
          10. -
          11. Otherwise, if processing mode is `json-ld-1.1`, - the datatype IRI of value starts with `https://www.w3.org/ns/i18n#`, +
          12. Otherwise, if the datatype IRI of value starts with `https://www.w3.org/ns/i18n#`, and {{JsonLdOptions/rdfDirection}} is `i18n-datatype`:
            1. Set converted value to the lexical form of value.
            2. @@ -5991,7 +6042,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, From f3be181d3fcd309f81f386552391f646c56f165b Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 16 Oct 2019 15:45:31 -0700 Subject: [PATCH 3/7] Don't explicitly set processingMode to 1.1 in tests, as it's now implicit. --- Gemfile.lock | 16 +-- tests/compact-manifest.html | 242 ---------------------------------- tests/compact-manifest.jsonld | 242 +++++++++++++++++----------------- tests/expand-manifest.html | 184 +------------------------- tests/expand-manifest.jsonld | 184 +++++++++++++------------- tests/fromRdf-manifest.html | 46 ------- tests/fromRdf-manifest.jsonld | 48 +++---- tests/toRdf-manifest.html | 124 +---------------- tests/toRdf-manifest.jsonld | 124 ++++++++--------- 9 files changed, 313 insertions(+), 897 deletions(-) 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/tests/compact-manifest.html b/tests/compact-manifest.html index a25d2819..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,8 +4296,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -4552,8 +4428,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -4586,8 +4460,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -4986,8 +4858,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -5020,8 +4890,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -5054,8 +4922,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -5088,8 +4954,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -5122,8 +4986,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -5156,8 +5018,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -5190,8 +5050,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -5224,8 +5082,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -5258,8 +5114,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -5292,8 +5146,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -5326,8 +5178,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -5543,8 +5393,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5577,8 +5425,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5611,8 +5457,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5645,8 +5489,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5679,8 +5521,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5713,8 +5553,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5747,8 +5585,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5781,8 +5617,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5815,8 +5649,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5849,8 +5681,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5883,8 +5713,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5917,8 +5745,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5951,8 +5777,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5985,8 +5809,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6019,8 +5841,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6053,8 +5873,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6087,8 +5905,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6121,8 +5937,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6155,8 +5969,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6189,8 +6001,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6223,8 +6033,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6257,8 +6065,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6291,8 +6097,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6325,8 +6129,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6359,8 +6161,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6393,8 +6193,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6427,8 +6225,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6461,8 +6257,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6495,8 +6289,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6529,8 +6321,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6563,8 +6353,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6597,8 +6385,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6665,8 +6451,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6763,8 +6547,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6797,8 +6579,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6863,8 +6643,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6897,8 +6675,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6931,8 +6707,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6965,8 +6739,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6999,8 +6771,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -7033,8 +6803,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -7067,8 +6835,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -7263,8 +7029,6 @@

              base
              http://example.org/
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -7297,8 +7061,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              compactToRelative
              @@ -7333,8 +7095,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -7367,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 be22fce8..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,7 +1264,7 @@ "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"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tep05", "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], @@ -1297,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" @@ -1306,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" @@ -1417,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"], @@ -1426,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"], @@ -1435,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"], @@ -1444,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"], @@ -1453,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"], @@ -1462,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"], @@ -1471,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"], @@ -1480,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"], @@ -1489,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"], @@ -1498,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"], @@ -1507,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"], @@ -1569,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"], @@ -1578,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"], @@ -1587,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"], @@ -1596,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"], @@ -1605,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"], @@ -1614,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"], @@ -1623,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"], @@ -1632,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"], @@ -1641,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"], @@ -1650,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"], @@ -1659,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"], @@ -1668,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"], @@ -1677,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"], @@ -1686,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"], @@ -1695,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"], @@ -1704,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"], @@ -1713,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"], @@ -1722,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"], @@ -1731,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"], @@ -1740,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"], @@ -1749,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"], @@ -1758,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"], @@ -1767,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"], @@ -1776,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"], @@ -1785,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"], @@ -1794,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"], @@ -1803,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"], @@ -1812,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"], @@ -1821,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"], @@ -1830,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"], @@ -1839,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"], @@ -1848,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"], @@ -1863,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" @@ -1890,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" @@ -1899,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" @@ -1917,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" @@ -1926,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" @@ -1935,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" @@ -1944,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" @@ -1953,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" @@ -1962,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" @@ -1971,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" @@ -2028,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"], @@ -2038,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 } }, { @@ -2049,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"], @@ -2058,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/expand-manifest.html b/tests/expand-manifest.html index a52db8e7..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
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3286,8 +3206,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3316,8 +3234,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3346,8 +3262,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3376,8 +3290,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3406,8 +3318,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3436,8 +3346,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3466,8 +3374,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3496,8 +3402,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3526,8 +3430,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3556,8 +3458,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3586,8 +3486,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3616,8 +3514,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5087,8 +4983,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5117,8 +5011,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5147,8 +5039,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5177,8 +5067,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5207,8 +5095,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5237,8 +5123,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5267,8 +5151,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5297,8 +5179,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5415,8 +5295,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5923,8 +5801,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -6343,8 +6219,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6373,8 +6247,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6403,8 +6275,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6433,8 +6303,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6465,8 +6333,6 @@

              base
              http://example.org/
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6495,8 +6361,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6525,8 +6389,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6555,8 +6417,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6585,8 +6445,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6615,8 +6473,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6645,8 +6501,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6675,8 +6529,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6705,8 +6557,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6735,8 +6585,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6765,8 +6613,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6795,8 +6641,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6825,8 +6669,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6855,8 +6697,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6885,8 +6725,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6915,8 +6753,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6945,8 +6781,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6975,8 +6809,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -7005,8 +6837,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -7035,8 +6865,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -7065,8 +6893,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -7095,8 +6921,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -7125,8 +6949,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -7155,8 +6977,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -7276,7 +7096,7 @@

              -Test tpi01 error if @version is not json-ld-1.1 for property-valued index +Test tpi01 error if @version is json-ld-1.0 for property-valued index
              @@ -7299,6 +7119,8 @@

              specVersion
              json-ld-1.1
              +
              processingMode
              +
              json-ld-1.0

              diff --git a/tests/expand-manifest.jsonld b/tests/expand-manifest.jsonld index 9ba7e396..1ddbb740 100644 --- a/tests/expand-manifest.jsonld +++ b/tests/expand-manifest.jsonld @@ -568,7 +568,7 @@ "purpose": "Use of @graph containers", "input": "expand/0079-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -576,7 +576,7 @@ "purpose": "Use of [@graph, @set] containers", "input": "expand/0080-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -584,7 +584,7 @@ "purpose": "Don't double-expand an already expanded graph", "input": "expand/0081-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -592,7 +592,7 @@ "purpose": "Use of @graph containers with @index", "input": "expand/0082-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -600,7 +600,7 @@ "purpose": "Use of @graph containers with @index and @set", "input": "expand/0083-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -608,7 +608,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "expand/0084-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -616,7 +616,7 @@ "purpose": "Use of @graph containers with @id", "input": "expand/0085-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -624,7 +624,7 @@ "purpose": "Use of @graph containers with @id and @set", "input": "expand/0086-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -632,7 +632,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "expand/0087-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -677,7 +677,7 @@ "purpose": "Pathological relative property IRIs", "input": "expand/0092-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -685,7 +685,7 @@ "purpose": "Use of @graph containers", "input": "expand/0093-in.jsonld", "expect": "expand/0093-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0094", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -693,7 +693,7 @@ "purpose": "Use of [@graph, @set] containers", "input": "expand/0094-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -701,7 +701,7 @@ "purpose": "Double-expand an already expanded graph", "input": "expand/0095-in.jsonld", "expect": "expand/0095-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0096", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -709,7 +709,7 @@ "purpose": "Use of @graph containers with @index", "input": "expand/0096-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -717,7 +717,7 @@ "purpose": "Use of @graph containers with @index and @set", "input": "expand/0097-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -725,7 +725,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "expand/0098-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -733,7 +733,7 @@ "purpose": "Use of @graph containers with @id", "input": "expand/0099-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -741,7 +741,7 @@ "purpose": "Use of @graph containers with @id and @set", "input": "expand/0100-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -749,7 +749,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "expand/0101-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -757,7 +757,7 @@ "purpose": "Creates a new graph object if indexed value is already a graph object", "input": "expand/0102-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -765,7 +765,7 @@ "purpose": "Creates a new graph object if indexed value is already a graph object", "input": "expand/0103-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -773,7 +773,7 @@ "purpose": "Double-expand an already expanded graph", "input": "expand/0104-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -781,7 +781,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "expand/0105-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -789,7 +789,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "expand/0106-in.jsonld", "expect": "expand/0106-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0107", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -797,7 +797,7 @@ "purpose": "Use of @graph containers with @index", "input": "expand/0107-in.jsonld", "expect": "expand/0107-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0108", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -805,7 +805,7 @@ "purpose": "Use of @graph containers with @id", "input": "expand/0108-in.jsonld", "expect": "expand/0108-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0109", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -820,7 +820,7 @@ "purpose": "Pathological relative property IRIs", "input": "expand/0110-in.jsonld", "expect": "expand/0110-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0111", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -875,7 +875,7 @@ "purpose": "Expansion using a scoped context uses term scope for selecting proper term", "input": "expand/c001-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -883,7 +883,7 @@ "purpose": "Expansion using a scoped context uses term scope for selecting proper term", "input": "expand/c002-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -891,7 +891,7 @@ "purpose": "Expansion using a scoped context uses term scope for selecting proper term", "input": "expand/c003-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -899,7 +899,7 @@ "purpose": "Expansion using a scoped context uses term scope for selecting proper term", "input": "expand/c004-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -907,7 +907,7 @@ "purpose": "Expansion using a scoped context uses term scope for selecting proper term", "input": "expand/c005-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -915,7 +915,7 @@ "purpose": "scoped context on @type", "input": "expand/c006-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -923,7 +923,7 @@ "purpose": "scoped context on @type", "input": "expand/c007-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -931,7 +931,7 @@ "purpose": "scoped context on @type", "input": "expand/c008-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -939,7 +939,7 @@ "purpose": "scoped context on @type", "input": "expand/c009-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -947,7 +947,7 @@ "purpose": "scoped context on @type", "input": "expand/c010-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -955,7 +955,7 @@ "purpose": "scoped context on @type", "input": "expand/c011-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -963,7 +963,7 @@ "purpose": "scoped context on @type", "input": "expand/c012-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -971,7 +971,7 @@ "purpose": "scoped context on @type", "input": "expand/c013-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -979,7 +979,7 @@ "purpose": "type-scoped context nullification", "input": "expand/c014-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -987,7 +987,7 @@ "purpose": "type-scoped base", "input": "expand/c015-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -995,7 +995,7 @@ "purpose": "type-scoped vocab", "input": "expand/c016-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1003,7 +1003,7 @@ "purpose": "multiple type-scoped contexts are property reverted", "input": "expand/c017-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1011,7 +1011,7 @@ "purpose": "multiple type-scoped types resolved against previous context", "input": "expand/c018-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1019,7 +1019,7 @@ "purpose": "type-scoped context with multiple property scoped terms", "input": "expand/c019-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1027,7 +1027,7 @@ "purpose": "type-scoped value", "input": "expand/c020-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1035,7 +1035,7 @@ "purpose": "type-scoped value mix", "input": "expand/c021-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1043,7 +1043,7 @@ "purpose": "type-scoped property-scoped contexts including @type:@vocab", "input": "expand/c022-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1051,7 +1051,7 @@ "purpose": "composed type-scoped property-scoped contexts including @type:@vocab", "input": "expand/c023-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1059,7 +1059,7 @@ "purpose": "type-scoped + property-scoped + values evaluates against previous context", "input": "expand/c024-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1067,7 +1067,7 @@ "purpose": "type-scoped + graph container", "input": "expand/c025-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1520,7 +1520,7 @@ "purpose": "Verifies that an exception is raised on expansion when a invalid term definition is found", "input": "expand/ec01-in.jsonld", "expect": "invalid term definition", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tem01", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], @@ -1528,7 +1528,7 @@ "purpose": "Verifies that an exception is raised on expansion when a invalid container mapping is found", "input": "expand/em01-in.jsonld", "expect": "invalid container mapping", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#ten01", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], @@ -1536,7 +1536,7 @@ "purpose": "container: @nest", "input": "expand/en01-in.jsonld", "expect": "invalid @nest value", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#ten02", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], @@ -1544,7 +1544,7 @@ "purpose": "Transparent Nesting", "input": "expand/en02-in.jsonld", "expect": "invalid @nest value", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#ten03", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], @@ -1552,7 +1552,7 @@ "purpose": "Transparent Nesting", "input": "expand/en03-in.jsonld", "expect": "invalid @nest value", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#ten04", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], @@ -1560,7 +1560,7 @@ "purpose": "Transparent Nesting", "input": "expand/en04-in.jsonld", "expect": "invalid @nest value", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#ten05", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], @@ -1568,7 +1568,7 @@ "purpose": "Transparent Nesting", "input": "expand/en05-in.jsonld", "expect": "invalid @nest value", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#ten06", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], @@ -1576,7 +1576,7 @@ "purpose": "Transparent Nesting", "input": "expand/en06-in.jsonld", "expect": "invalid reverse property", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tep02", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -1608,7 +1608,7 @@ "purpose": "Testing legal combinations of @set with other container values", "input": "expand/es02-in.jsonld", "expect": "invalid container mapping", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tin01", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1752,7 +1752,7 @@ "purpose": "Tests expanding JSON literal in expanded form.", "input": "expand/js09-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1872,7 +1872,7 @@ "purpose": "Expansion using @container: @id", "input": "expand/m001-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1880,7 +1880,7 @@ "purpose": "Expansion using @container: @id", "input": "expand/m002-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1888,7 +1888,7 @@ "purpose": "Expansion using @container: @type", "input": "expand/m003-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1896,7 +1896,7 @@ "purpose": "Expansion using @container: @type", "input": "expand/m004-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1904,7 +1904,7 @@ "purpose": "Expansion using @container: @id", "input": "expand/m005-in.jsonld", "expect": "expand/m005-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": "#tm006", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1912,7 +1912,7 @@ "purpose": "Expansion using @container: @type", "input": "expand/m006-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1920,7 +1920,7 @@ "purpose": "Expansion using @container: @type", "input": "expand/m007-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1928,7 +1928,7 @@ "purpose": "scoped context on @type", "input": "expand/m008-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1936,7 +1936,7 @@ "purpose": "index on @language", "input": "expand/m009-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1944,7 +1944,7 @@ "purpose": "index on @language", "input": "expand/m010-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1952,7 +1952,7 @@ "purpose": "index on @id", "input": "expand/m011-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1960,7 +1960,7 @@ "purpose": "index on @type", "input": "expand/m012-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1968,7 +1968,7 @@ "purpose": "index on @graph and @index", "input": "expand/m013-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1976,7 +1976,7 @@ "purpose": "index on @graph and @index", "input": "expand/m014-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1984,7 +1984,7 @@ "purpose": "index on @graph and @index", "input": "expand/m015-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -1992,7 +1992,7 @@ "purpose": "index on @graph and @index", "input": "expand/m016-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -2000,7 +2000,7 @@ "purpose": "index on @type", "input": "expand/m017-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -2008,7 +2008,7 @@ "purpose": "index on @type", "input": "expand/m018-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -2016,7 +2016,7 @@ "purpose": "index on @type", "input": "expand/m019-in.jsonld", "expect": "expand/m019-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm020", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -2024,7 +2024,7 @@ "purpose": "index on @type", "input": "expand/m020-in.jsonld", "expect": "invalid type mapping", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn001", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -2032,7 +2032,7 @@ "purpose": "Expansion using @nest", "input": "expand/n001-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -2040,7 +2040,7 @@ "purpose": "Expansion using @nest", "input": "expand/n002-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -2048,7 +2048,7 @@ "purpose": "Expansion using @nest", "input": "expand/n003-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -2056,7 +2056,7 @@ "purpose": "Expansion using @nest", "input": "expand/n004-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -2064,7 +2064,7 @@ "purpose": "Expansion using @nest", "input": "expand/n005-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -2072,7 +2072,7 @@ "purpose": "Expansion using @nest", "input": "expand/n006-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -2080,7 +2080,7 @@ "purpose": "Expansion using @nest", "input": "expand/n007-in.jsonld", "expect": "expand/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:ExpandTest"], @@ -2088,7 +2088,7 @@ "purpose": "Expansion using @nest", "input": "expand/n008-in.jsonld", "expect": "expand/n008-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:ExpandTest"], @@ -2124,9 +2124,9 @@ }, { "@id": "#tpi01", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], - "name": "error if @version is not json-ld-1.1 for property-valued index", + "name": "error if @version is json-ld-1.0 for property-valued index", "purpose": "Expanding index maps where index is a property.", - "option": {"specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"}, "input": "expand/pi01-in.jsonld", "expect": "invalid term definition" }, { diff --git a/tests/fromRdf-manifest.html b/tests/fromRdf-manifest.html index b1b1e37e..f4f16c35 100644 --- a/tests/fromRdf-manifest.html +++ b/tests/fromRdf-manifest.html @@ -683,8 +683,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -713,8 +711,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -743,8 +739,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -773,8 +767,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -803,8 +795,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1
              rdfDirection
              i18n-datatype
              @@ -835,8 +825,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1
              rdfDirection
              i18n-datatype
              @@ -867,8 +855,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1
              rdfDirection
              i18n-datatype
              @@ -899,8 +885,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1
              rdfDirection
              i18n-datatype
              @@ -931,8 +915,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1
              rdfDirection
              compound-literal
              @@ -963,8 +945,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1
              rdfDirection
              compound-literal
              @@ -995,8 +975,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1
              rdfDirection
              compound-literal
              @@ -1027,8 +1005,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1
              rdfDirection
              compound-literal
              @@ -1059,8 +1035,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -1089,8 +1063,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -1119,8 +1091,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -1149,8 +1119,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -1179,8 +1147,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -1209,8 +1175,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -1239,8 +1203,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -1269,8 +1231,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -1299,8 +1259,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -1329,8 +1287,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -1359,8 +1315,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              diff --git a/tests/fromRdf-manifest.jsonld b/tests/fromRdf-manifest.jsonld index 0ab20a01..39ac4d10 100644 --- a/tests/fromRdf-manifest.jsonld +++ b/tests/fromRdf-manifest.jsonld @@ -200,7 +200,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], "name": "rdfDirection: null with i18n literal with direction and no language", "purpose": "Does not parse i18n datatype without proper option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "fromRdf/di01-in.nq", "expect": "fromRdf/di01-out.jsonld" }, { @@ -208,7 +208,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], "name": "rdfDirection: null with i18n literal with direction and language", "purpose": "Does not parse i18n datatype without proper option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "fromRdf/di02-in.nq", "expect": "fromRdf/di02-out.jsonld" }, { @@ -216,8 +216,8 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], "name": "rdfDirection: null with compound literal with direction and no language", "purpose": "Does not parse compound literal without proper option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}, - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "fromRdf/di03-in.nq", "expect": "fromRdf/di03-out.jsonld" }, { @@ -225,7 +225,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], "name": "rdfDirection: null with compound literal with direction and language", "purpose": "Does not parse compound literal without proper option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "fromRdf/di04-in.nq", "expect": "fromRdf/di04-out.jsonld" }, { @@ -233,7 +233,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], "name": "rdfDirection: i18n-datatype with i18n literal with direction and no language", "purpose": "Parses i18n datatype with proper option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, "input": "fromRdf/di05-in.nq", "expect": "fromRdf/di05-out.jsonld" }, { @@ -241,7 +241,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], "name": "rdfDirection: i18n-datatype with i18n literal with direction and language", "purpose": "Parses i18n datatype with proper option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, "input": "fromRdf/di06-in.nq", "expect": "fromRdf/di06-out.jsonld" }, { @@ -249,7 +249,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], "name": "rdfDirection: i18n-datatype with compound literal with direction and no language", "purpose": "Does not parse compound literal without proper option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, "input": "fromRdf/di07-in.nq", "expect": "fromRdf/di07-out.jsonld" }, { @@ -257,7 +257,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], "name": "rdfDirection: i18n-datatype with compound literal with direction and language", "purpose": "Does not parse compound literal without proper option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, "input": "fromRdf/di08-in.nq", "expect": "fromRdf/di08-out.jsonld" }, { @@ -265,7 +265,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], "name": "rdfDirection: compound-literal with i18n literal with direction and no language", "purpose": "Does not parse i18n datatype without proper option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1", "rdfDirection": "compound-literal"}, + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "compound-literal"}, "input": "fromRdf/di09-in.nq", "expect": "fromRdf/di09-out.jsonld" }, { @@ -273,7 +273,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], "name": "rdfDirection: compound-literal with i18n literal with direction and language", "purpose": "Does not parse i18n datatype without proper option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1", "rdfDirection": "compound-literal"}, + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "compound-literal"}, "input": "fromRdf/di10-in.nq", "expect": "fromRdf/di10-out.jsonld" }, { @@ -281,7 +281,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], "name": "rdfDirection: compound-literal with compound literal with direction and no language", "purpose": "Parses compound literal with proper option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1", "rdfDirection": "compound-literal"}, + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "compound-literal"}, "input": "fromRdf/di11-in.nq", "expect": "fromRdf/di11-out.jsonld" }, { @@ -289,7 +289,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], "name": "rdfDirection: compound-literal with compound literal with direction and language", "purpose": "Parses compound literal with proper option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1", "rdfDirection": "compound-literal"}, + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "compound-literal"}, "input": "fromRdf/di12-in.nq", "expect": "fromRdf/di12-out.jsonld" }, { @@ -299,7 +299,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (boolean true).", "input": "fromRdf/js01-in.nq", "expect": "fromRdf/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:FromRDFTest"], @@ -307,7 +307,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (boolean false).", "input": "fromRdf/js02-in.nq", "expect": "fromRdf/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:FromRDFTest"], @@ -315,7 +315,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (double).", "input": "fromRdf/js03-in.nq", "expect": "fromRdf/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:FromRDFTest"], @@ -323,7 +323,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (double-zero).", "input": "fromRdf/js04-in.nq", "expect": "fromRdf/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:FromRDFTest"], @@ -331,7 +331,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (integer).", "input": "fromRdf/js05-in.nq", "expect": "fromRdf/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:FromRDFTest"], @@ -339,7 +339,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (object).", "input": "fromRdf/js06-in.nq", "expect": "fromRdf/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:FromRDFTest"], @@ -347,7 +347,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (array).", "input": "fromRdf/js07-in.nq", "expect": "fromRdf/js07-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs08", "@type": ["jld:NegativeEvaluationTest", "jld:FromRDFTest"], @@ -355,7 +355,7 @@ "purpose": "Processors must generate an error when deserializing an invalid JSON literal.", "input": "fromRdf/js08-in.nq", "expect": "invalid JSON literal", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs09", "@type": ["jld:NegativeEvaluationTest", "jld:FromRDFTest"], @@ -363,7 +363,7 @@ "purpose": "Processors must generate an error when deserializing an invalid JSON literal.", "input": "fromRdf/js09-in.nq", "expect": "invalid JSON literal", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs10", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], @@ -371,7 +371,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (string).", "input": "fromRdf/js10-in.nq", "expect": "fromRdf/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:FromRDFTest"], @@ -379,7 +379,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (null).", "input": "fromRdf/js11-in.nq", "expect": "fromRdf/js11-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tli01", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], diff --git a/tests/toRdf-manifest.html b/tests/toRdf-manifest.html index 0af03377..a002f0f9 100644 --- a/tests/toRdf-manifest.html +++ b/tests/toRdf-manifest.html @@ -1504,8 +1504,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1
              rdfDirection
              i18n-datatype
              @@ -1536,8 +1534,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1
              rdfDirection
              i18n-datatype
              @@ -1568,8 +1564,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1
              rdfDirection
              compound-literal
              @@ -1600,8 +1594,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1
              rdfDirection
              compound-literal
              @@ -3319,8 +3311,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3349,8 +3339,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3379,8 +3367,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3409,8 +3395,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3439,8 +3423,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3469,8 +3451,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3499,8 +3479,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3529,8 +3507,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3559,8 +3535,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3694,8 +3668,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3724,8 +3696,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3754,8 +3724,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3784,8 +3752,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3814,8 +3780,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3844,8 +3808,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3874,8 +3836,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3904,8 +3864,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3934,8 +3892,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3964,8 +3920,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -3994,8 +3948,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -4024,8 +3976,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -4054,8 +4004,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -4084,8 +4032,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -4114,8 +4060,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -4144,8 +4088,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -4174,8 +4116,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -4225,8 +4165,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -4810,8 +4748,6 @@

              specVersion
              json-ld-1.1
              -
              processingMode
              -
              json-ld-1.1

              @@ -5062,8 +4998,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5092,8 +5026,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5122,8 +5054,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5152,8 +5082,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5184,8 +5112,6 @@

              base
              http://example.org/
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5214,8 +5140,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5244,8 +5168,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5274,8 +5196,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5304,8 +5224,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5334,8 +5252,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5364,8 +5280,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5394,8 +5308,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5424,8 +5336,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5454,8 +5364,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5484,8 +5392,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5514,8 +5420,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5544,8 +5448,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5574,8 +5476,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5604,8 +5504,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5634,8 +5532,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5664,8 +5560,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5694,8 +5588,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5724,8 +5616,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5754,8 +5644,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5784,8 +5672,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5814,8 +5700,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5844,8 +5728,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -5874,8 +5756,6 @@

              Options
              -
              processingMode
              -
              json-ld-1.1
              specVersion
              json-ld-1.1
              @@ -6331,7 +6211,7 @@

              -Test tpi01 error if @version is not json-ld-1.1 for property-valued index +Test tpi01 error if @version is json-ld-1.0 for property-valued index
              @@ -6354,6 +6234,8 @@

              specVersion
              json-ld-1.1
              +
              processingMode
              +
              json-ld-1.0

              diff --git a/tests/toRdf-manifest.jsonld b/tests/toRdf-manifest.jsonld index 95132f67..f4165fbc 100644 --- a/tests/toRdf-manifest.jsonld +++ b/tests/toRdf-manifest.jsonld @@ -464,7 +464,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], "name": "rdfDirection: i18n-datatype with direction and no language", "purpose": "Generates i18n datatype from literal with direction with option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, "input": "toRdf/di09-in.jsonld", "expect": "toRdf/di09-out.nq" }, { @@ -472,7 +472,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], "name": "rdfDirection: i18n-datatype with direction and language", "purpose": "Generates i18n datatype from literal with direction with option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, "input": "toRdf/di10-in.jsonld", "expect": "toRdf/di10-out.nq" }, { @@ -480,7 +480,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], "name": "rdfDirection: compound-literal with direction and no language", "purpose": "Generates i18n datatype from literal with direction with option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1", "rdfDirection": "compound-literal"}, + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "compound-literal"}, "input": "toRdf/di11-in.jsonld", "expect": "toRdf/di11-out.nq" }, { @@ -488,7 +488,7 @@ "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], "name": "rdfDirection: compound-literal with direction and language", "purpose": "Generates compound literal from literal with direction with option.", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1", "rdfDirection": "compound-literal"}, + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "compound-literal"}, "input": "toRdf/di12-in.jsonld", "expect": "toRdf/di12-out.nq" }, { @@ -1058,7 +1058,7 @@ "purpose": "Use of @graph containers", "input": "toRdf/e079-in.jsonld", "expect": "toRdf/e079-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te080", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1066,7 +1066,7 @@ "purpose": "Use of [@graph, @set] containers", "input": "toRdf/e080-in.jsonld", "expect": "toRdf/e080-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te081", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1074,7 +1074,7 @@ "purpose": "Don't double-expand an already expanded graph", "input": "toRdf/e081-in.jsonld", "expect": "toRdf/e081-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te082", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1082,7 +1082,7 @@ "purpose": "Use of @graph containers with @index", "input": "toRdf/e082-in.jsonld", "expect": "toRdf/e082-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te083", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1090,7 +1090,7 @@ "purpose": "Use of @graph containers with @index and @set", "input": "toRdf/e083-in.jsonld", "expect": "toRdf/e083-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te084", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1098,7 +1098,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "toRdf/e084-in.jsonld", "expect": "toRdf/e084-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te085", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1106,7 +1106,7 @@ "purpose": "Use of @graph containers with @id", "input": "toRdf/e085-in.jsonld", "expect": "toRdf/e085-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te086", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1114,7 +1114,7 @@ "purpose": "Use of @graph containers with @id and @set", "input": "toRdf/e086-in.jsonld", "expect": "toRdf/e086-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te087", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1122,7 +1122,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "toRdf/e087-in.jsonld", "expect": "toRdf/e087-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te088", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1167,7 +1167,7 @@ "purpose": "Pathological relative property IRIs", "input": "toRdf/e092-in.jsonld", "expect": "toRdf/e092-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te093", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1175,7 +1175,7 @@ "purpose": "Use of @graph containers", "input": "toRdf/e093-in.jsonld", "expect": "toRdf/e093-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te094", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1183,7 +1183,7 @@ "purpose": "Use of [@graph, @set] containers", "input": "toRdf/e094-in.jsonld", "expect": "toRdf/e094-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te095", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1191,7 +1191,7 @@ "purpose": "Don't double-expand an already expanded graph", "input": "toRdf/e095-in.jsonld", "expect": "toRdf/e095-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te096", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1199,7 +1199,7 @@ "purpose": "Use of @graph containers with @index", "input": "toRdf/e096-in.jsonld", "expect": "toRdf/e096-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te097", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1207,7 +1207,7 @@ "purpose": "Use of @graph containers with @index and @set", "input": "toRdf/e097-in.jsonld", "expect": "toRdf/e097-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te098", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1215,7 +1215,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "toRdf/e098-in.jsonld", "expect": "toRdf/e098-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te099", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1223,7 +1223,7 @@ "purpose": "Use of @graph containers with @id", "input": "toRdf/e099-in.jsonld", "expect": "toRdf/e099-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te100", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1231,7 +1231,7 @@ "purpose": "Use of @graph containers with @id and @set", "input": "toRdf/e100-in.jsonld", "expect": "toRdf/e100-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te101", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1239,7 +1239,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "toRdf/e101-in.jsonld", "expect": "toRdf/e101-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te102", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1247,7 +1247,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "toRdf/e102-in.jsonld", "expect": "toRdf/e102-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te103", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1255,7 +1255,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "toRdf/e103-in.jsonld", "expect": "toRdf/e103-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te104", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1263,7 +1263,7 @@ "purpose": "Don't double-expand an already expanded graph", "input": "toRdf/e104-in.jsonld", "expect": "toRdf/e104-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te105", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1271,7 +1271,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "toRdf/e105-in.jsonld", "expect": "toRdf/e105-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te106", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1279,7 +1279,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "toRdf/e106-in.jsonld", "expect": "toRdf/e106-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te107", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1287,7 +1287,7 @@ "purpose": "Use of @graph containers with @index", "input": "toRdf/e107-in.jsonld", "expect": "toRdf/e107-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te108", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1295,7 +1295,7 @@ "purpose": "Use of @graph containers with @id", "input": "toRdf/e108-in.jsonld", "expect": "toRdf/e108-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te109", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1310,7 +1310,7 @@ "purpose": "Pathological relative property IRIs", "input": "toRdf/e110-in.jsonld", "expect": "toRdf/e110-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#te111", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1477,7 +1477,7 @@ "purpose": "Tests transforming JSON literal with string canonicalization.", "input": "toRdf/js09-in.jsonld", "expect": "toRdf/js09-out.nq", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs10", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1549,7 +1549,7 @@ "purpose": "Expansion using @container: @id", "input": "toRdf/m001-in.jsonld", "expect": "toRdf/m001-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm002", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1557,7 +1557,7 @@ "purpose": "Expansion using @container: @id", "input": "toRdf/m002-in.jsonld", "expect": "toRdf/m002-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm003", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1565,7 +1565,7 @@ "purpose": "Expansion using @container: @type", "input": "toRdf/m003-in.jsonld", "expect": "toRdf/m003-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm004", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1573,7 +1573,7 @@ "purpose": "Expansion using @container: @type", "input": "toRdf/m004-in.jsonld", "expect": "toRdf/m004-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm005", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1581,7 +1581,7 @@ "purpose": "Expansion using @container: @id", "input": "toRdf/m005-in.jsonld", "expect": "toRdf/m005-out.nq", - "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": "#tm006", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1589,7 +1589,7 @@ "purpose": "Expansion using @container: @type", "input": "toRdf/m006-in.jsonld", "expect": "toRdf/m006-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm007", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1597,7 +1597,7 @@ "purpose": "Expansion using @container: @type", "input": "toRdf/m007-in.jsonld", "expect": "toRdf/m007-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm008", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1605,7 +1605,7 @@ "purpose": "scoped context on @type", "input": "toRdf/m008-in.jsonld", "expect": "toRdf/m008-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm009", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1613,7 +1613,7 @@ "purpose": "index on @language", "input": "toRdf/m009-in.jsonld", "expect": "toRdf/m009-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm010", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1621,7 +1621,7 @@ "purpose": "index on @language", "input": "toRdf/m010-in.jsonld", "expect": "toRdf/m010-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm011", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1629,7 +1629,7 @@ "purpose": "index on @id", "input": "toRdf/m011-in.jsonld", "expect": "toRdf/m011-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm012", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1637,7 +1637,7 @@ "purpose": "index on @type", "input": "toRdf/m012-in.jsonld", "expect": "toRdf/m012-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm013", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1645,7 +1645,7 @@ "purpose": "index on @graph and @index", "input": "toRdf/m013-in.jsonld", "expect": "toRdf/m013-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm014", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1653,7 +1653,7 @@ "purpose": "index on @graph and @index", "input": "toRdf/m014-in.jsonld", "expect": "toRdf/m014-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm015", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1661,7 +1661,7 @@ "purpose": "index on @graph and @index", "input": "toRdf/m015-in.jsonld", "expect": "toRdf/m015-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm016", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1669,7 +1669,7 @@ "purpose": "index on @graph and @index", "input": "toRdf/m016-in.jsonld", "expect": "toRdf/m016-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm017", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1677,7 +1677,7 @@ "purpose": "index on @type", "input": "toRdf/m017-in.jsonld", "expect": "toRdf/m017-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm018", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1685,7 +1685,7 @@ "purpose": "index on @type", "input": "toRdf/m018-in.jsonld", "expect": "toRdf/m018-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm019", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1693,7 +1693,7 @@ "purpose": "index on @type", "input": "toRdf/m019-in.jsonld", "expect": "toRdf/m019-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm020", "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], @@ -1701,7 +1701,7 @@ "purpose": "index on @type", "input": "toRdf/m020-in.jsonld", "expect": "invalid type mapping", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn001", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1709,7 +1709,7 @@ "purpose": "Expansion using @nest", "input": "toRdf/n001-in.jsonld", "expect": "toRdf/n001-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn002", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1717,7 +1717,7 @@ "purpose": "Expansion using @nest", "input": "toRdf/n002-in.jsonld", "expect": "toRdf/n002-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn003", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1725,7 +1725,7 @@ "purpose": "Expansion using @nest", "input": "toRdf/n003-in.jsonld", "expect": "toRdf/n003-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn004", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1733,7 +1733,7 @@ "purpose": "Expansion using @nest", "input": "toRdf/n004-in.jsonld", "expect": "toRdf/n004-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn005", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1741,7 +1741,7 @@ "purpose": "Expansion using @nest", "input": "toRdf/n005-in.jsonld", "expect": "toRdf/n005-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn006", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1749,7 +1749,7 @@ "purpose": "Expansion using @nest", "input": "toRdf/n006-in.jsonld", "expect": "toRdf/n006-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn007", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1757,7 +1757,7 @@ "purpose": "Expansion using @nest", "input": "toRdf/n007-in.jsonld", "expect": "toRdf/n007-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn008", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1765,7 +1765,7 @@ "purpose": "Expansion using @nest", "input": "toRdf/n008-in.jsonld", "expect": "toRdf/n008-out.nq", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tnt01", "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], @@ -1897,9 +1897,9 @@ }, { "@id": "#tpi01", "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], - "name": "error if @version is not json-ld-1.1 for property-valued index", + "name": "error if @version is json-ld-1.0 for property-valued index", "purpose": "Expanding index maps where index is a property.", - "option": {"specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"}, "input": "toRdf/pi01-in.jsonld", "expect": "invalid term definition" }, { From 7cbd6b0ebe1fcfa985760becd0e6b628d3897e85 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 16 Oct 2019 16:04:41 -0700 Subject: [PATCH 4/7] Change note. --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index 95f75670..c9ba7e52 100644 --- a/index.html +++ b/index.html @@ -6724,6 +6724,10 @@

              JsonLdErrorCode

            3. 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.
            4. +
            5. The processing mode is now implicitly `json-ld-1.1`, unless set + explicitly to `json-ld-1.0`. Processing mode is wired to `json-ld-1.1` + when the first JSON-LD 1.1 specific feature is encountered, and it is + not set explicilty.
            6. From ff8e556151dae250f059fa7223dbb837643b8494 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Thu, 17 Oct 2019 13:47:12 -0700 Subject: [PATCH 5/7] "has already an" => "already has an". --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index c9ba7e52..de6b57f4 100644 --- a/index.html +++ b/index.html @@ -2377,12 +2377,12 @@

              Algorithm

            7. If active property equals @reverse, an invalid reverse property map error has been detected and processing is aborted.
            8. -
            9. If result has already an expanded property entry, +
            10. 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.
            11. -
            12. If result has already an expanded property entry, +
            13. If result already has an expanded property entry, for `@included` or `@type`. Set processing mode, to `json-ld-1.1`, if not already set.
            14. If expanded property is @id and @@ -4483,7 +4483,7 @@

              Algorithm

              node unless it is already in that array. Finally remove the @type entry from element.
            15. 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 From 2029336ea6ddb42a3d4b4e52e51dece172db8067 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Fri, 18 Oct 2019 08:56:55 -0700 Subject: [PATCH 6/7] Update terms. --- common/terms.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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.
            16. 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.
              From 3e7afa5e33e6c714d776eb8bf7b86e712aee0959 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Fri, 18 Oct 2019 13:47:31 -0700 Subject: [PATCH 7/7] Remove bits about setting processingMode to json-ld-1.1 automatically. --- index.html | 63 +++++++++++++++++------------------------------------- 1 file changed, 20 insertions(+), 43 deletions(-) diff --git a/index.html b/index.html index de6b57f4..17f13d07 100644 --- a/index.html +++ b/index.html @@ -927,9 +927,7 @@

              RDF Serialization/Deserialization

              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. - If unspecified, processors MUST set processing mode to `json-ld-1.1` - on the first attempt to use a JSON-LD 1.1 feature.

              + 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 @@ -1177,16 +1175,13 @@

              Algorithm

              is set to `json-ld-1.0`, a processing mode conflict error has been detected and processing is aborted. -
            17. Set processing mode, - to `json-ld-1.1`, if not already set.
          13. If context has an @import entry:
            1. If processing mode is `json-ld-1.0`, an invalid context entry - error has been detected and processing is aborted. - Set processing mode, to `json-ld-1.1`, if not already set.
            2. + error has been detected and processing is aborted.
            3. Otherwise, if its value is not a string, an invalid @import value error has been detected and processing is aborted.
            4. @@ -1293,8 +1288,7 @@

              Algorithm

              1. If processing mode is `json-ld-1.0`, an invalid context entry - error has been detected and processing is aborted. - Set processing mode, to `json-ld-1.1`, if not already set.
              2. + error has been detected and processing is aborted.
              3. Initialize value to the value associated with the @direction entry.
              4. If value is null, remove @@ -1310,8 +1304,7 @@

                Algorithm

                1. If processing mode is `json-ld-1.0`, an invalid context entry - error has been detected and processing is aborted. - Set processing mode, to `json-ld-1.1`, if not already set.
                2. + error has been detected and processing is aborted.
                3. Otherwise, if its value is not boolean true or false, an invalid @propagate value error has been detected and processing is aborted.
                4. @@ -1414,7 +1407,6 @@

                  Algorithm

                  and processing mode is `json-ld-1.0`, a keyword redefinition error has been detected and processing is aborted. - Set processing mode, to `json-ld-1.1`, if not already set. At this point, value MUST be a map with only the entry @container and value @set @@ -1448,8 +1440,7 @@

                  Algorithm

                  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. - Set processing mode, to `json-ld-1.1`, if not already set. + has been detected and processing is aborted.
                5. Otherwise, if there is no @protected entry in value and the protected parameter is true, set the protected in definition to true.
                6. @@ -1467,8 +1458,7 @@

                  Algorithm

                7. 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. - Set processing mode, to `json-ld-1.1`, if not already set.
                8. + error has been detected and processing is aborted.
                9. Otherwise, if the expanded type is neither @id, nor @vocab, nor an absolute IRI, @@ -1607,8 +1597,7 @@

                  Algorithm

                10. 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 processing mode, to `json-ld-1.1`, if not already set.
                11. + error and abort processing if processing mode is `json-ld-1.0`.
                12. Set the container mapping of definition to container.
                13. If container mapping is `@type`: @@ -1626,8 +1615,7 @@

                  Algorithm

                14. 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. - Set processing mode, to `json-ld-1.1`, if not already set.
                15. + has been detected and processing is aborted.
                16. Initialize index to the value associated with the @index entry, which MUST a string expanding to an absolute IRI. Otherwise, an @@ -1640,8 +1628,7 @@

                  Algorithm

                  1. If processing mode is `json-ld-1.0`, an invalid term definition - has been detected and processing is aborted. - Set processing mode, to `json-ld-1.1`, if not already set.
                  2. + has been detected and processing is aborted.
                  3. Initialize context to the value associated with the @context entry, which is treated as a local context.
                  4. Invoke the Context Processing algorithm @@ -1689,8 +1676,7 @@

                    Algorithm

                    1. If processing mode is `json-ld-1.0`, an invalid term definition - has been detected and processing is aborted. - Set processing mode, to `json-ld-1.1`, if not already set.
                    2. + has been detected and processing is aborted.
                    3. Initialize nest value in definition to the value associated with the @nest entry, which MUST be a string and MUST NOT be a keyword other than @nest. Otherwise, an @@ -1703,8 +1689,7 @@

                      Algorithm

                    4. 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. - Set processing mode, to `json-ld-1.1`, if not already set.
                    5. + has been detected and processing is aborted.
                    6. Initialize the prefix flag to the value associated with the @prefix entry, which MUST be a boolean. Otherwise, an invalid @prefix value @@ -2383,8 +2368,7 @@

                      Algorithm

                      a colliding keywords error has been detected and processing is aborted.
                    7. If result already has an expanded property entry, - for `@included` or `@type`. - Set processing mode, to `json-ld-1.1`, if not already set.
                    8. + for `@included` or `@type`.
                    9. If expanded property is @id and value is not a string, an invalid @id value @@ -2435,8 +2419,7 @@

                      Algorithm

                    10. If expanded property is `@included`:
                      1. If processing mode is `json-ld-1.0`, - continue with the next key from element. - Set processing mode, to `json-ld-1.1`, if not already set.
                      2. + continue with the next key from element.
                      3. Set expanded value to the result of using this algorithm recursively passing active context, active property, value for element, @@ -2456,8 +2439,7 @@

                        Algorithm

                        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. - Set processing mode, to `json-ld-1.1`, if not already set.
                      4. + error has been detected and processing is aborted.
                      5. Otherwise, if value is not a scalar or null, an invalid value object value error has been detected and processing is aborted.
                      6. @@ -2493,8 +2475,7 @@

                        Algorithm

                      7. If expanded property is @direction:
                        1. If processing mode is `json-ld-1.0`, - continue with the next key from element. - Otherwise, set processing mode, to `json-ld-1.1`, if not already set.
                        2. + continue with the next key from element.
                        3. If value is neither `"ltr"` nor `"rtl"`, an invalid base direction error has been detected and processing is aborted.
                        4. @@ -2579,7 +2560,6 @@

                          Algorithm

                        5. If expanded property is @nest, add key to nests, initializing it to an empty array, if necessary. - Set processing mode, to `json-ld-1.1`, if not already set. Continue with the next key from element.
                        6. When the {{JsonLdOptions/frameExpansion}} flag is set, if expanded property is any other @@ -2993,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`.

                        7. + would to restrict looking at the prefix flag if + the processing mode is `json-ld-1.0`.

                        8. If value has the form of an absolute IRI, return value.
                        @@ -4005,11 +3985,11 @@

                        Algorithm

                        be the last container mapping value to be checked as it is the most generic.
                      8. - 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.
                      9. - 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.
                      10. If type/language value is null, set it to @@ -5323,7 +5303,6 @@

                        Algorithm

                        set converted value to the result of turning the lexical value of value into the JSON-LD internal representation, and set type to @json. - Set processing mode, to `json-ld-1.1`, if not already set. If the lexical value of value is not valid JSON according to the JSON Grammar [[RFC8259]], an invalid JSON literal @@ -6725,9 +6704,7 @@

                        JsonLdErrorCode

                        other than for testing considerations. Language tags that are not valid according to [[BCP47]] are rejected.
                      11. The processing mode is now implicitly `json-ld-1.1`, unless set - explicitly to `json-ld-1.0`. Processing mode is wired to `json-ld-1.1` - when the first JSON-LD 1.1 specific feature is encountered, and it is - not set explicilty.
                      12. + explicitly to `json-ld-1.0`.