Enhanced IRI Expansion algorithm by elaborating the preconditions of two cases.
--- a/spec/latest/json-ld-api/index.html Fri Oct 28 17:14:09 2011 -0400
+++ b/spec/latest/json-ld-api/index.html Mon Oct 31 23:29:58 2011 +0800
@@ -892,10 +892,11 @@
<li>If the <tref>active context</tref> contains a term mapping for <em>prefix</em>, generate an IRI
by prepending the mapped prefix to the (possibly empty) suffix using textual concatenation. Note that an empty
suffix and no suffix (meaning the value contains no ':' string at all) are treated equivalently.</li>
- <li>If the IRI being processed is for a property (i.e., a key's value in a <tref>JSON object</tref>, or a
- value in a <code>@coerce</code> mapping) and the active context has a <code>@vocab</code> mapping,
- join the mapped value to the suffix using textual concatenation.</li>
- <li>If the IRI being processed is for a subject or object (i.e., not a property) and the active context has a <code>@base</code> mapping,
+ <li>If the IRI being processed is represented as a <em>term</em> (or has an empty <em>prefix</em>) and is for a
+ property (i.e., a key's value in a <tref>JSON object</tref>, or a value in a <code>@coerce</code> mapping) and
+ the active context has a <code>@vocab</code> mapping, join the mapped value to the suffix using textual concatenation.</li>
+ <li>If the IRI being processed is represented as a <em>term</em> (or has an empty <em>prefix</em>) and is for
+ a subject or object (i.e., not a property) and the active context has a <code>@base</code> mapping,
join the mapped value to the suffix using the method described in [[!RFC3986]].</li>
<li>Otherwise, use the value directly as an IRI.</li>
</ol>
@@ -2857,4 +2858,4 @@
</section>
</body>
-</html>
+</html>
\ No newline at end of file