Fix typos.
--- a/spec/latest/json-ld-api/index.html Thu Mar 14 11:54:23 2013 -0400
+++ b/spec/latest/json-ld-api/index.html Thu Mar 14 12:08:46 2013 -0400
@@ -1548,7 +1548,7 @@
i.e., properties that are reversed twice, execute for each of its
<i>property</i> and <i>item</i> the following steps:
<ol class="algorithm">
- <li>If <i>result</i> does not have an <i>property</i> member, create
+ <li>If <i>result</i> does not have a <i>property</i> member, create
one and set its value to an empty <tref>array</tref>.</li>
<li>Append <i>item</i> to the value of the <i>property</i> member
of <i>result</i>.</li>
@@ -3211,7 +3211,7 @@
<section>
<h3>Algorithm</h3>
- <p>The <i>nodeMap</i> is represented as an <tref>JSON object</tref>
+ <p>The <i>nodeMap</i> is represented as a <tref>JSON object</tref>
having keys which are node identifiers (<tref title="iri">IRIs</tref> or
<tref title="blank node identifier">blank node identifiers</tref>)
and values are <tref title="node object">Node objects</tref>.</p>
@@ -3413,7 +3413,7 @@
<p>Iterate through each graph in the dataset, converting
<tref title="rdf collection">RDF Collections</tref> into a <tref>list</tref>
- and generating an JSON-LD document in expanded form for all
+ and generating a JSON-LD document in expanded form for all
<tref title="RDF literal">RDF literals</tref>, <tref title="IRI">IRIs</tref>
and <tref title="blank node identifier">blank node identifiers</tref>.</p>
</section>
@@ -3694,7 +3694,7 @@
<tref>IRI</tref> referencing the JSON-LD document to compact.</dd>
<dt>(object or DOMString) context</dt>
<dd>The context to use when compacting the <code>input</code>; either in the
- form of an <tref>JSON object</tref> or as <tref>IRI</tref>.</dd>
+ form of a <tref>JSON object</tref> or as <tref>IRI</tref>.</dd>
<dt>JsonLdCallback callback</dt>
<dd>A callback that is called when processing completed successfully
on the given <code>input</code>, or a fatal error prevented
@@ -3719,7 +3719,7 @@
referencing the JSON-LD document to flatten.</dd>
<dt>(object or DOMString)? context</dt>
<dd>The context to use when compacting the flattened <code>input</code>; either
- in the form of an <tref>JSON object</tref> or as <tref>IRI</tref>. If
+ in the form of a <tref>JSON object</tref> or as <tref>IRI</tref>. If
<tref>null</tref> is passed, the result will not be compacted but kept
in expanded form.</dd>
<dt>JsonLdCallback callback</dt>
@@ -3973,7 +3973,7 @@
i.e., the value was not a <tref>JSON object</tref>.</dd>
<dt>invalid reverse property value</dt>
<dd>An invalid value for a reverse property has been detected. The value of an inverse
- property must be an <tref>node object</tref>.</dd>
+ property must be a <tref>node object</tref>.</dd>
</dl>
</section>
</section> <!-- end of Data Structures -->