-
Notifications
You must be signed in to change notification settings - Fork 142
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
HR-TIME should be an alias for the latest HR-TIME #571
Comments
Heh. That's yet again another one of the same issue of W3C not being consistent with their versioning scheme. You might be able to fix that using overwrites. @marcoscaceres attempted a solution in #564 (although for CSS specs only). But it came with its own set of issues. The only real solution moving forward would be to enforce a consistent data model in Specref and force W3C specs into it. I don't think anyone really wants to do the work for this, though. |
Do you have advice for what we should do in the DOM Standard in the meantime? I'd guess, switch to using I guess part of the weirdness is that Bikeshed is complaining at us about using "obsolete" refs, but at the same time using Bikeshed's "prefer latest specs" option means that the obsolete URL never shows up, only the ED URL. /cc @tabatkins |
Yeah. This sucks. I agree. |
It's frustrating that when I try that, Bikeshed lists the bibliography entry as "High Resolution Time Level 2. URL: https://w3c.github.io/hr-time/", but when I click on that URL, the title is just "High Resolution Time". More of a Bikeshed issue though, I guess... |
I guess what's really missing here is an entry in specref that is "Editor's Draft only", which Bikeshed could use when in the The problem is now specref is keying off of TR documents, so when a spec author wants to reference an ED, they have to pick a random corresponding TR document and tell Bikeshed to use that specref entry. Bikeshed then dutifully uses that specref entry's title field ("High Resolution Time level 2"), plus its ED URL field (https://w3c.github.io/hr-time/), which causes a mismatch when the ED title and TR title are different. |
Those are good points. |
In fact, the https://www.w3.org/TR/hr-time/ URL is an alias for https://www.w3.org/TR/hr-time-2/ (and eventually https://www.w3.org/TR/hr-time-3/, once that becomes a W3C Recommendation). It’s https://www.w3.org/TR/hr-time-1/ that links to the obsolete spec. |
@plehegar is this something you can solve on the W3C side? To ensure hr-time always points to the latest version rather than being obsolete? (This is blocking changes to DOM at the moment.) |
I think @ExE-Boss's work is getting us really close to not only have a solution for this particular instance, but also be able to solve this very issue easily more broadly. |
I did catch the fact that our API was broken and didn't do versioning properly: ie while https://www.w3.org/TR/hr-time/ points to hr-time-2, the API points to the obsolete version of hr-time-1. The fix that that we have to encode the redirects in the DB rather in .htaccess file that the DB doesn't understand. @tobie , is that the reason why specref gets misled? |
I expect this to be fixed no later than January btw. |
Thank you very much @ExE-Boss; I didn't really expect this to be solvable, but you saved us! |
https://www.specref.org/?q=HR-TIME shows
[HR-TIME]
as obsolete, but the DOM Standard needs to be able to refer to the latest HR-TIME ED at https://w3c.github.io/hr-time/ in some way. I would assume[HR-TIME]
could be that reference, with e.g.[HR-TIME-1]
being the obsolete one.The text was updated successfully, but these errors were encountered: