Remove legacy example with automatic typing in syntax spec
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Fri, 15 Jun 2012 18:06:18 +0200
changeset 725 b0ee107cc36e
parent 724 57d53c7e6bdd
child 726 a55f7c5f185d
Remove legacy example with automatic typing in syntax spec
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-syntax/index.html	Fri Jun 15 17:44:59 2012 +0200
+++ b/spec/latest/json-ld-syntax/index.html	Fri Jun 15 18:06:18 2012 +0200
@@ -1250,14 +1250,13 @@
   A value with an associated type, also known as a
   <tdef>typed value</tdef>, is indicated by associating a value with
   an <tref>IRI</tref> which indicates the value's type. Typed values may be
-  expressed in JSON-LD in three ways:
+  expressed in JSON-LD in two ways:
 </p>
 
 <ol>
-  <li>By utilizing the <code>@type</code> <tref>keyword</tref> when defining a <tref>term</tref> within a
-    <code>@context</code> section.</li>
+  <li>By utilizing the <code>@type</code> <tref>keyword</tref> when defining
+    a <tref>term</tref> within a <code>@context</code> section.</li>
   <li>By utilizing the expanded form for specifying objects.</li>
-  <li>By using a native JSON type.</li>
 </ol>
 
 <p>The first example uses the <code>@type</code> keyword to associate a
@@ -1313,37 +1312,6 @@
 <code>2010-05-29T14:17:39+02:00</code> and the type of
 <code>http://www.w3.org/2001/XMLSchema#dateTime</code>.</p>
 
-<p>The third example uses a built-in native JSON type, a
-  <tref>number</tref>, to express a type:</p>
-
-<pre class="example" data-transform="updateExample">
-<!--
-{
-...
-  "@id": "http://example.org/people#joebob",
-  "age": ****31****
-...
-}
--->
-</pre>
-
-<p>The example above is really just a shorthand for the following:</p>
-
-<pre class="example" data-transform="updateExample">
-<!--
-{
-...
-  "@id": "http://example.org/people#joebob",
-  "age":
-  ****{
-    "@value": "31",
-    "@type": "http://www.w3.org/2001/XMLSchema#integer"
-  }****
-...
-}
--->
-</pre>
-
 <p class="note">
   The <code>@type</code> <tref>keyword</tref> is also used to associate a type with
   a <tref>subject</tref>. Although the same keyword is used in both places,