Update shortnames of CSS 2.1 and RDF 1.1 N-Quads #1560
Merged
+8
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 ofCSS21
, 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 isrdf11-n-quads
. The longer shortname is inconsistent with the URL but consistent with therdf12-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