Fix some problems in the type indexing step of the Connect spec.
--- a/spec/latest/json-ld-connect/index.html Tue Oct 02 02:34:58 2012 +0200
+++ b/spec/latest/json-ld-connect/index.html Tue Oct 02 12:02:08 2012 +0200
@@ -304,7 +304,7 @@
</dd>
<dt><tdef>map of result objects</tdef></dt>
<dd>
- a map of resulting <tref>node definition</tref>s that is the result of
+ A map of resulting <tref>node definition</tref>s that is the result of
this algorithm.
</dd>
<dt><tdef>type map</tdef></dt>
@@ -313,7 +313,7 @@
</dd>
<dt><tdef>reverse key map</tdef></dt>
<dd>
- a map of keys with arrays of subjects that link to the current node using
+ A map of keys with arrays of subjects that link to the current node using
that key.
</dd>
<dt><tdef>connected output</tdef></dt>
@@ -352,8 +352,10 @@
under that key to the <code>idMap</code>.
</li>
<li>
- Else if the resolved key meaning is <code>@type</code>, add the result
- object under that key to the <code>typeMap</code>.
+ If the resolved key meaning is <code>@type</code>, and the current
+ object has no key whose resolved meaning is <code>@value</code>, get or
+ add an array for the type value in the <code>typeMap</code>. Append the
+ result object to that array.
</li>
<li>
If the value is an object, create a new value by using the result of