Skip to content
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

@vocab's presence causes @foo in a value object to fail, otherwise it doesn't #259

Closed
azaroth42 opened this issue Sep 19, 2019 · 1 comment

Comments

@azaroth42
Copy link
Contributor

The following fails, as expected, but only due to the presence of @vocab.

{
  "@context": {
     "@vocab": "https://schema.org/"
  },
  "name": {
    "@value": "fish",
    "@language": "en",
    "@direction": "ltr"
  }
}

However the following ignores the @direction property:

{
  "@context": {
     "name": "https://schema.org/name"
  },
  "name": {
    "@value": "fish",
    "@language": "en",
    "@direction": "ltr"
  }
}

This bug exists in both JSON-LD 1.0 and 1.1

@iherman
Copy link
Member

iherman commented Sep 21, 2019

This issue was discussed in a meeting.

  • RESOLVED: Close w3c/json-ld-syntax#259 as we can’t fix 1.0, and 1.1 will be solved by newly reopened #16
View the transcript Ivan Herman: See Issue syntax#16
Rob Sanderson: propose that we can close #259, is this errata to JSON-LD 1.0?
Gregg Kellogg: it’s not
Rob Sanderson: Ok, this will remain a bug with 1.0 processors, they should update and do the 1.1 process for this particular feature.
Proposed resolution: Close #259 as we can’t fix 1.0, and 1.1 will be solved by newly reopened #16 (Rob Sanderson)
Rob Sanderson: +1
Ivan Herman: +1
Manu Sporny: +1
Pierre-Antoine Champin: +1
Simon Steyskal: +1
Gregg Kellogg: +1
Benjamin Young: +1
Resolution #6: Close #259 as we can’t fix 1.0, and 1.1 will be solved by newly reopened #16
5

@iherman iherman closed this as completed Sep 21, 2019
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