Re: Bug in the HTML Validator

On Sun, Aug 06, 2006 at 10:52:54AM -0400, magick wrote:
> I noticed this when I added something new to one of my web documents 
> then tried to validate it, found it to be fine.  Then checked with the 
> TIDY extension for Firefox and found the problem.  It's fixed now in the 
> document, but the validator should have picked it up.

> attribute='value"'
> 
> You can see the problem, it should either be attribute='value' or 
> attribute="value"

No. Double quote characters are preferectly acceptable as data in
attribute values delimited with single quotes (if delimited with
double quotes then they need to be escaped, but that isn't the case
here).

Looks like you found a false positive bug in Tidy.

-- 
David Dorward                                      http://dorward.me.uk

Received on Sunday, 6 August 2006 15:04:10 UTC