Remove unnecessary nesting in IRI expansion algorithm
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Sun, 17 Feb 2013 15:15:21 +0100
changeset 1288 9763f8bb744d
parent 1287 bb5e3e3ac598
child 1289 9812f08f613f
Remove unnecessary nesting in IRI expansion algorithm
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Sun Feb 17 15:13:12 2013 +0100
+++ b/spec/latest/json-ld-api/index.html	Sun Feb 17 15:15:21 2013 +0100
@@ -1907,19 +1907,15 @@
         </ol>
       </li>
       <li>If <em>result</em> is <tref>null</tref>, set it to <em>value</em>.</li>
-      <li>If <em>result</em> contains a colon (<code>:</code>):
-        <ol class="algorithm">
-          <li>If <tref>local context</tref> equals <tref>null</tref> and
-            <em>result</em> begins with an underscore and colon
-            (<code>_:</code>) then <em>result</em> is a
-            <tref>blank node identifier</tref>. Set <em>result</em> to the
-            result of the
-            <a href="#generate-blank-node-identifier">Generate Blank Node Identifier</a>
-            algorithm, passing <tref>active context</tref> and <em>result</em>
-            for <em>identifier</em>.</li>
-        </ol>
-      </li>
-      <li>Otherwise, if <em>vocabRelative</em> equals <tref>true</tref> and
+      <li>If <tref>local context</tref> equals <tref>null</tref> and <em>result</em>
+        begins with an underscore and colon (<code>_:</code>) then <em>result</em> is a
+        <tref>blank node identifier</tref>. Set <em>result</em> to the
+        result of the
+        <a href="#generate-blank-node-identifier">Generate Blank Node Identifier</a>
+        algorithm, passing <tref>active context</tref> and <em>result</em>
+        for <em>identifier</em>.</li>
+      <li>Otherwise, if <em>result</em> does not contain a colon (<code>:</code>),
+        <em>vocabRelative</em> equals <tref>true</tref>, and
         <tref>active context</tref> has a <tref>vocabulary mapping</tref>,
         then set <em>result</em> to the result of concatenating the
         <tref>vocabulary mapping</tref> with <em>result</em>.</li>