Must pass true for vocab when creating keyword aliases in compaction algorithm.
--- a/spec/latest/json-ld-api/index.html Thu May 09 20:28:38 2013 +0200
+++ b/spec/latest/json-ld-api/index.html Thu May 09 14:23:19 2013 -0700
@@ -1948,8 +1948,9 @@
</li>
<li>Initialize <i>alias</i> to the result of using the
<a href="#iri-compaction">IRI Compaction algorithm</a>,
- passing <tref>active context</tref>, <tref>inverse context</tref>, and
- <i>expanded property</i> for <i>iri</i>.</li>
+ passing <tref>active context</tref>, <tref>inverse context</tref>,
+ <i>expanded property</i> for <i>iri</i>,
+ and <tref>true</tref> for <i>vocab</i>.</li>
<li>Add a member <i>alias</i> to <i>result</i> whose value is
set to <i>compacted value</i> and continue to the next
<i>expanded property</i>.</li>
@@ -1992,8 +1993,9 @@
<ol class="algorithm">
<li>Initialize <i>alias</i> to the result of using the
<a href="#iri-compaction">IRI Compaction algorithm</a>,
- passing <tref>active context</tref>, <tref>inverse context</tref>, and
- <code>@reverse</code> for <i>iri</i>.</li>
+ passing <tref>active context</tref>, <tref>inverse context</tref>,
+ <code>@reverse</code> for <i>iri</i>,
+ and <tref>true</tref> for <i>vocab</i>.</li>
<li>Set the value of the <i>alias</i> member of <i>result</i> to
<i>compacted value</i> and continue with the next
<i>expanded property</i> from <i>element</i>.</li>
@@ -2011,8 +2013,9 @@
<ol class="algorithm">
<li>Initialize <i>alias</i> to the result of using
the <a href="#iri-compaction">IRI Compaction algorithm</a>,
- passing <tref>active context</tref>, <tref>inverse context</tref>, and
- <i>expanded property</i> for <i>iri</i>.</li>
+ passing <tref>active context</tref>, <tref>inverse context</tref>,
+ <i>expanded property</i> for <i>iri</i>,
+ and <tref>true</tref> for <i>vocab</i>.</li>
<li>Add a member <i>alias</i> to <i>result</i> whose value is
set to <i>expanded value</i> and continue with the next
<i>expanded property</i>.</li>