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

Should -omit drop body tag properties?

From: Terry Teague <teague@mailandnews.com>
Date: Wed, 26 Apr 2000 01:16:22 -0700
Message-Id: <l03130303b52c5304445e@[17.219.108.47]>
To: html-tidy@w3.org
Cc: lkmorland@undergrad.math.uwaterloo.ca
Dear Folks,

One of the users of the Mac OS version of Tidy reported a problem with the
13 Jan 00 version, that I have also reproduced with the Windows/MS-DOS
version of Tidy (tidy13jan00.exe). It wasn't clear to me what the behaviour
should be. Perhaps the experts could advise.

Using a command line like :

tidy13jan00 -f liam.err -omit liam.htm > liam.out

with the following input :

Input:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     <meta name="generator" content="HTML Tidy, see www.w3.org">
     <title>
       Final Exam Questions for Turing
     </title>
     <body text="#000000" bgcolor="#ffffff" link="#ff161b" vlink="#8b1e26"
alink="#ff1116">
     <img src="/~cs120/cs120logo.gif" align="left" alt="[cs120 logo]">
     <center>
       <h1>
         Final Exam Questions for Turing
       </h1>
     </center>


produces the following output :

Output:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     <meta NAME="generator" CONTENT="HTML Tidy, see www.w3.org">
     <title>
       Final Exam Questions for Turing
     </title>
     <img SRC="/~cs120/cs120logo.gif" ALIGN="left" ALT="[cs120 logo]">
     <center>
       <h1>
          Final Exam Questions for Turing
       </h1>
     </center>


No warnings/errors are reported.

The user's question : "When I have Tidy set not to generate XHTML, it drops
the Body tag, resulting in the loss of the bgcolor, etc.". Although the
user was originally using a config file that had a "hide-endtags: yes"
option, we later reproduced the problem by specifying the "-omit" parameter
on the "command line", without using a config file.

So what should the behaviour be?

Regards, Terry
Received on Wednesday, 26 April 2000 04:16:34 GMT

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