Cover case in fromRDF where the object of an rdf:type is a literal.
This addresses issue #193
--- a/spec/latest/json-ld-api/index.html Fri Nov 09 17:15:51 2012 -0800
+++ b/spec/latest/json-ld-api/index.html Fri Nov 09 17:22:16 2012 -0800
@@ -2240,7 +2240,7 @@
<em>subject</em>, initializing it to a new
<tref>JSON object</tref> with key/value pair of <code>@id</code> and
<em>subject</em> represented in <tref>expanded IRI form</tref> if necessary.</li>
- <li>If <em>property</em> is <code>rdf:type</code> and the
+ <li>If <em>property</em> is <code>rdf:type</code>, <em>object</em> is not a <tref>literal</tref>, and the
<code class="idlMemberName"><a href="#widl-JsonLdOptions-useRdfType">useRdfType</a></code>
option is not present or <tref>false</tref>:
<ol class="algorithm">
@@ -2249,7 +2249,7 @@
</ol>
</li>
- <li>If <em>object</em> is a <tref>typed literal</tref> and the
+ <li>Otherwise, if <em>object</em> is a <tref>typed literal</tref> and the
<code class="idlMemberName"><a href="#widl-JsonLdOptions-useNativeTypes">useNativeTypes</a></code>
option is set to <tref>true</tref>:
<ol class="algorithm">