logo       

[ tidy-Bugs-1260877 ] colspan incorrectly marked as proprietary: msg#00034

web.html-tidy.tracker

Subject: [ tidy-Bugs-1260877 ] colspan incorrectly marked as proprietary

Bugs item #1260877, was opened at 2005-08-16 15:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
Priority: 5
Submitted By: Jeroen Ruigrok/Asmodai (asmodai)
Assigned to: Nobody/Anonymous (nobody)
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.

----------------------------------------------------------------------

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>
Google Custom Search

News | FAQ | advertise