Minor framing algorithm updates.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Fri, 20 Apr 2012 15:26:32 -0700
changeset 551 f91157433793
parent 550 1c77cc9400c4
child 555 8d3486fd6a14
Minor framing algorithm updates.
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Fri Apr 20 13:03:51 2012 -0700
+++ b/spec/latest/json-ld-api/index.html	Fri Apr 20 15:26:32 2012 -0700
@@ -1640,10 +1640,9 @@
 <p>The following series of steps is the recursive
   portion of the framing algorithm:</p>
 
-<p class="note">Just a sketch for now</p>
 <ol class="algorithm">
   <li>Validate <em>frame</em>.</li>
-  <li>Create a set of matched subjects by filtering <em>subjects</em> by checking
+  <li>Create a set of matched subjects by filtering <em>subjects</em> checking
     the <tref>map of flattened subjects</tref> against <em>frame</em>:
     <ol class="algorithm">
       <li>If <em>frame</em> has a <code>@type</code> property containing
@@ -1723,7 +1722,10 @@
                     <em>subjects</em> that contains the <code>@id</code> of <em>item</em> as the key and
                     the <tref>subject reference</tref> as the value. Pass the first value from
                     <em>frame</em> for <em>property</em> as <em>frame</em>, <em>output</em>
-                    as <em>parent</em>, and <em>property</em> as <tref>active property</tref>.</li>
+                    as <em>parent</em>, and <em>property</em> as <tref>active property</tref>.
+                  <div class="issue">Passing a <tref>subject reference</tref> doesn't work if this map
+                    is used recursively. Presently pass <tref>subject definition</tref> from original
+                    <tref>map of flattened subjects</tref>.</div></li>
                   <li>Otherwise, append a copy of <em>item</em> to <tref>active property</tref> in
                     <em>output</em>.</li>
                 </ol>