Fix expand-0035
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Tue, 11 Dec 2012 13:30:29 +0100
changeset 1023 0b28a26bf5c8
parent 1022 5da4243f8769
child 1024 914dad60667d
Fix expand-0035

Not only properties of language maps but also properties of generic objects are sorted before being expanded.
test-suite/tests/expand-0035-out.jsonld
--- a/test-suite/tests/expand-0035-out.jsonld	Tue Dec 11 13:02:54 2012 +0100
+++ b/test-suite/tests/expand-0035-out.jsonld	Tue Dec 11 13:30:29 2012 +0100
@@ -2,6 +2,12 @@
    "@id": "http://example.com/queen",
    "http://example.com/vocab/label": [
       {
+         "@value": "Il re",
+         "@language": "it"
+      }, {
+         "@value": "The king",
+         "@language": "en"
+      }, {
          "@value": "Die K├Ânigin",
          "@language": "de"
       }, {
@@ -10,12 +16,6 @@
       }, {
          "@value": "The Queen",
          "@language": "en"
-      }, {
-         "@value": "Il re",
-         "@language": "it"
-      }, {
-         "@value": "The king",
-         "@language": "en"
       }
    ]
 }]