W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

Strict tables

From: Bertilo Wennergren <bertilow@hem.passagen.se>
Date: Mon, 5 Jun 2000 01:05:21 +0200
Message-ID: <001f01bfce79$713f4600$fbe05dd5@chello.se>
To: <html-tidy@w3.org>

It seems Tidy doesn't like tables much.
Witness the following:

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Strict test</title>
</head>
<body>

<h1>How strict can you get?</h1>

<table summary="Table">
<tr>
<td>Table</td>
</tr>
</table>

</body>
</html>

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

Tidy (run from inside of HTMLKit) declares that 
"Document appears to be XHTML 1.0 Transitional".

Take out the table and Tidy happily declares the code to
be XHTML 1.0. Strict.

Last time I checked tables were still in the strict DTD.

PS. Doesn't anyone but me find it strange that the validator at
w3c does not validate XHTML code, but nevertheless declares it
valid as long as it's well-formed?

#####################################################################
                         Bertilo Wennergren
                 <http://purl.oclc.org/net/bertilo>
                     <bertilow@hem.passagen.se>
#####################################################################
Received on Sunday, 4 June 2000 19:02:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:43 GMT