Transform iris to relative iris when compacting; clean up parameters.
--- a/spec/latest/json-ld-api/index.html Fri Feb 15 01:01:25 2013 -0500
+++ b/spec/latest/json-ld-api/index.html Fri Feb 15 01:07:45 2013 -0500
@@ -2857,7 +2857,8 @@
to use. If there is no appropriate <tref>compact IRI</tref>, then
the <tref title="active context">active context's</tref>
<tref>vocabulary mapping</tref> is used. Finally, if the <tref>IRI</tref>
-still could not be compacted, we simply return it as is.
+still could not be compacted, transform it to a <tref>relative IRI</tref>
+using the document's base <tref>IRI</tref>.
</p>
</section>
@@ -3131,8 +3132,8 @@
</ol>
</li>
<li>
- There are no <tref>compaction</tref> options for <em>iri</em> so
- return <em>iri</em> as is.
+ Finally, transform <em>iri</em> to a <tref>relative IRI</tref> using
+ the document's base <tref>IRI</tref>.
</li>
</ol>
@@ -3767,8 +3768,7 @@
of using the <a href="#iri-compaction">IRI compaction</a>
algorithm, passing <tref>active context</tref>, the value associated
with the <code>@type</code> key in <em>value</em> for <em>iri</em>,
- <tref>true</tref> for <em>vocabRelative</em>, and
- <tref>true</tref> for <em>documentRelative</em>.
+ and <tref>true</tref> for <em>vocabRelative</em>.
</li>
<li>
Otherwise, if <em>value</em> contains the key <code>@language</code>,
@@ -3802,11 +3802,10 @@
Initialize <em>term</em> to the result of using the
<a href="#iri-compaction">IRI compaction</a> algorithm,
passing <tref>active context</tref>, the value associated with
- the key <code>@id</code> in <em>value</em> for <em>iri</em>,
+ the key <code>@id</code> in <em>value</em> for <em>iri</em>, and
<tref>true</tref> for <em>vocabRelative</em> if
<tref>active property</tref> has a <tref>type mapping</tref> in the
- <tref>active context</tref> that is equal to <code>@vocab</code>,
- and <tref>true</tref> for <em>documentRelative</em>.
+ <tref>active context</tref> that is equal to <code>@vocab</code>.
</li>
<li>
If <tref>active property</tref> has a <tref>type mapping</tref> in