Re: Empty frame [] should not destroy triples

On 12/20/2011 04:31 PM, Josh Mandel wrote:
> Thanks, Dave!  Framing with an empty array now works the way I expect it to.


> Framing with an empty dictionary  -- {} -- though, is (still?) lossy.
> Example: (load + click "Framed" tab).
> I think an empty dictionary frame should also preserve the set of
> implied triples, unless there's an implication I haven't thought
> through...

If you frame with an empty dictionary, it picks the first match and only 
the first match. The framing algorithm interprets an empty dictionary as 
a request to return "any" subject, but only one of them. So this 
behavior is intentional. If you want multiple subjects you must use an 
array (either [] or [{}] -- these two are equivalent). Do these options 
not fully cover your use cases?

>    -Josh
> On Wed, Nov 23, 2011 at 11:57 AM, Dave Longley
> <>  wrote:
>> Josh,
>> This is a bug that I also discovered while looking into the other issue
>> you brought up with @embed in your previous email. When I get a chance,
>> I'll fix both of them.
>> -Dave

Dave Longley
Digital Bazaar, Inc.

Received on Tuesday, 20 December 2011 22:42:33 UTC