@@ -1159,7 +1159,8 @@ <h3>Overview</h3>
1159
1159
When an < a > active context</ a > is initialized, the value
1160
1160
of the < a > original base URL</ a >
1161
1161
is initialized from the original {{RemoteDocument/documentUrl}}
1162
- of the document containing the initial < a > context</ a > .
1162
+ of the document containing the initial < a > context</ a > , if available,
1163
+ otherwise from the {{JsonLdOptions/base}} API option.
1163
1164
This is necessary when resetting the < a > active context</ a >
1164
1165
by setting it to `null`
1165
1166
to retain the original default < a > base IRI</ a > .</ p >
@@ -5743,7 +5744,7 @@ <h3>Algorithm</h3>
5743
5744
< li > Initialize a new empty < var > active context</ var > .
5744
5745
The < a > base IRI</ a > and < a > original base URL</ a > of the < var > active context</ var > is set to the {{RemoteDocument/documentUrl}}
5745
5746
from < var > remote document</ var > , if available;
5746
- otherwise to {{JsonLdOptions/base}}.
5747
+ otherwise to the {{JsonLdOptions/base}} option from < a data-lt =" jsonldprocessor-expand-options " > options </ a > .
5747
5748
If set, the {{JsonLdOptions/base}} option from < a data-lt ="jsonldprocessor-expand-options "> options</ a > overrides the < a > base IRI</ a > .</ li >
5748
5749
< li > If the {{JsonLdOptions/expandContext}} option in < a data-lt ="jsonldprocessor-expand-options "> options</ a > is set,
5749
5750
update the < var > active context</ var > using the < a href ="#context-processing-algorithm "> Context Processing algorithm</ a > ,
@@ -6092,7 +6093,7 @@ <h3>Algorithm</h3>
6092
6093
6093
6094
< pre class ="idl ">
6094
6095
dictionary JsonLdOptions {
6095
- USVString? base;
6096
+ USVString? base = null ;
6096
6097
boolean compactArrays = true;
6097
6098
boolean compactToRelative = true;
6098
6099
LoadDocumentCallback? documentLoader = null;
0 commit comments