Include scalar case. This addresses #212.
authorDave Longley <dlongley@digitalbazaar.com>
Thu, 04 Apr 2013 16:16:10 -0400
changeset 1546 b08a2b2e4502
parent 1545 4679bc61b5a7
child 1547 81563d0565de
Include scalar case. This addresses #212.
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Thu Apr 04 22:10:05 2013 +0200
+++ b/spec/latest/json-ld-api/index.html	Thu Apr 04 16:16:10 2013 -0400
@@ -3031,7 +3031,8 @@
       <h3>Overview</h3>
 
       <p>Two flattened values are considered equivalent if they are
-        equivalent <tref title="value object">value objects</tref>,
+        equal <tref title="scalar">scalars</tref>, equivalent
+        <tref title="value object">value objects</tref>,
         they are both <tref title="JSON object">JSON objects</tref> with
         equivalent key-pairs for the key <code>@id</code>, or they are both
         <tref title="list object">list objects</tref> with equivalent
@@ -3048,6 +3049,9 @@
         if the values are equivalent and <tref>false</tref> if not.</p>
 
       <ol class="algorithm">
+        <li>If <i>v1</i> and <i>v2</i> are equal
+          <tref title="scalar">scalars</tref>, then return
+          <tref>true</tref>.</li>
         <li>If <i>v1</i> and <i>v2</i> are both
           <tref title="value object">value objects</tref>:
           <ol class="algorithm">