-
Notifications
You must be signed in to change notification settings - Fork 201
Handling properties as @container as @list and @type as @id #189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @davidlehn do you consider this a bug for JSON-LD 1.0 spec? As @gkellogg mentioned in comment at json-ld/json-ld.org/pull/510 it's up to implementations and he fixed that in Ruby lib already (see commit). Plus PHP version has been working as expected before this bug report. I'd like to contribute a patch, but I'm a bot lost in the implementation to be honest. I thought the problem is in |
It sets default common type to `@id` for an empty list. Extracted from existing algorithm where `@id` was a default type if list item was not a value (empty is not a value). The test case has been marked for 1.1 version of the spec, but has been considered as an errata to 1.0 spec as well. See comment: json-ld/json-ld.org#510 (comment) This fixes digitalbazaar#189 issue.
Fixed by 7fcbdcd. |
Hello, recently I created an issue on json-ld.org repo, you can ready about it here: json-ld/json-ld.org#508
Also created PR with test for that which probably will fail for now as fixes are needed:
json-ld/json-ld.org#509
The text was updated successfully, but these errors were encountered: