Skip to content

Commit 265950e

Browse files
committed
Improve discussion when using _base_ option.
1 parent 6e82c1a commit 265950e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

index.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5684,7 +5684,8 @@ <h3>Algorithm</h3>
56845684
<span class="changed">with {{JsonLdOptions/ordered}} set to <code>false</code></span>,
56855685
<span class="changed">and {{JsonLdOptions/extractAllScripts}} defaulting to <code>false</code></span>.</li>
56865686
<li class="changed">Set <var>context base</var> to the {{RemoteDocument/documentUrl}}
5687-
from <var>remote document</var>, if available, otherwise to {{JsonLdOptions/base}}.</li>
5687+
from <var>remote document</var>, if available, otherwise to the {{JsonLdOptions/base}} option
5688+
from <a data-lt="jsonldprocessor-compact-options">options</a>.</li>
56885689
<li>If <a data-lt="jsonldprocessor-compact-context">context</a> is a <a class="changed">map</a>
56895690
having an <code>@context</code> <a>entry</a>,
56905691
set <var>context</var> to that <a data-lt="entry">entry's</a> value,
@@ -5785,10 +5786,12 @@ <h3>Algorithm</h3>
57855786
{{RemoteDocument/document}} from <var>remote document</var> or <a data-lt="jsonldprocessor-expand-input">input</a>
57865787
if there is no <var>remote document</var> as <var>element</var>,
57875788
`null` as <var>active property</var>,
5788-
{{RemoteDocument/documentUrl}} as <var>base URL</var>, if available, otherwise to {{JsonLdOptions/base}},
5789+
{{RemoteDocument/documentUrl}} as <var>base URL</var>, if available,
5790+
otherwise to the {{JsonLdOptions/base}} option
5791+
from <a data-lt="jsonldprocessor-expand-options">options</a>,
57895792
and the <span class="changed">{{JsonLdOptions/frameExpansion}}</span>
57905793
and <span class="changed">and {{JsonLdOptions/ordered}}</span>
5791-
flags from <a data-lt="jsonldprocessor-compact-options">options</a>.
5794+
flags from <a data-lt="jsonldprocessor-expand-options">options</a>.
57925795
<div class="note changed">If there is no <var>remote document</var>,
57935796
then <a data-lt="jsonldprocessor-expand-input">input</a> is
57945797
a <a>JsonLdRecord</a> or a <code>sequence</code> of
@@ -5982,7 +5985,7 @@ <h3>Algorithm</h3>
59825985
</pre>
59835986

59845987
<p class="changed">The <dfn>JsonLdInput</dfn> interface is used to refer to an input value
5985-
that may be a <a>JsonLdRecord</a>,
5988+
that that may be a <a>JsonLdRecord</a>,
59865989
a `sequence` of <a>JsonLdRecords</a>,
59875990
a <a>string</a> representing an <a>IRI</a>,
59885991
which can be dereferenced to retrieve a valid JSON document,

0 commit comments

Comments
 (0)