Re: Multiple @require in a single document

On 07/08/2014 12:10 PM, Markus Lanthaler wrote:
>> Here is the bogus context applied to their sample resume.json:
>> http://tinyurl.com/mdc6k63
>>
>> One thing I noticed was about the "work" and "publications" terms,
>> both of which use @reverse. Apparently, only the latest one is honored
>> in expansion (or any of the features).
> That appears to be a bug in jsonld.js. It works fine in my processor. My playground is here:
>
>     http://www.markus-lanthaler.com/jsonld/playground/
>
>
>> Here is a simpler playground version, based on the @reverse example
>> from the spec: http://tinyurl.com/multiple-reverse
> Thanks. I just added this to the test suite:
>
>    https://github.com/json-ld/json-ld.org/commit/0e667a754788e536114dceda202f129392f770c0
>
>
>> I would expect to also see #bart and #lisa as children under the pets.
>> Any thoughts? Am I doing something glaringly wrong? Are there any
>> examples of using multiple @reverse correctly?
> No, you are completely right. This appears to be a bug in jsonld.js

This bug has been fixed in jsonld.js v0.2.14 -- which is live on the 
playground as of earlier today.


-- 
Dave Longley
CTO
Digital Bazaar, Inc.
http://digitalbazaar.com

Received on Tuesday, 8 July 2014 21:02:41 UTC