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>,
@@ -1162,7 +1162,7 @@ <h3>Overview</h3>
1162
1162
of the document containing the initial <a>context</a>.
1163
1163
This is necessary when resetting the <a>active context</a>
1164
1164
by setting it to `null`
1165
-
to retain the original default <a>base IRI</a>.</p>
1165
+
to retain the original default <aclass="changed" data-lt="context-base-iri">base IRI</a>.</p>
1166
1166
1167
1167
<p>Then, for every other <a>entry</a> in <a>local context</a>, we update
1168
1168
the <a>term definition</a> in <var>result</var>. Since
@@ -1225,7 +1225,7 @@ <h3>Algorithm</h3>
1225
1225
newly-initialized <a>active context</a>,
1226
1226
<spanclass="changed">setting <a>previous context</a> in <var>result</var>
1227
1227
to the previous value of <var>result</var> if <var>propagate</var> is <code>false</code>
1228
-
and both <a>base IRI</a> and <a>original base URL</a> to the value of
1228
+
and 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>.</li>
1230
1230
<li>Continue with the next <var>context</var>.</li>
1231
1231
</ol>
@@ -1236,7 +1236,7 @@ <h3>Algorithm</h3>
1236
1236
<var>base URL</var>.
1237
1237
<divclass="note">
1238
1238
<var>base URL</var> is often not the same as {{JsonLdOptions/base}}
1239
-
or the <a>base IRI</a> of the <var>active context</var>.
1239
+
or the <aclass="changed" data-lt="context-base-iri">base IRI</a> of the <var>active context</var>.
1240
1240
</div>
1241
1241
</li>
1242
1242
<li>If the number of entries in the <var>remote contexts</var> array
@@ -1350,13 +1350,13 @@ <h3>Algorithm</h3>
1350
1350
<li>Initialize <var>value</var> to the value associated with the
1351
1351
<code>@base</code><a>entry</a>.</li>
1352
1352
<li>If <var>value</var> is <code>null</code>, remove the
1353
-
<a>base IRI</a> of <var>result</var>.</li>
1353
+
<aclass="changed" data-lt="context-base-iri">base IRI</a> of <var>result</var>.</li>
1354
1354
<li>Otherwise, if <var>value</var> is an <a>IRI</a>,
1355
-
the <a>base IRI</a> of <var>result</var> is set to <var>value</var>.</li>
1355
+
the <aclass="changed" data-lt="context-base-iri">base IRI</a> of <var>result</var> is set to <var>value</var>.</li>
1356
1356
<li>Otherwise, if <var>value</var> is a <a>relative IRI reference</a> and
1357
-
the <a>base IRI</a> of <var>result</var> is not <code>null</code>,
1358
-
set the <a>base IRI</a> of <var>result</var> to the result of
1359
-
resolving <var>value</var> against the current <a>base IRI</a>
1357
+
the <aclass="changed" data-lt="context-base-iri">base IRI</a> of <var>result</var> is not <code>null</code>,
1358
+
set the <aclass="changed" data-lt="context-base-iri">base IRI</a> of <var>result</var> to the result of
1359
+
resolving <var>value</var> against the current <aclass="changed" data-lt="context-base-iri">base IRI</a>
1360
1360
of <var>result</var>.</li>
1361
1361
<li>Otherwise, an
1362
1362
<adata-link-for="JsonLdErrorCode">invalid base IRI</a>
@@ -3206,7 +3206,7 @@ <h3>Algorithm</h3>
3206
3206
with <var>value</var>.</li>
3207
3207
<li>Otherwise, if <var>document relative</var> is <code>true</code>
3208
3208
set <var>value</var> to the result of resolving <var>value</var> against
3209
-
the <a>base IRI</a> from <var>active context</var>. Only the basic algorithm in
3209
+
the <aclass="changed" data-lt="context-base-iri">base IRI</a> from <var>active context</var>. Only the basic algorithm in
3210
3210
<adata-cite="RFC3986#section-5.2">section 5.2</a>
3211
3211
of [[RFC3986]] is used; neither
3212
3212
<adata-cite="RFC3986#section-6.2.2">Syntax-Based Normalization</a> nor
@@ -4178,7 +4178,7 @@ <h3>Algorithm</h3>
4178
4178
and processing is aborted.</li>
4179
4179
<li>If <var>vocab</var> is <code>false</code>,
4180
4180
transform <var>var</var> to a <a>relative IRI reference</a> using
4181
-
the <spanclass="changed"><a>base IRI</a> from <var>active context</var>, if it exists</span>.</li>
4181
+
the <spanclass="changed"><adata-lt="context-base-iri">base IRI</a> from <var>active context</var>, if it exists</span>.</li>
4182
4182
<li>Finally, return <var>var</var> as is.</li>
4183
4183
</ol>
4184
4184
</section>
@@ -5741,10 +5741,10 @@ <h3>Algorithm</h3>
5741
5741
If {{RemoteDocument/document}} cannot be transformed to the <a>internal representation</a>,
5742
5742
reject <var>promise</var> passing a <adata-link-for="JsonLdErrorCode">loading document failed</a> error.</li>
5743
5743
<li>Initialize a new empty <var>active context</var>.
5744
-
The <a>base IRI</a> and <a>original base URL</a> of the <var>active context</var> is set to the {{RemoteDocument/documentUrl}}
5744
+
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}}
5745
5745
from <var>remote document</var>, if available;
5746
5746
otherwise to <code>null</code>.
5747
-
If set, the {{JsonLdOptions/base}} option from <adata-lt="jsonldprocessor-expand-options">options</a> overrides the <a>base IRI</a>.</li>
5747
+
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>
5748
5748
<li>If the {{JsonLdOptions/expandContext}} option in <adata-lt="jsonldprocessor-expand-options">options</a> is set,
5749
5749
update the <var>active context</var> using the <ahref="#context-processing-algorithm">Context Processing algorithm</a>,
5750
5750
passing the {{JsonLdOptions/expandContext}} as <var>local context</var>
0 commit comments