Skip to content

typo and question #364

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
roptat opened this issue Jan 29, 2020 · 1 comment
Closed

typo and question #364

roptat opened this issue Jan 29, 2020 · 1 comment

Comments

@roptat
Copy link
Contributor

roptat commented Jan 29, 2020

Hi,

not sure how to fix it properly: 13.4.8.1 and 13.4.9 say "MAY be an empty map or an array of zero or strings."

is it "an array of zero strings" or "an array of zero or more strings"?

Also, it's not the first time I encounter this wording. Does this mean my implementation needs to ensure it's either a string or frame expansion is set and it's either an empty map or an array of strings? Or is this part optional?

@gkellogg
Copy link
Member

Yes, should be "array of zero or more strings".

Frames have a different syntax, and can use {} or an array for things like @id, where it would otherwise be illegal. In such case, it could be a string, an empty object, an empty array, or an array of one or more strings. The empty object case is a wild card, and the empty array means that there should be no such property. See Frame Matching Algorithm.

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