-
Notifications
You must be signed in to change notification settings - Fork 34
Issue with @container arrays #242
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
No, it is permissible to use |
Actually the part that says
does cover that case... |
oh, you are right :-/ sorry |
This issue was discussed in a meeting.
View the transcript4.4.@graph, @set Rob Sanderson: #242 Rob Sanderson: " @container": ["@graph", "@set"] is used in a test, but the text of the algorithm implies that it is illegalGregg Kellogg: this is an ommision in the algorithm in the list of things allowed with @graph … the normative section of the syntax does allow this combination Gregg Kellogg: http://localhost:8000/?specStatus=CR&publishDate=2019-12-12#expanded-term-definition Pierre-Antoine Champin: https://www.w3.org/TR/json-ld11/#expanded-term-definition Rob Sanderson: > If the expanded term definition contains the @container keyword, its value MUST be either @list, @set, @language, @index, @id, @graph, @type, or be null or an array containing exactly any one of those keywords, or a combination of @set and any of @index, @id, @graph, @type, @language in any orderRob Sanderson: so the API and Syntax documents are out of sync Gregg Kellogg: there was examples specifically added about it Proposed resolution: Update api Create Term Definition step to allow the set of combinations from syntax 9.15.1 (Rob Sanderson) Gregg Kellogg: +1 Rob Sanderson: +1 David I. Lehn: +1 Ivan Herman: 0 Tim Cole: +1 Harold Solbrig: +1 Benjamin Young: +1 Pierre-Antoine Champin: +1 Resolution #5: Update api Create Term Definition step to allow the set of combinations from syntax 9.15.1 |
Looks good, thanks. |
This issue was discussed in a meeting.
View the transcriptClose editorial issuesProposed resolution: Close completed editorial issues API#242, #243, #244, #245, #246 (Rob Sanderson) Ruben Taelman: +1 Gregg Kellogg: +1 Ivan Herman: +1 Pierre-Antoine Champin: +1 Jeff Mixter: +1 Tim Cole: +1 Rob Sanderson: +1 Adam Soroka: +1 Resolution #9: Close completed editorial issues API#242, #243, #244, #245, #246 |
Test t0080 uses a
@container
array value:"@container": ["@graph", "@set"]
The changelog seems to suggest that this is OK:
However, Create Term Definition step 21.1 is not written in a way that supports this combination of container values:
I read this as indicating that
["@graph", "@set"]
is an invalid container mapping, and processing will be aborted. Is that correct? Can this text and/or the test suite be updated to clarify this?The text was updated successfully, but these errors were encountered: