Move steps, fix typos.
authorDave Longley <dlongley@digitalbazaar.com>
Mon, 11 Feb 2013 16:53:59 -0500
changeset 1223 3c6b1e40d44c
parent 1222 f33b1177817d
child 1224 fe73f1d5f48d
Move steps, fix typos.
spec/latest/json-ld-api/alternate2.html
--- a/spec/latest/json-ld-api/alternate2.html	Mon Feb 11 16:15:31 2013 -0500
+++ b/spec/latest/json-ld-api/alternate2.html	Mon Feb 11 16:53:59 2013 -0500
@@ -3331,6 +3331,12 @@
         so continue to the next <tref>term</tref>.
       </li>
       <li>
+        Initialize <em>container</em> to <code>@none</code>. If there
+        is a <tref>container mapping</tref> in
+        <tref>term definition</tref>, then set <em>container</em> to
+        its associated value.
+      </li>
+      <li>
         Initialize <em>iris</em> to the value of the <tref>IRI mapping</tref>
         for the <tref>term definition</tref>. If <em>iris</em> is not an
         <tref>array</tref>, then set it to an <tref>array</tref> containing
@@ -3349,12 +3355,6 @@
             the <em>iri</em> key in <em>result</em>.
           </li>
           <li>
-            Initialize <em>container</em> to <code>@none</code>. If there
-            is a <tref>container mapping</tref> in
-            <tref>term definition</tref>, then set <em>container</em> to
-            its associated value.
-          </li>
-          <li>
             If <em>container</em> is not a key in <em>container map</em>,
             then initialize <em>typeOrLanguage map</em> to a new
             <tref>JSON object</tref>. Add two key-value pairs to
@@ -3621,7 +3621,7 @@
   </li>
   <li>
     If <em>typeOrLanguageValue</em> is <tref>null</tref>, set it to
-    <code>@null</code>. This is the key underwhich <tref>null</tref> values
+    <code>@null</code>. This is the key under which <tref>null</tref> values
     are stored in the <tref>inverse context</tref> <em>entry</em>.
   </li>
   <li>
@@ -3860,7 +3860,7 @@
     Otherwise, <em>value</em> must contain the single key <code>@id</code>.
     Initialize <em>expanded property</em> to the result of using the
     <a href="#iri-expansion">IRI Expansion</a> algorithm, passing
-    passing <tref>active context</tref> and <em>value</em>.
+    <tref>active context</tref> and <em>value</em>.
   </li>
   <li>
     Initialize <em>term</em> to the result of using the