- From: Dave Longley <dlongley@digitalbazaar.com>
- Date: Tue, 20 Dec 2011 17:42:08 -0500
- To: Josh Mandel <Joshua.Mandel@childrens.harvard.edu>
- CC: public-linked-json@w3.org
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.
Sure!
> Framing with an empty dictionary -- {} -- though, is (still?) lossy.
>
> Example: http://tinyurl.com/7zk3egq (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
> <dlongley@digitalbazaar.com> 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
CTO
Digital Bazaar, Inc.
Received on Tuesday, 20 December 2011 22:42:33 UTC