Specified that setting @language to null in a local context removes it from the active context.
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Wed, 22 Feb 2012 22:41:32 +0800
changeset 372 412ab3694cc7
parent 371 564ff002daea
child 373 f3b14a589de1
Specified that setting @language to null in a local context removes it from the active context.
Closes #64.
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-syntax/index.html	Wed Feb 22 22:26:27 2012 +0800
+++ b/spec/latest/json-ld-syntax/index.html	Wed Feb 22 22:41:32 2012 +0800
@@ -1582,6 +1582,30 @@
 it is used in the <tref>context</tref>.
 </p>
 
+<p>To clear the default language for a subtree, <code>@language</code> can
+be set to <code>null</code> in a <tref>local context</tref> as follows:</p>
+
+<pre class="example" data-transform="updateExample">
+<!--
+{
+  "@context":
+  {
+    ...
+    "@language": "ja"
+  },
+  "name": "花澄",
+  "details":
+  {
+****    "@context":
+    {
+      "@language": null
+    },****
+    "occupation": "Ninja"
+  }
+}
+-->
+</pre>
+
 </section>
 
 <section>