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
Problem in rule “headers.ol-toc”: missing sync with respec? #427
Comments
@tripu looking at the history of that rule I couldn't find where that requirement comes from. I remember this is something brought by the new TR design but I don't see where it was defined. Does it necessarily need to be a |
Why would we drop this rule? A W3C spec ought to have a table of contents, imho that should be a requirement. Requiring that it have particular markup is necessary for it to be styled consistently across all specs. This is one of the most important things to check for imho. |
(If you're wondering why it's |
Looking at As usual, I don't think we can change the rules without advance notice. |
@plehegar Yes, and I have already hacked a version of xmlspec to produce a list-based TOC (but there's still an issue with the side "Editor's draft" banner when the TOC is in sidebar mode). |
I am just a poor end-user who happens to use respec... what is really important for me (and for other respec users, I guess) is that respec would generate a code that is accepted by specberus with the lowest number of warnings. (That being said, because I did some postprocessing on respec-generated documents, I would also have to update my EPUB generator, but that is on me...) |
I'm just a poor respec user and maintainer.
|
My guess:
|
@halindrome, my take:
|
Wow, the markup for exi-for-json is astoundingly bad. I can't believe that was ever allowed. |
The banner problem is due to the extra |
Filed ReSpec bug: w3c/respec#835 We should be able to automatically pick up these changes to specberus once I implement integrating it into our test framework. Then, by all means, break whatever you want and make ReSpec upset: We will get the warnings automatically and can fix them there. However, there should be some kind of grace period with breaking changes... they should initially appear as warnings that are time-bombed (such as the ToC one). |
@fantasai, thx, it works now |
(Description edited for clarity.) |
I wanted to drop this rule, since apparently I made it up on my own, somehow. But @fantasai likes it, time has passed, it's not preventing publication for anybody, and @marcoscaceres already filed w3c/respec#835. So… OK to leave things as they are, and close this issue? |
Works for me. |
ReSpec adapted (w3c/respec#835, w3c/respec#909). |
This is not really a "bug" but rather a missing sync with the respec guys...
The checker gives a warning, whereby:
However, the document, including the TOC, is generated by respec. Either this warning should not be issued or respec developers should be contacted to settle this...
Found while checking
http://w3c.github.io/web-annotation/admin/TR/annotation-protocol/Overview.html
.The text was updated successfully, but these errors were encountered: