W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2001

Re: More trivial suggestions for Tidy

From: Fred Bone <Fred.Bone@dial.pipex.com>
Date: Thu, 22 Feb 2001 17:39:34 -0000
To: html-tidy@w3.org
Message-ID: <3A954ED6.24492.C603ED@localhost>
On 22 February 2001 at 3:37, J. David Bryan wrote:

> On 21 Feb 2001, at 14:39, Eric Richards wrote:
> > (2)  it would be helpful to have the name of the attribute that has an
> > erroneous value (e.g. "null")....
> 
> Please give an example of what you mean.  If I have this line in a file to 
> be tidied:
> 
>   <p align="fizzle">text</p>
> 
> ...I get this warning from Tidy:
> 
>   line 16 column 1 - Warning: <p> unknown attribute value "fizzle"
> 
> Is this not what you want?

Well, it's not what he's *asking* for, which would be more like
  Warning: <p> unknown value "fizzle" for attribute "align"

And I think I agree, even though the bad value would usually be 
enough to identify the problem. Consider for example
 <td align="center" valign="center">
Received on Thursday, 22 February 2001 13:13:15 GMT

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