Remove contradictory statement from grammar
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Wed, 21 Nov 2012 18:10:16 +0100
changeset 965 cc633d0069b1
parent 964 1c47dd0771f8
child 966 f0a9a1fd0be6
Remove contradictory statement from grammar

The statement was:

"An expanded value that contains a @type key is called an expanded typed value. An expanded value that contains a @language key is called an expanded language-tagged string. An expanded value that contains neither the @type key or the @language key **is both** an expanded typed value and an expanded language-tagged string."
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-syntax/index.html	Wed Nov 21 18:00:40 2012 +0100
+++ b/spec/latest/json-ld-syntax/index.html	Wed Nov 21 18:10:16 2012 +0100
@@ -2744,18 +2744,11 @@
   <code>@value</code> key. It MAY also contain a <code>@type</code> or
   a <code>@language</code> key but MUST NOT contain both a <code>@type</code>
   and a <code>@language</code> key. An <tref>expanded value</tref> MUST NOT
-  contain keys other than
-  <code>@value</code>,
-  <code>@language</code>, and
-  <code>@type</code>.</p>
-
-<p>An <tref>expanded value</tref> that contains a <code>@type</code> key is
-  called an <tdef>expanded typed value</tdef>. An <tref>expanded value</tref>
-  that contains a <code>@language</code> key is called an <tdef>expanded
-  language-tagged string</tdef>. An <tref>expanded value</tref> that contains
-  neither the <code>@type</code> key or the <code>@language</code> key is both
-  an <tref>expanded typed value</tref> and an <tref>expanded language-tagged
-  string</tref>.</p>
+  contain keys other than <code>@value</code>, <code>@language</code>, and
+  <code>@type</code>. An <tref>expanded value</tref> that contains a
+  <code>@type</code> key is called an <tdef>expanded typed value</tdef>.
+  An <tref>expanded value</tref> that contains a <code>@language</code> key
+  is called an <tdef>expanded language-tagged string</tdef>.</p>
 
 <p>The value of the <code>@value</code> key MUST be either a
   <tref>string</tref>, <tref>number</tref>, <tref>true</tref>, <tref>false</tref>