Drop free-floating lists.
authorDave Longley <dlongley@digitalbazaar.com>
Fri, 15 Feb 2013 14:16:26 -0500
changeset 1276 aa59c317a264
parent 1275 c71d57391110
child 1277 f34f077efba0
Drop free-floating lists.
spec/latest/json-ld-api/index.html
test-suite/tests/compact-0051-out.jsonld
test-suite/tests/compact-0052-out.jsonld
test-suite/tests/expand-0047-in.jsonld
test-suite/tests/expand-0047-out.jsonld
test-suite/tests/flatten-0041-in.jsonld
test-suite/tests/flatten-0041-out.jsonld
--- a/spec/latest/json-ld-api/index.html	Fri Feb 15 14:14:42 2013 -0500
+++ b/spec/latest/json-ld-api/index.html	Fri Feb 15 14:16:26 2013 -0500
@@ -1726,8 +1726,8 @@
             <tref>null</tref>.
           <li>
             Otherwise, if <em>result</em>'s keys are only keywords and none
-            of the keys are <code>@graph</code>, <code>@type</code>, or
-            <code>@list</code> then set <em>result</em> to <tref>null</tref>.
+            of the keys are <code>@graph</code> or <code>@type</code> then
+            set <em>result</em> to <tref>null</tref>.
           </li>
         </ol>
       </li>
--- a/test-suite/tests/compact-0051-out.jsonld	Fri Feb 15 14:14:42 2013 -0500
+++ b/test-suite/tests/compact-0051-out.jsonld	Fri Feb 15 14:16:26 2013 -0500
@@ -1,3 +1,1 @@
-{
-  "@list": [1]
-}
+{}
\ No newline at end of file
--- a/test-suite/tests/compact-0052-out.jsonld	Fri Feb 15 14:14:42 2013 -0500
+++ b/test-suite/tests/compact-0052-out.jsonld	Fri Feb 15 14:16:26 2013 -0500
@@ -1,6 +1,5 @@
 {
   "@context": {
     "graph": "@graph"
-  },
-  "@list": [1]
+  }
 }
--- a/test-suite/tests/expand-0047-in.jsonld	Fri Feb 15 14:14:42 2013 -0500
+++ b/test-suite/tests/expand-0047-in.jsonld	Fri Feb 15 14:16:26 2013 -0500
@@ -17,7 +17,7 @@
         },
         {
             "@list": [
-                "lists are never removed as they represent an invisible linked structure"
+                "lists are removed even though they represent an invisible linked structure, they have no real meaning"
             ]
         }
     ]
--- a/test-suite/tests/expand-0047-out.jsonld	Fri Feb 15 14:14:42 2013 -0500
+++ b/test-suite/tests/expand-0047-out.jsonld	Fri Feb 15 14:16:26 2013 -0500
@@ -6,10 +6,5 @@
                 "@value": "nodes with properties are not removed"
             }
         ]
-    },
-    {
-        "@list": [
-            { "@value": "lists are never removed as they represent an invisible linked structure" }
-        ]
     }
 ]
--- a/test-suite/tests/flatten-0041-in.jsonld	Fri Feb 15 14:14:42 2013 -0500
+++ b/test-suite/tests/flatten-0041-in.jsonld	Fri Feb 15 14:16:26 2013 -0500
@@ -17,7 +17,7 @@
         },
         {
             "@list": [
-                "lists are never removed as they represent an invisible linked structure"
+                "lists are removed even though they represent an invisible linked structure, they have no real meaning"
             ]
         }
     ]
--- a/test-suite/tests/flatten-0041-out.jsonld	Fri Feb 15 14:14:42 2013 -0500
+++ b/test-suite/tests/flatten-0041-out.jsonld	Fri Feb 15 14:16:26 2013 -0500
@@ -1,10 +1,5 @@
 [
     {
-        "@list": [
-            { "@value": "lists are never removed as they represent an invisible linked structure" }
-        ]
-    },
-    {
         "@id": "http://example.com/node",
         "http://example.com/property": [
             {