You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>If <a>context</a> is a <aclass="changed">map</a>,
1132
1132
it is a <adata-cite="JSON-LD11#dfn-context-definition">context definition</a>.
1133
1133
We first update
1134
-
the <a>base IRI</a>,
1134
+
the <aclass="changed" data-lt="context-base-iri">base IRI</a>,
1135
1135
<spanclass="changed">the <a>default base direction</a></span>,
1136
1136
the <a>default language</a>,
1137
1137
<spanclass="changed">context propagation</span>,
@@ -1163,7 +1163,7 @@ <h3>Overview</h3>
1163
1163
otherwise from the {{JsonLdOptions/base}} API option.
1164
1164
This is necessary when resetting the <a>active context</a>
1165
1165
by setting it to `null`
1166
-
to retain the original default <a>base IRI</a>.</p>
1166
+
to retain the original default <aclass="changed" data-lt="context-base-iri">base IRI</a>.</p>
1167
1167
1168
1168
<p>Then, for every other <a>entry</a> in <a>local context</a>, we update
1169
1169
the <a>term definition</a> in <var>result</var>. Since
@@ -1225,7 +1225,7 @@ <h3>Algorithm</h3>
1225
1225
<li>Initialize <var>result</var> as a
1226
1226
newly-initialized <a>active context</a>,
1227
1227
<spanclass="changed">
1228
-
setting both <a>base IRI</a> and <a>original base URL</a> to the value of
1228
+
setting both <adata-lt="context-base-iri">base IRI</a> and <a>original base URL</a> to the value of
1229
1229
<a>original base URL</a> in <var>active context</var></span>,
1230
1230
and, if <var>propagate</var> is <code>false</code>,
1231
1231
<a>previous context</a> in <var>result</var>
@@ -1242,7 +1242,7 @@ <h3>Algorithm</h3>
1242
1242
has been detected and processing is aborted.
1243
1243
<divclass="note">
1244
1244
<var>base URL</var> is often not the same as {{JsonLdOptions/base}}
1245
-
or the <a>base IRI</a> of the <var>active context</var>.
1245
+
or the <aclass="changed" data-lt="context-base-iri">base IRI</a> of the <var>active context</var>.
1246
1246
</div>
1247
1247
</li>
1248
1248
<li>If the number of entries in the <var>remote contexts</var> array
@@ -1359,13 +1359,13 @@ <h3>Algorithm</h3>
1359
1359
<li>Initialize <var>value</var> to the value associated with the
1360
1360
<code>@base</code><a>entry</a>.</li>
1361
1361
<li>If <var>value</var> is <code>null</code>, remove the
1362
-
<a>base IRI</a> of <var>result</var>.</li>
1362
+
<aclass="changed" data-lt="context-base-iri">base IRI</a> of <var>result</var>.</li>
1363
1363
<li>Otherwise, if <var>value</var> is an <a>IRI</a>,
1364
-
the <a>base IRI</a> of <var>result</var> is set to <var>value</var>.</li>
1364
+
the <aclass="changed" data-lt="context-base-iri">base IRI</a> of <var>result</var> is set to <var>value</var>.</li>
1365
1365
<li>Otherwise, if <var>value</var> is a <a>relative IRI reference</a> and
1366
-
the <a>base IRI</a> of <var>result</var> is not <code>null</code>,
1367
-
set the <a>base IRI</a> of <var>result</var> to the result of
1368
-
resolving <var>value</var> against the current <a>base IRI</a>
1366
+
the <aclass="changed" data-lt="context-base-iri">base IRI</a> of <var>result</var> is not <code>null</code>,
1367
+
set the <aclass="changed" data-lt="context-base-iri">base IRI</a> of <var>result</var> to the result of
1368
+
resolving <var>value</var> against the current <aclass="changed" data-lt="context-base-iri">base IRI</a>
1369
1369
of <var>result</var>.</li>
1370
1370
<li>Otherwise, an
1371
1371
<adata-link-for="JsonLdErrorCode">invalid base IRI</a>
@@ -3215,7 +3215,7 @@ <h3>Algorithm</h3>
3215
3215
with <var>value</var>.</li>
3216
3216
<li>Otherwise, if <var>document relative</var> is <code>true</code>
3217
3217
set <var>value</var> to the result of resolving <var>value</var> against
3218
-
the <a>base IRI</a> from <var>active context</var>. Only the basic algorithm in
3218
+
the <aclass="changed" data-lt="context-base-iri">base IRI</a> from <var>active context</var>. Only the basic algorithm in
3219
3219
<adata-cite="RFC3986#section-5.2">section 5.2</a>
3220
3220
of [[RFC3986]] is used; neither
3221
3221
<adata-cite="RFC3986#section-6.2.2">Syntax-Based Normalization</a> nor
@@ -4187,7 +4187,7 @@ <h3>Algorithm</h3>
4187
4187
and processing is aborted.</li>
4188
4188
<li>If <var>vocab</var> is <code>false</code>,
4189
4189
transform <var>var</var> to a <a>relative IRI reference</a> using
4190
-
the <spanclass="changed"><a>base IRI</a> from <var>active context</var>, if it exists</span>.</li>
4190
+
the <spanclass="changed"><adata-lt="context-base-iri">base IRI</a> from <var>active context</var>, if it exists</span>.</li>
4191
4191
<li>Finally, return <var>var</var> as is.</li>
4192
4192
</ol>
4193
4193
</section>
@@ -5750,10 +5750,10 @@ <h3>Algorithm</h3>
5750
5750
If {{RemoteDocument/document}} cannot be transformed to the <a>internal representation</a>,
5751
5751
reject <var>promise</var> passing a <adata-link-for="JsonLdErrorCode">loading document failed</a> error.</li>
5752
5752
<li>Initialize a new empty <var>active context</var>.
5753
-
The <a>base IRI</a> and <a>original base URL</a> of the <var>active context</var> is set to the {{RemoteDocument/documentUrl}}
5753
+
The <adata-lt="context-base-iri">base IRI</a> and <a>original base URL</a> of the <var>active context</var> is set to the {{RemoteDocument/documentUrl}}
5754
5754
from <var>remote document</var>, if available;
5755
5755
otherwise to the {{JsonLdOptions/base}} option from <adata-lt="jsonldprocessor-expand-options">options</a>.
5756
-
If set, the {{JsonLdOptions/base}} option from <adata-lt="jsonldprocessor-expand-options">options</a> overrides the <a>base IRI</a>.</li>
5756
+
If set, the {{JsonLdOptions/base}} option from <adata-lt="jsonldprocessor-expand-options">options</a> overrides the <adata-lt="context-base-iri">base IRI</a>.</li>
5757
5757
<li>If the {{JsonLdOptions/expandContext}} option in <adata-lt="jsonldprocessor-expand-options">options</a> is set,
5758
5758
update the <var>active context</var> using the <ahref="#context-processing-algorithm">Context Processing algorithm</a>,
5759
5759
passing the {{JsonLdOptions/expandContext}} as <var>local context</var>
0 commit comments