Fixed syntax of the examples in section "Default Language".
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Mon, 23 Jan 2012 21:52:23 +0800
changeset 359 a3445a892a67
parent 358 69113cc66f9b
child 360 0e23aa41bb4e
child 361 d20e6e5f136c
Fixed syntax of the examples in section "Default Language".
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-syntax/index.html	Mon Jan 23 20:47:56 2012 +0800
+++ b/spec/latest/json-ld-syntax/index.html	Mon Jan 23 21:52:23 2012 +0800
@@ -1475,13 +1475,12 @@
 <pre class="example" data-transform="updateExample">
 <!--
 {
-...
+  ...
   "name":
-  {
+  ****{
     "@value": "花澄",
     "@language": "ja"
-  }
-...
+  }****
 }
 -->
 </pre>
@@ -1493,14 +1492,13 @@
 <pre class="example" data-transform="updateExample">
 <!--
 {
-  ****"@context:"
+  ****"@context":
   {
+    ...
     "@language": "ja"
   },****
-...
-  "name": ****"花澄"****
+  "name": ****"花澄"****,
   "occupation": ****"科学者"****
-...
 }
 -->
 </pre>
@@ -1515,18 +1513,17 @@
 <pre class="example" data-transform="updateExample">
 <!--
 {
-  "@context:"
+  "@context":
   {
-     "@language": "ja"
+    ...
+    "@language": "ja"
   },
-...
-  "name": "花澄"
-  "occupation": ****
-  {
+  "name": "花澄",
+  "occupation":
+  ****{
     "@value": "Scientist",
     "@language": "en"
   }****
-...
 }
 -->
 </pre>
@@ -1538,17 +1535,16 @@
 <pre class="example" data-transform="updateExample">
 <!--
 {
-  "@context:"
+  "@context":
   {
-     "@language": "ja"
+    ...
+    "@language": "ja"
   },
-...
-  "name": "花澄"
+  "name": "花澄",
   "occupation": ****
   {
     "@value": "Ninja"
   }****
-...
 }
 -->
 </pre>