--- a/spec/latest/json-ld-api/index.html Thu Feb 28 14:28:37 2013 +0100
+++ b/spec/latest/json-ld-api/index.html Thu Feb 28 15:03:41 2013 +0100
@@ -89,7 +89,14 @@
//]]>
</script>
<style type="text/css">
- .diff { font-weight:bold; color:#0a3; }
+ .diff {
+ font-weight:bold; color:#0a3;
+ }
+ .error a {
+ color: #ff4500;
+ border-bottom: 1px dotted #ff4500;
+ text-decoration: none;
+ }
</style>
</head>
@@ -640,10 +647,12 @@
<dl>
<dt><tdef>keyword</tdef></dt>
<dd>A JSON key that is specific to JSON-LD, specified in the JSON-LD Syntax specification [[!JSON-LD]]
- in the section titled <cite><a href="../json-ld-syntax/#syntax-tokens-and-keywords">Syntax Tokens and Keywords</a></cite>.</dd>
+ in the section titled
+ <cite><a href="../json-ld-syntax/#syntax-tokens-and-keywords">Syntax Tokens and Keywords</a></cite>.</dd>
<dt><tdef>context</tdef></dt>
<dd>A a set of rules for interpreting a JSON-LD document as specified in
- <cite><a href="../json-ld-syntax/#the-context">The Context</a></cite> of the [[JSON-LD]] specification.</dd>
+ <cite><a href="../json-ld-syntax/#the-context">The Context</a></cite> of the
+ [[!JSON-LD]] specification.</dd>
<dt><tdef>JSON-LD document</tdef></dt>
<dd>A <tref>JSON-LD document</tref> is a serialization of a collection of
<tref title="JSON-LD graph">JSON-LD graphs</tref> and comprises exactly one
@@ -654,9 +663,10 @@
<dt><tdef>default graph</tdef></dt>
<dd>The default graph is the only graph in a JSON-LD document which has no <tref>graph name</tref>.</dd>
<dt><tdef>JSON-LD graph</tdef></dt>
- <dd>A labeled directed graph, i.e., a set of <tref title="node">nodes</tref> connected by <tref title="edge">edges</tref>,
- as specified in the <cite><a href="../json-ld-syntax/#data-model">Data Model</a></cite> section of the JSON-LD syntax
- specification [[!JSON-LD]].</dd>
+ <dd>A labeled directed graph, i.e., a set of <tref title="node">nodes</tref>
+ connected by <tref title="edge">edges</tref>,
+ as specified in the <cite><a href="../json-ld-syntax/#data-model">Data Model</a></cite>
+ section of the JSON-LD syntax specification [[!JSON-LD]].</dd>
<dt><tdef>edge</tdef></dt>
<dd>Every <tref>edge</tref> has a direction associated with it and is labeled with
an <tref>IRI</tref> or a <tref>blank node identifier</tref>. Within the JSON-LD syntax
@@ -679,14 +689,16 @@
identifier because it is either ephemeral in nature or does not contain information that needs to be
linked to from outside of the JSON-LD graph.</dd>
<dt><tdef>blank node identifier</tdef></dt>
- <dd>A blank node identifier is a string that can be used as an identifier for a <tref>blank node</tref> within
- the scope of a JSON-LD document. Blank node identifiers begin with <code>_:</code>.</dd>
+ <dd>A blank node identifier is a string that can be used as an identifier for a
+ <tref>blank node</tref> within the scope of a JSON-LD document. Blank node identifiers
+ begin with <code>_:</code>.</dd>
<dt><tdef>JSON-LD value</tdef></dt>
<dd>A <tref>JSON-LD value</tref> is a <tref>string</tref>, a <tref>number</tref>,
<tref>true</tref> or <tref>false</tref>, a <tref>typed value</tref>, or a
<tref>language-tagged string</tref>.</dd>
<dt><tdef>typed value</tdef></dt>
- <dd>A <tref>typed value</tref> consists of a value, which is a string, and a type, which is an <tref>IRI</tref>.</dd>
+ <dd>A <tref>typed value</tref> consists of a value, which is a string, and a type,
+ which is an <tref>IRI</tref>.</dd>
<dt><tdef>language-tagged string</tdef></dt>
<dd>A <tref>language-tagged string</tref> consists of a string and a non-empty language
tag as defined by [[BCP47]]. The language tag must be well-formed according to section
@@ -728,7 +740,8 @@
<dt><tdef>JSON-LD output</tdef></dt>
<dd>The JSON-LD data structure that is produced as output by the algorithm.</dd>
<dt><tdef>term</tdef></dt>
- <dd>A <tref>term</tref> is a short word defined in a context that MAY be expanded to an <tref>IRI</tref></dd>
+ <dd>A <tref>term</tref> is a short word defined in a context that MAY be expanded to
+ an <tref>IRI</tref></dd>
<dt><tdef>compact IRI</tdef></dt>
<dd>A compact IRI is has the form of <tdef>prefix</tdef>:<em>suffix</em> and is used as a way
of expressing an IRI without needing to define separate <tref>term</tref> definitions for
@@ -758,15 +771,20 @@
<dd>A scalar is either a JSON <tref>string</tref>, <tref>number</tref>, <tref>true</tref>,
or <tref>false</tref>.</dd>
<dt><tdef>RDF subject</tdef></dt>
- <dd>A <tref href="http://www.w3.org/TR/rdf11-concepts/#dfn-subject">subject</tref> as specified by [[RDF-CONCEPTS]].</dd>
+ <dd>A <tref href="http://www.w3.org/TR/rdf11-concepts/#dfn-subject">subject</tref>
+ as specified by [[RDF-CONCEPTS]].</dd>
<dt><tdef>RDF predicate</tdef></dt>
- <dd>A <tref href="http://www.w3.org/TR/rdf11-concepts/#dfn-predicate">predicate</tref> as specified by [[RDF-CONCEPTS]].</dd>
+ <dd>A <tref href="http://www.w3.org/TR/rdf11-concepts/#dfn-predicate">predicate</tref>
+ as specified by [[RDF-CONCEPTS]].</dd>
<dt><tdef>RDF object</tdef></dt>
- <dd>An <tref href="http://www.w3.org/TR/rdf11-concepts/#dfn-object">object</tref> as specified by [[RDF-CONCEPTS]].</dd>
+ <dd>An <tref href="http://www.w3.org/TR/rdf11-concepts/#dfn-object">object</tref>
+ as specified by [[RDF-CONCEPTS]].</dd>
<dt><tdef>RDF triple</tdef></dt>
- <dd>A <tref href="http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-triple">triple</tref> as specified by [[RDF-CONCEPTS]].</dd>
+ <dd>A <tref href="http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-triple">triple</tref>
+ as specified by [[RDF-CONCEPTS]].</dd>
<dt><tdef>RDF dataset</tdef></dt>
- <dd>A <tref href="http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-dataset">dataset</tref> as specified by [[RDF-CONCEPTS]] representing a collection of
+ <dd>A <tref href="http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-dataset">dataset</tref>
+ as specified by [[RDF-CONCEPTS]] representing a collection of
<tref href="http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-graph">RDF graphs</tref>.</dd>
</dl>
</section> <!-- end of Algorithm Terms section -->
@@ -883,11 +901,13 @@
<tref>false</tref> for <em>vocabRelative</em> and <tref>true</tref> for
<em>documentRelative</em>.</li>
<li>If <em>context</em> is in the <em>remote contexts</em> array, a
- <code class="error">recursive context inclusion</code> error has been detected;
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.recursive-context-inclusion">recursive context inclusion</a></code>
+ error has been detected;
otherwise, add <em>context</em> to <em>remote contexts</em>.</li>
<li>Dereference <em>context</em>. If the dereferenced document has no
- top-level <tref>JSON object</tref> with an <code>@context</code> member,
- an <code class="error">invalid remote context</code> has been detected; otherwise,
+ top-level <tref>JSON object</tref> with an <code>@context</code> member, an
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-remote-context">invalid remote context</a></code>
+ has been detected; otherwise,
set <em>context</em> to the value of that member.</li>
<li>Set <em>context</em> to the result of recursively calling this algorithm,
passing <tref>active context</tref>, <em>context</em> as <tref>local context</tref>,
@@ -903,8 +923,8 @@
<tref>base IRI</tref> of <em>result</em> to the document's base IRI according section
<cite><a href="http://www.ietf.org/rfc/rfc2396.txt">section 5.1 Establishing a Base URI</a></cite>
of [[!RFC3986]].</li>
- <li>Otherwise, <em>value</em> must be an <tref>absolute IRI</tref>,
- if not, an <code class="error">invalid base IRI</code>
+ <li>Otherwise, <em>value</em> must be an <tref>absolute IRI</tref>, if not, an
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-base-IRI">invalid base IRI</a></code>
error has been detected. Set <em>result</em>'s <tref>base IRI</tref>
to <em>value</em>.</li>
</ol>
@@ -915,8 +935,8 @@
<code>@vocab</code> key.</li>
<li>If <em>value</em> is <tref>null</tref>, then remove
any <tref>vocabulary mapping</tref> from <em>result</em>.</li>
- <li>Otherwise, <em>value</em> must be an <tref>absolute IRI</tref>,
- if not, an <code class="error">invalid vocab mapping</code>
+ <li>Otherwise, <em>value</em> must be an <tref>absolute IRI</tref>, if not, an
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-vocab-mapping">invalid vocab mapping</a></code>
error has been detected. Set <em>result</em>'s
<tref>vocabulary mapping</tref> to <em>value</em>.</li>
</ol>
@@ -927,9 +947,9 @@
<code>@language</code> key.</li>
<li>If <em>value</em> is <tref>null</tref>, then remove
any <tref>default language</tref> from <em>result</em>.</li>
- <li>Otherwise, <em>value</em> MUST be a <tref>string</tref>, if not,
- an <code class="error">invalid default language</code> error
- has been detected. Set <em>result</em>'s
+ <li>Otherwise, <em>value</em> MUST be a <tref>string</tref>, if not, an
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-default-language">invalid default language</a></code>
+ error has been detected. Set <em>result</em>'s
<tref>default language</tref> to lowercased <em>value</em>.</li>
</ol>
</li>
@@ -1000,15 +1020,16 @@
<ol class="algorithm">
<li>If <em>defined</em> contains the key <em>term</em>, then the associated
value MUST be <tref>true</tref>, indicating that the
- <tref>term definition</tref> has already been created, so return.
- Otherwise, a <code class="error">cyclic IRI mapping</code> error has been
- detected.</li>
+ <tref>term definition</tref> has already been created, so return. Otherwise, a
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.cyclic-IRI-mapping">cyclic IRI mapping</a></code>
+ error has been detected.</li>
<li>Set the value associated with <em>defined</em>'s <em>term</em> key to
<tref>false</tref>. This indicates that the <tref>term definition</tref>
is now being created but is not yet complete.</li>
<li>Since <tref title="keyword">keywords</tref> cannot be overridden,
<em>term</em> MUST NOT be a <tref>keyword</tref>. Otherwise, a
- <code class="error">keyword redefinition</code> error has been detected.</li>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.keyword-redefinition">keyword redefinition</a></code>
+ error has been detected.</li>
<li>Remove any existing <tref>term definition</tref> for <em>term</em> in
<tref>active context</tref>.</li>
<li>Initialize <em>value</em> to the value associated with the key
@@ -1029,7 +1050,8 @@
<tref>local context</tref>, and <em>defined</em>.</li>
<li>If <em>value</em> is a <tref>keyword</tref>, then <em>value</em>
MUST NOT be <code>@context</code>, if it is, an
- <code class="error">invalid keyword alias</code> error has been
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-keyword-alias">invalid keyword alias</a></code>
+ error has been
detected. Add <em>term</em> to <tref>active context</tref> as a
<tref>keyword</tref> alias for <em>value</em>. If there is more than
one <tref>keyword</tref> alias for <em>value</em>, then store its
@@ -1041,8 +1063,9 @@
<tref>true</tref>, and return.</li>
</ol>
</li>
- <li>Otherwise, <em>value</em> MUST be a <tref>JSON object</tref>, if not,
- an <code>invalid term definition</code> error has been detected.</li>
+ <li>Otherwise, <em>value</em> MUST be a <tref>JSON object</tref>, if not, an
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-term-definition">invalid term definition</a></code>
+ error has been detected.</li>
<li>Create a new <tref>JSON object</tref>, <em>definition</em>.</li>
<li>If <em>value</em> contains the key <code>@id</code>:
<ol class="algorithm">
@@ -1063,7 +1086,7 @@
<tref>local context</tref>, and <em>defined</em>.</li>
<li><em>iri</em> MUST be a <tref>string</tref> and MUST not be
a <tref>keyword</tref>, otherwise an
- <code class="error">invalid property generator</code>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-property-generator">invalid property generator</a></code>
error has been detected.</li>
<li>Append <em>iri</em> to <em>property generator</em>.</li>
</ol>
@@ -1073,10 +1096,10 @@
<em>property generator</em> lexicographically.</li>
</ol>
</li>
- <li>Otherwise <em>id</em> MUST be a <tref>string</tref>, if not,
- an <code class="error">invalid IRI mapping</code> error has been
- detected. Set the <tref>IRI mapping</tref> for <em>definition</em>
- to the result of using the
+ <li>Otherwise <em>id</em> MUST be a <tref>string</tref>, if not, an
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-IRI-mapping">invalid IRI mapping</a></code>
+ error has been detected. Set the <tref>IRI mapping</tref> for
+ <em>definition</em> to the result of using the
<a href="#iri-expansion">IRI Expansion algorithm</a>, passing
<tref>active context</tref>, <em>id</em> for <em>value</em>,
<tref>true</tref> for <em>vocabRelative</em>,
@@ -1103,16 +1126,16 @@
</li>
<li>Otherwise, <tref>active context</tref> MUST have a
<tref>vocabulary mapping</tref>, if not, an
- <code class="error">invalid IRI mapping</code> error
- been detected. Set the <tref>IRI mapping</tref>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-IRI-mapping">invalid IRI mapping</a></code>
+ error been detected. Set the <tref>IRI mapping</tref>
for <em>definition</em> to the result of concatenating the value
associated with the <tref>vocabulary mapping</tref> and <em>term</em>.</li>
<li>If <em>value</em> contains the key <code>@type</code>:
<ol class="algorithm">
<li>Initialize <em>type</em> to the value associated with the
- <code>@type</code> key, which MUST be a <tref>string</tref>.
- Otherwise, an <code class="error">invalid type mapping</code> error
- has been detected.</li>
+ <code>@type</code> key, which MUST be a <tref>string</tref>. Otherwise, an
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-type-mapping">invalid type mapping</a></code>
+ error has been detected.</li>
<li>If <em>type</em> is not <code>@id</code> then set it to
the result of using the
<a href="#iri-expansion">IRI Expansion algorithm</a>, passing
@@ -1129,7 +1152,7 @@
<code>@container</code> key, which MUST be either:
<code>@list</code>, <code>@set</code>, <code>@index</code>,
or <code>@language</code>. Otherwise, an
- <code class="error">invalid container mapping</code> error
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-container-mapping">invalid container mapping</a></code> error
has been detected.</li>
<li>Set the <tref>container mapping</tref> for <em>definition</em> to
<em>container</em>.</li>
@@ -1141,8 +1164,8 @@
<li>Initialize <em>language</em> to the value associated with the
<code>@language</code> key, which MUST be either <tref>null</tref>
or a <tref>string</tref>. Otherwise, an
- <code class="error">invalid language mapping</code> error has been
- detected.</li>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-language-mapping">invalid language mapping</a></code>
+ error has been detected.</li>
<li>If <em>language</em> is a <tref>string</tref> set it to
lowercased <em>language</em>. Set the <tref>language mapping</tref>
for <em>definition</em> to <em>language</em>.</li>
@@ -1250,7 +1273,7 @@
<tref>active context</tref> MUST NOT have a <tref>term definition</tref>
for <em>value</em> that is a <tref>property generator</tref>.
Otherwise, a
- <code class="error">property generator in term definition</code>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.property-generator-in-term-definition">property generator in term definition</a></code>
error has been detected.</li>
<li>If <em>value</em> has a <tref>null</tref> mapping in
<tref>active context</tref>, then return <tref>null</tref> which
@@ -1314,8 +1337,8 @@
are treated in URI references, per section 6.5 of [[!RFC3987]].</li>
<li>If <tref>local context</tref> is not <tref>null</tref> then
<em>result</em> MUST be an <tref>absolute IRI</tref>, if not,
- an <code class="error">invalid IRI mapping</code> error has been
- detected.</li>
+ an <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-IRI-mapping">invalid IRI mapping</a></code>
+ error has been detected.</li>
<li>Return <em>result</em>.</li>
</ol>
</section>
@@ -1446,7 +1469,7 @@
<li>If <em>insideList</em> is <tref>true</tref> then
<em>expanded item</em> MUST NOT be an <tref>array</tref> or a
<tref>list object</tref>, otherwise a
- <code class="error">list of lists</code> error has been detected.</li>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.list-of-lists">list of lists</a></code> error has been detected.</li>
<li>If <em>expanded item</em> is an <tref>array</tref>, append each
of its items to <em>result</em>. Otherwise, if
<em>expanded item</em> is not null, append it to <em>result</em>.</li>
@@ -1486,39 +1509,40 @@
as follows:
<ol class="algorithm">
<li>If <em>expanded property</em> is <code>@id</code> then
- <em>value</em> MUST be a <tref>string</tref>, otherwise
- an <code class="error">invalid @id value</code> error has been
- detected.</li>
+ <em>value</em> MUST be a <tref>string</tref>, otherwise an
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-@id value">invalid @id value</a></code>
+ error has been detected.</li>
<li>If <em>expanded property</em> is <code>@type</code> then
<em>value</em> MUST be a <tref>string</tref> or an <tref>array</tref>
of strings, otherwise an
- <code class="error">invalid type value</code> error has been
- detected.</li>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-type-value">invalid type value</a></code>
+ error has been detected.</li>
<li>If <em>expanded property</em> is <code>@graph</code> then
<em>value</em> MUST be a <tref>JSON object</tref> or an
<tref>array</tref>, otherwise an
- <code class="error">invalid @graph value</code> error has been
- detected.</li>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-@graph value">invalid @graph value</a></code>
+ error has been detected.</li>
<li>If <em>expanded property</em> is <code>@value</code> then
<em>value</em> MUST NOT be a <tref>JSON object</tref> or
an <tref>array</tref>, otherwise an
- <code class="error">invalid value object value</code> error
- has been detected.</li>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-value-object-value">invalid value object value</a></code>
+ error has been detected.</li>
<li>If <em>expanded property</em> is <code>@language</code> then
<em>value</em> MUST be a <tref>string</tref>, otherwise an
- <code class="error">invalid language tagged string</code> error
- has been detected. Set <em>expanded value</em> to lowercased
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-language-tagged-string">invalid language tagged string</a></code>
+ error has been detected. Set <em>expanded value</em> to lowercased
<em>value</em>.</li>
<li>If <em>expanded property</em> is <code>@index</code>
then <em>value</em> MUST be a <tref>string</tref>, otherwise an
- <code class="error">invalid @index value</code> error has been
- detected.</li>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-@index value">invalid @index value</a></code>
+ error has been detected.</li>
</ol>
</li>
<li>If <em>key</em>'s <tref>container mapping</tref> in
<tref>active context</tref> is <code>@language</code> and
<em>value</em> is a <tref>JSON object</tref> then <em>value</em>
- is expanded from a <tref href="../json-ld-syntax/#dfn-language-map">language map</tref> as follows:
+ is expanded from a <tref href="../json-ld-syntax/#dfn-language-map">language map</tref>
+ as follows:
<ol class="algorithm">
<li>Initialize <em>expanded value</em> to an empty
<tref>array</tref>.</li>
@@ -1533,7 +1557,7 @@
<ol class="algorithm">
<li><em>item</em> MUST be a <tref>string</tref>,
otherwise an
- <code class="error">invalid language map value</code>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-language-map-value">invalid language map value</a></code>
error has been detected.</li>
<li>Append a <tref>JSON object</tref> to
<em>expanded value</em> that consists of two
@@ -1591,7 +1615,8 @@
If <em>expanded property</em> is <code>@list</code>
then <em>expanded value</em> MUST NOT be a
<tref>list object</tref>, otherwise a
- <code class="error">list of lists</code> error has been detected.</li>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.list-of-lists">list of lists</a></code>
+ error has been detected.</li>
<li>Otherwise, initialize <em>expanded value</em> to the result of
using this algorithm recursively, passing
<tref>active context</tref>, <em>key</em> for
@@ -1646,8 +1671,9 @@
<code>@value</code>, <code>@language</code>, <code>@type</code>,
and <code>@index</code>. It MUST NOT contain both the
<code>@language</code> key and the <code>@type</code> key.
- Otherwise, an <code class="error">invalid value object</code> error
- has been detected.</li>
+ Otherwise, an
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-value-object">invalid value object</a></code>
+ error has been detected.</li>
<li>If the value of <em>result</em>'s <code>@value</code> key is
<tref>null</tref>, then set <em>result</em> to <tref>null</tref>.</li>
<li>Otherwise, if <em>result</em> contains the key
@@ -1664,8 +1690,8 @@
<ol class="algorithm">
<li>The <em>result</em> MUST contain at most one other key and that
key MUST be <code>@index</code>. Otherwise, an
- <code class="error">invalid set or list object</code> error
- has been detected.</li>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.invalid-set-or-list-object">invalid set or list object</a></code>
+ error has been detected.</li>
<li>If <em>result</em> contains the key <code>@set</code>, then
set <em>result</em> to the key's associated value.</li>
</ol>
@@ -2157,8 +2183,8 @@
<tref title="list object">list objects</tref> associated
with an <tref>active property</tref> that has a
<tref>container mapping</tref>; a
- <code class="error">compaction to list of lists</code> error
- has been detected.</li>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.compaction-to-list-of-lists">compaction to list of lists</a></code>
+ error has been detected.</li>
</ol>
</li>
<li>
@@ -3190,7 +3216,9 @@
<li>If <em>element</em> has an <code>@index</code> member, set the <code>@index</code>
of <tref>active subject</tref> in <em>activeGraph</em> to its value. There MUST be no
existing member already in <tref>active subject</tref> with a different value, if there
- is, then a <code class="error">conflicting indexes</code> error has been detected. Continue and remove the
+ is, then a
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.conflicting-indexes">conflicting indexes</a></code>
+ error has been detected. Continue and remove the
<code>@index</code> from <em>element</em>.</li>
<li>If <em>element</em> has an <code>@graph</code> member, recursively invoke this algorithm passing
the value of the <code>@graph</code> member as new <em>element</em> and <em>id</em> as new
@@ -3269,8 +3297,8 @@
This allows each graph represented within the document to be
extracted and flattened, making it easier to process each
<tref>node object</tref>. Each graph from the <em>node map</em>
- is processed to extract <tref title="rdf triple">RDF triples</tref>, to which any (non-default) graph name
- is applied to create an <tref>RDF dataset</tref>.</p>
+ is processed to extract <tref title="rdf triple">RDF triples</tref>,
+ to which any (non-default) graph name is applied to create an <tref>RDF dataset</tref>.</p>
</section>
<section>
@@ -3904,7 +3932,7 @@
during processing. Otherwise, a processing issue was detected and
the details are contained within the <em>error</em> object. All
errors MUST have a <a>JsonLdErrorCode</a> of
- <code class="error">loading remote context failed</code>.</dd>
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.loading-remote-context-failed">loading remote context failed</a></code>.</dd>
<dt>DOMString url</dt>
<dd>The final URL of the loaded JSON-LD context. This is important
to handle HTTP redirects properly.</dd>