This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8587 - HTML5 Recommendation document has Tidy warnings
Summary: HTML5 Recommendation document has Tidy warnings
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://lists.w3.org/Archives/Public/p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-03 18:51 UTC by Don Brutzman
Modified: 2010-10-04 13:59 UTC (History)
6 users (show)

See Also:


Attachments

Description Don Brutzman 2010-01-03 18:51:01 UTC
HTML5 Recommendation document has about 2 dozen minor Tidy warnings shown by Mozilla that could be cleaned up.
Comment 1 Don Brutzman 2010-01-03 23:59:35 UTC
here they are, using Editor's Draft 21 December 2009:

Result: 0 errors / 33 warnings

line 25721 column 32 - Warning: missing </caption> before <p>
line 25722 column 6 - Warning: <p> isn't allowed in <table> elements
line 25721 column 4 - Info: <table> previously mentioned
line 25723 column 6 - Warning: <p> isn't allowed in <table> elements
line 25721 column 4 - Info: <table> previously mentioned
line 25727 column 5 - Warning: discarding unexpected </caption>
line 49962 column 4 - Warning: nested emphasis <kbd>
line 49965 column 4 - Warning: nested emphasis <kbd>
line 50727 column 3 - Warning: nested emphasis <kbd>
line 218 column 11 - Warning: <link> inserting "type" attribute
line 218 column 349 - Warning: <link> inserting "type" attribute
line 218 column 728 - Warning: <script> inserting "type" attribute
line 20403 column 52 - Warning: trimming empty <p>
line 20415 column 46 - Warning: trimming empty <p>
line 25427 column 4 - Warning: trimming empty <dd>
line 25432 column 4 - Warning: trimming empty <dd>
line 25437 column 4 - Warning: trimming empty <dd>
line 25445 column 4 - Warning: trimming empty <dd>
line 25450 column 4 - Warning: trimming empty <dd>
line 25455 column 4 - Warning: trimming empty <dd>
line 25463 column 4 - Warning: trimming empty <dd>
line 25468 column 4 - Warning: trimming empty <dd>
line 25473 column 4 - Warning: trimming empty <dd>
line 25478 column 4 - Warning: trimming empty <dd>
line 25483 column 4 - Warning: trimming empty <dd>
line 25488 column 4 - Warning: trimming empty <dd>
line 25495 column 4 - Warning: trimming empty <dd>
line 25502 column 4 - Warning: trimming empty <dd>
line 25721 column 32 - Warning: trimming empty <caption>
line 25833 column 4 - Warning: trimming empty <dd>
line 25840 column 4 - Warning: trimming empty <dd>
line 25847 column 4 - Warning: trimming empty <dd>
line 25987 column 4 - Warning: trimming empty <dd>
line 26020 column 4 - Warning: trimming empty <dd>
line 61589 column 472 - Warning: trimming empty <span>
Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN"
Info: Document content looks like HTML 4.01 Transitional
Comment 2 Henri Sivonen 2010-01-04 07:53:31 UTC
(In reply to comment #1)
> line 25721 column 32 - Warning: missing </caption> before <p>
> line 25722 column 6 - Warning: <p> isn't allowed in <table> elements
> line 25721 column 4 - Info: <table> previously mentioned
> line 25723 column 6 - Warning: <p> isn't allowed in <table> elements
> line 25721 column 4 - Info: <table> previously mentioned
> line 25727 column 5 - Warning: discarding unexpected </caption>
[...]
> line 218 column 11 - Warning: <link> inserting "type" attribute
> line 218 column 349 - Warning: <link> inserting "type" attribute
> line 218 column 728 - Warning: <script> inserting "type" attribute

These are bogus warnings per HTML5 itself (Tidy is a legacy tool), and from the practical point of view, shouldn't be changed, IMO.
Comment 3 Ian 'Hixie' Hickson 2010-01-11 10:59:13 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: As far as I can tell, these are all bogus.
Comment 4 Don Brutzman 2010-01-26 08:12:29 UTC
useful practices in this type of situation:

- report deficiencies in test tool if incorrect results are indeed reported

- silence all erroneous reported deficiencies by substituting acceptable alternatives, so that correctly reported warnings/errors are not inadvertently overlooked
Comment 5 Ian 'Hixie' Hickson 2010-01-26 08:43:55 UTC
- use a better tool. :-)