Skip to content

Commit f34b7a5

Browse files
committed
object embed flag defaults to @first, not @last.
1 parent efd1c44 commit f34b7a5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ <h3>Framing Algorithm</h3>
14501450

14511451
<p>The recursive algorithm operates with a <a>framing state</a> (<var>state</var>),
14521452
created initially using
1453-
the <a>object embed flag</a> set to <code>@last</code>,
1453+
the <a>object embed flag</a> set to <code>@first</code>,
14541454
the <a>explicit inclusion flag</a> set to <code>false</code>,
14551455
the <a>require all flag</a> set to <code>true</code>,
14561456
the <a>omit default flag</a> set to <code>false</code>,
@@ -1502,12 +1502,13 @@ <h3>Framing Algorithm</h3>
15021502
<var>graph name</var> and <var>id</var> in <var>state</var>,
15031503
add <var>output</var> to <var>parent</var>
15041504
and do not perform additional processing for this <var>node</var>.
1505-
<span class="ednote">Requires sorting of subjects.</span></li>
1505+
<span class="ednote">Requires sorting of subjects.
1506+
We could consider <code>@sample</code>, to embed in a property, rather than the lexicographically first.</span></li>
15061507
<li>Otherwise, if <var>embed</var> is <code>@last</code>,
15071508
remove any existing embedded node from <var>parent</var> associated with
15081509
<var>graph name</var> and <var>id</var> in <var>state</var>.
1509-
<span class="ednote">Requires sorting of subjects. We could consider <code>@sample</code>, to embed
1510-
just the first matched node. With sorting, we could also consider <code>@first</code>.</span></li>
1510+
<span class="ednote">Requires sorting of subjects.
1511+
We could consider <code>@sample</code>, to embed in a property, rather than the lexicographically last.</span></li>
15111512
<li class="changed">If <var>graph map</var> in <var>state</var> has an entry for <var>id</var>:
15121513
<ol>
15131514
<li>If <var>frame</var> does not have a <code>@graph</code> <a>member</a>,

0 commit comments

Comments
 (0)