w3c / csvw

Documents produced by the CSV on the Web Working Group
Other
162 stars 57 forks source link

Multilingual metadata examples are invalid #883

Open jakubklimek opened 2 years ago

jakubklimek commented 2 years ago

In https://www.w3.org/TR/tabular-data-primer/#multilingual-metadata the two examples (92 and 93) use @lang to specify language. It should be @language to be valid JSON-LD.

{
  "titles": "name (en)",
  "dc:description": {
    "@value": "The official name of the country in English.",
    "@lang": "en"
  }
}

should be

{
  "titles": "name (en)",
  "dc:description": {
    "@value": "The official name of the country in English.",
    "@language": "en"
  }
}
gkellogg commented 2 years ago

@iherman Given that this issue exists on a Note, rather than a REC, is the normal erratum process in order; should the examples be simply updated in the repo? Would this result in releasing an edited Note?

iherman commented 2 years ago

@gkellogg I will have to check whether the possibility for the team to make a quick change is valid for this WG as well...

iherman commented 2 years ago

@gkellogg sorry it has taken so awfully long to answer...

Bottom line (for @jakubklimek ) that there should be a way to edit that document. I will contact you directly by email for the mechanics; it is all internal cuisine of the W3C publication, unnecessary to do that on a github issue...

Cc @plehegar