|
[ tidy-Bugs-1260877 ] colspan incorrectly marked as proprietary: msg#00039web.html-tidy.tracker
Bugs item #1260877, was opened at 2005-08-16 13:00 Message generated for change (Settings changed) made by arnaud02 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390963&aid=1260877&group_id=27659 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: HTML/XML/XHTML Parser Group: Current - all platforms >Status: Pending Resolution: Invalid Priority: 5 Submitted By: Jeroen Ruigrok/Asmodai (asmodai) Assigned to: Björn Höhrmann (hoehrmann) Summary: colspan incorrectly marked as proprietary Initial Comment: A DocBook/XML 4.4 file gets transformed with xsltproc with docbook-xsl 1.68.1 to a XHTML file. The preamble of the resulting file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> It has some constructs like: <td align="left" valign="top" colspan="2"> running tidy with: tidy --doctype transitional --output-xhtml yes -im -wrap 78 -utf8 faq.html gives me: line 15 column 319 - Warning: <tr> proprietary attribute "colspan" HTML 4.01 specification, Section 11.2.6 Table cells: The TH and TD elements: <!ATTLIST (TH|TD) -- header or data cell -- %attrs; -- %coreattrs, %i18n, %events -- [...snip...] colspan NUMBER 1 -- number of cols spanned by cell -- [...snip...] > XHTML 1.0 specification: Section 1: XHTML 1.0 (this specification) is the first document type in the XHTML family. It is a reformulation of the three HTML 4 document types as applications of XML 1.0. Section 4 - Differences with HTML 4 - lists nothing that has changed with regard to HTML 4.0 tables and its child elements. Ergo: tidy is incorrect in flagging this. Both for Strict as for Transitional. ---------------------------------------------------------------------- Comment By: Björn Höhrmann (hoehrmann) Date: 2005-08-16 13:28 Message: Logged In: YES user_id=188003 Please re-read the error message, Tidy complains about colspan on <tr> not on <td> or <th>. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390963&aid=1260877&group_id=27659 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ tidy-Bugs-1207443 ] XHTML output doesn't conform to the DTD: 00039, SourceForge.net |
|---|---|
| Next by Date: | [ tidy-Bugs-1210752 ] -raw adds XML declaration: 00039, SourceForge.net |
| Previous by Thread: | [ tidy-Bugs-1260877 ] colspan incorrectly marked as proprietaryi: 00039, SourceForge.net |
| Next by Thread: | [ tidy-Bugs-1260877 ] colspan incorrectly marked as proprietary: 00039, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |