Change expand-0021 to not expand to expanded object form for values in @graph
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Thu, 03 May 2012 23:48:59 +0800
changeset 617 2c41954d107c
parent 616 bc7ec7b11f03
child 618 b069b6961456
Change expand-0021 to not expand to expanded object form for values in @graph

Just as in @id and @type, string values in @graph shouldn't be expanded to the expanded object form.
test-suite/tests/expand-0021-out.jsonld
--- a/test-suite/tests/expand-0021-out.jsonld	Thu May 03 22:39:11 2012 +0800
+++ b/test-suite/tests/expand-0021-out.jsonld	Thu May 03 23:48:59 2012 +0800
@@ -18,7 +18,7 @@
                 "http://purl.org/dc/elements/1.1/description": [ "More fun" ],
                 "http://purl.org/dc/elements/1.1/title": [ "Chapter Two" ]
               },
-              {"@id": "http://example.org/test#chapter3"}
+              "http://example.org/test#chapter3"
             ]
           }
         ]