Skip to content

Bug in Serialize RDF as JSON-LD Algorithm #493

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

Closed
kal opened this issue May 19, 2017 · 1 comment
Closed

Bug in Serialize RDF as JSON-LD Algorithm #493

kal opened this issue May 19, 2017 · 1 comment
Assignees

Comments

@kal
Copy link

kal commented May 19, 2017

In step 5.3.3, if the value of the @id member of node is not a blank node identifier the loop should terminate. The start of this step should therefore read something like:

While property equals rdf:rest, the value of the @id member of node is a blank node identifier,
the array value of the member of node usages map associated with the @id member of node has only one member,

(addition highlighted)

@gkellogg
Copy link
Member

Step 5.3.3.5 terminates the loop after appending values to array and updating node. However, I note that my implementation checks to see that node is a blank node in the same place you suggest. This seems like a good change to me.

@dlongley @lanthaler?

@gkellogg gkellogg self-assigned this May 21, 2017
@gkellogg gkellogg added this to the JSON-LD 1.1 milestone May 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants