Ensure that @reverse is not added twice to "preferred values"
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Mon, 11 Mar 2013 17:32:24 +0100
changeset 1402 3246f890906e
parent 1401 91ae1417d007
child 1403 e8bc0b737650
Ensure that @reverse is not added twice to "preferred values"

... in Term Selection
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Mon Mar 11 17:25:00 2013 +0100
+++ b/spec/latest/json-ld-api/index.html	Mon Mar 11 17:32:24 2013 +0100
@@ -2752,13 +2752,13 @@
           This <tref>array</tref> will indicate, in order, the preferred values for
           a <tref title="term">term's</tref> <tref>type mapping</tref> or
           <tref>language mapping</tref>.</li>
-        <li>If <em>typeOrLanguageValue</em> is <code>@reverse</code>, append
-          <code>@reverse</code> to <em>preferred values</em>.</li>
 <!-- FIXME: This is better done in IRI compaction, this way we don't need to pass around the active context etc. -->
         <li>If <em>typeOrLanguageValue</em> is <code>@id</code> or <code>@reverse</code>
           and <em>value</em> is a <tref>JSON object</tref> containing the key
           <code>@id</code>:
           <ol class="algorithm">
+            <li>If <em>typeOrLanguageValue</em> is <code>@reverse</code>, append
+              <code>@reverse</code> to <em>preferred values</em>.</li>
             <li>If the result of using the
               <a href="#iri-compaction">IRI compaction algorithm</a>,
               passing <tref>active context</tref>, <tref>inverse context</tref>,