Remove ambiguity from term rank algorithm (thanks to @dlongley)
authorGregg Kellogg <gregg@kellogg-assoc.com>
Thu, 19 Apr 2012 16:53:28 -0700
changeset 543 22e0f5af3f54
parent 542 442ba54519b3
child 544 d78f856fffca
Remove ambiguity from term rank algorithm (thanks to @dlongley)
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Thu Apr 19 12:56:01 2012 -0700
+++ b/spec/latest/json-ld-api/index.html	Thu Apr 19 16:53:28 2012 -0700
@@ -1186,9 +1186,10 @@
         coersion and no <code>@language</code>, <tref>term rank</tref> is 
         <code>1</code>, otherwise <code>0</code>.</li>
       <li>Otherwise, if <em>value</em> has a <code>@language</code> property matching a
-        <code>@language</code> definition for <em>term</em> or 
+        <code>@language</code> definition for <em>term</em> (or 
+        <em>term</em> has no <code>@type</code> or <code>@language</code> definition and
         <code>@language</code> in the <tref>active context</tref> matches the 
-        <em>value</em> <code>@language</code>, <tref>term rank</tref> is 
+        <em>value</em> <code>@language</code>), <tref>term rank</tref> is 
         <code>3</code>, otherwise if <em>term</em> has no <code>@type</code> 
         coersion and no <code>@language</code>, <tref>term rank</tref> is 
         <code>1</code>, otherwise <code>0</code>.</li>