Skip to content

Commit

Permalink
Update shortnames of CSS 2.1 and RDF 1.1 N-Quads (#1560)
Browse files Browse the repository at this point in the history
Build now traps the fact that the shortname for CSS 2.1 and RDF 1.1 N-Quads
do not match those used in the W3C API. This update aligns the shortnames
accordingly.

For CSS 2.1, shortname was `CSS2` instead of `CSS21`, probably because we used
`/TR/CSS2/` at some point. Note: Reffy will need a short update as it uses the
shortname to run dedicated pre-processing on the spec to extract definitions.
I cannot think of other consequences that we need to worry about.

For RDF 1.1 N-Quads, the canonical /TR URL returned by the W3C API ends with
`/TR/n-quads/`, but the shortname is `rdf11-n-quads`. The longer shortname is
inconsistent with the URL but consistent with the `rdf12-n-quads` shortname and
allows the code to put both n-quads entries in the same series, as done in the
W3C API: https://api.w3.org/specification-series/rdf-n-quads/specifications
  • Loading branch information
tidoust authored Nov 13, 2024
1 parent f3d0c0a commit 47e6e15
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,10 @@
"https://www.w3.org/TR/css-writing-modes-4/",
{
"url": "https://www.w3.org/TR/CSS21/",
"shortname": "CSS2",
"shortname": "CSS21",
"formerNames": [
"CSS2"
],
"seriesVersion": "2.1",
"multipage": "all",
"nightly": {
Expand Down Expand Up @@ -1441,6 +1444,10 @@
"https://www.w3.org/TR/mst-content-hint/",
{
"url": "https://www.w3.org/TR/n-quads/",
"shortname": "rdf11-n-quads",
"formerNames": [
"n-quads"
],
"nightly": {
"url": "https://www.w3.org/TR/n-quads/"
},
Expand Down

0 comments on commit 47e6e15

Please sign in to comment.