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
Add JSON-LD LC Working Drafts #197
Conversation
We're trying to migrate all references to structured JSON objects rather than HTML strings. Think you could change those? Thanks! |
Sure, the only reason I put in the HTML string at the moment is to include both the timestamped version and a link to the latest version (according W3C pubrules). Is there a way to do that with JSON objects? The drafts are currently in last call. You could also include them as they are now and I will convert them to JSON objects once both specs have REC status. |
So the way this is generally handled is by adding two entries, one timestamped (e.g.: |
Or, to make it work across standardization orgs, by adding a latestVersion property. That way it would also work for Internet-Drafts at IEFT for instance. |
+@darobin would like your thoughts on this. |
On 15/04/2013, at 9:35, Tobie Langel notifications@github.com wrote:
Having dated links in the bibliography is a huge maintenance nightmare and should be actively discouraged. If for some reason (I can't think of any rational one) an author wants to link to date draft, then respec should XHR the spec and grab the date link programmatically.
|
I tend to agree with you @marcoscaceres, but iirc @darobin thinks otherwise. |
Well.. the "use case" is the W3C manual of style (http://www.w3.org/2001/06/manual/#ref-section) which explicitly says to cite the most specific identifier: "For example, usually you would link the title to http://www.w3.org/TR/1999/REC-html401-19991224 rather than to http://www.w3.org/TR/html4/" |
@lanthaler the W3C is wrong. That's also not a use case, that's just an example of misguided advice from over a decade ago. Since then, we learned that pointing to date versions leads to confusion and other more serious issues (e.g., people implementing out of date specs - sometimes on purpose and then freezing on a dated spec - and then blaming the spec for pointing to a dated version). |
I’m not sure I agree. If a specification depends on another specification it typically depends on a very specific version which is not automatically the latest version. At the time of writing (and freezing) the spec, the best one can do is to clearly reference the current version of the other specification and include a link to the latest version of that spec. Specs change – that’s the whole point of versioning them. |
@lanthaler How you would normatively reference and implement a dated implementation with no test suite? Or do you propose keeping a test suite for every dated version so that all specs bugs are codefied per spec version? |
Whoa whoa whoa. Let's not have a rehash of the versioned specs debate here, shall we? Some notes:
So, all in all, I think that the current system works. I don't think that we should add a field to support referring to both dated and live versions of a spec. So in this specific instance I reckon that a JSONified reference pointing to just the latest (or conversely, the same with a dated name pointing to the dated version) would be wunderbar. Thanks! |
On Monday, April 15, 2013 at 4:02 PM, Robin Berjon wrote:
Sure, but seems @lanthaler didn't get the memo back in 2002: we don't do dated in normative references no more :)
People doing that should not add their entries into the main DB. Those are for personal/informative use, it seems - and the community does not benefit from having those dated version in the main DB.
I guess it's subjective. I find the having to constantly update references very frustrating. Also find seeing out of date references very frustrating. Having PRs allows the maintainers to catch bad references going into the main DB.
That's ok. But we should encourage best practice too (i.e., not pointing to dated versions and limiting the number of dated version in the DB).
wunderbar indeed… so long as it's the latest one :) Marcos Caceres |
Well.. references for WDs have to be updated anyway as soon as they go into CR, PR, or become a REC. Especially for work in progress as this it makes sense to reference a dated version IMHO. That being said, if you prefer to have an entry to just the latest version. I’ll just update the PR – definitely less work than discussing it here :-P |
@lanthaler yes, please update it. Sorry you got dragged into an old old old debate. Some of us have been seriously burnt by the dated spec model in the past (it's why you see so many WGs moving to a "Living Standard" model). |
Done |
No description provided.