From 8ec1a87a52f106b826636c0e7455817ae28168b6 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 20 Nov 2019 13:52:41 -0800 Subject: [PATCH 1/3] * Remove pointless step in expansion algorithm. Fixes #213. --- index.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.html b/index.html index bae136ab..cfd26ce4 100644 --- a/index.html +++ b/index.html @@ -2483,8 +2483,6 @@

Algorithm

(unless processing mode is `json-ld-1.0`), a colliding keywords error has been detected and processing is aborted. -
  • If result already has an expanded property entry, - for `@included` or `@type`.
  • If expanded property is @id:
    1. If value is not a string, an From 19b4ef5884fff2ccfefbcffa346f5e7f726cfd99 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 20 Nov 2019 13:55:39 -0800 Subject: [PATCH 2/3] * Add missing hyphen to "property-scoped context" variable in expansion algorithm. Fixes #214. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index cfd26ce4..8d87ea08 100644 --- a/index.html +++ b/index.html @@ -2375,7 +2375,7 @@

      Algorithm

    2. If active property is @default, initialize the {{JsonLdOptions/frameExpansion}} flag to false.
    3. If active property has a term definition in active context - with a local context, initialize property scoped context to that local context.
    4. + with a local context, initialize property-scoped context to that local context.
    5. If element is a scalar,
      1. If active property is null or @graph, From a3a664e63d94f70461c413d9d50c2b967ee3e322 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 20 Nov 2019 14:01:39 -0800 Subject: [PATCH 3/3] Clarify when input does not have `@type` when setting "input type" variable. Fixes #215. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 8d87ea08..7c6ae21a 100644 --- a/index.html +++ b/index.html @@ -2458,7 +2458,7 @@

        Algorithm

      2. Initialize two empty maps, result and nests. Initialize input type to the last value of the first entry in element - expanding to @type, ordering entries lexicographically by key. + expanding to @type (if any), ordering entries lexicographically by key.
      3. For each key and value in element,