Nodes within free-floating lists are removed with the list
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Sun, 17 Feb 2013 12:40:06 +0100
changeset 1282 884231056eb4
parent 1281 f488d0be05f7
child 1283 66a38a8f9b45
Nodes within free-floating lists are removed with the list

See discussion at https://github.com/json-ld/json-ld.org/commit/614f69b8de0f9b9709cdd599c86632d3844b685e#commitcomment-2606111
test-suite/tests/expand-0047-in.jsonld
test-suite/tests/expand-manifest.jsonld
--- a/test-suite/tests/expand-0047-in.jsonld	Fri Feb 15 16:38:30 2013 -0500
+++ b/test-suite/tests/expand-0047-in.jsonld	Sun Feb 17 12:40:06 2013 +0100
@@ -17,7 +17,11 @@
         },
         {
             "@list": [
-                "lists are removed even though they represent an invisible linked structure, they have no real meaning"
+                "lists are removed even though they represent an invisible linked structure, they have no real meaning",
+                {
+                    "@id": "http://example.com/node-in-free-floating-list",
+                    "property": "everything inside a free-floating list is removed with the list; also nodes with properties"
+                }
             ]
         }
     ]
--- a/test-suite/tests/expand-manifest.jsonld	Fri Feb 15 16:38:30 2013 -0500
+++ b/test-suite/tests/expand-manifest.jsonld	Sun Feb 17 12:40:06 2013 +0100
@@ -238,7 +238,7 @@
       "expect": "expand-0046-out.jsonld"
     }, {
       "@type": ["test:TestCase", "jld:ExpandTest"],
-      "name": "Free-floating values in sets are removed, free-floating lists are kept",
+      "name": "Free-floating values in sets are removed, free-floating lists are removed completely",
       "input": "expand-0047-in.jsonld",
       "expect": "expand-0047-out.jsonld"
     }, {