Re: Strange results with "HTML Validator ( based on Tidy )"

Your example boils down to:
<html>
<head><title>ABC</title></head>
<body>
<ol><li >x</li>
</ol
<div>ABC</div>
</body>
</html>

I think that, in </ol <div>, the unknown attribute gets deleted.
Then a dangling </div> is found and eliminated.
Tidy is not a validator per se but tries to fix mistakes as it goes
along. Granted, the error reporting could be more explicit.

Please, fill a bug report re. to error reporting if you wish so.

Regards,

----- Original Message ----- 
From: "Salek Talangi" <Salek.Talangi@gmx.net>
Newsgroups: gmane.comp.web.html-tidy.user
Sent: Wednesday, March 09, 2005 1:22 PM
Subject: Strange results with "HTML Validator ( based on Tidy )"


> Hello,
>
> I'm using Firefox 1.0.1 with the "HTML Validator ( based on Tidy )"
> extension (http://users.skynet.be/mgueury/mozilla/)
> which runs tidy on the fly while you load a page.
>
> I noticed two errors while validating a XHTML1.1 page and
> attached the two html files as zip archive.
>
> 1st error (Error_1.html):
> Tidy (or the extension) say the HTML is valid although
> the ordered list is closed by "</ol" (missing ">" )
>
> 2nd error (Error_2.html):
> This file has the same error with the missing ">".
> The extension says there is one error. If you doubleclick
> the status bar to see the error description, tidy finds no
> error. Quite strange in my opinion.
>
> Are these bugs known?
> Do you know where they come from?
>
> Best regards, keep up the good work on this nice tool,
> Salek Talangi
>
> -- 
> DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen!
> AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl 

Received on Wednesday, 9 March 2005 16:32:00 UTC