Add @vocab to the IRI compaction algorithm (before considering Compact IRIs).
authorGregg Kellogg <gregg@kellogg-assoc.com>
Sat, 04 Aug 2012 16:20:06 -0700
changeset 798 66e1d2e87e4e
parent 797 4e9cd38a840a
child 799 7b0928c9cbcf
Add @vocab to the IRI compaction algorithm (before considering Compact IRIs).
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Sat Aug 04 15:26:17 2012 -0700
+++ b/spec/latest/json-ld-api/index.html	Sat Aug 04 16:20:06 2012 -0700
@@ -1352,6 +1352,11 @@
           </li>
         </ol>
       </li>
+      <li>If <em>terms</em> is empty, and the <tref>active context</tref> has a <code>@vocab</code>
+        which is a prefix of <em>iri</em> where
+        the resulting <tref>relative IRI</tref> is not a <tref>term</tref> in the
+        <tref>active context</tref>. The resulting <tref>relative IRI</tref> is the
+        unmatched part of <em>iri</em>.</li>
       <li>If <em>terms</em> is empty, add a <tref>compact IRI</tref> representation of <em>iri</em>
         for each <tref>term</tref> in the <tref>active context</tref> which
         maps to an <tref>IRI</tref> which is a prefix for <em>iri</em> where