Re: Bug in the W3 validation code?

On Sat, 16 Apr 2005, Ulf Erlingsson wrote:

> When run on this page: lindorm.com/home.html, the code says that there
> is a </div> missing in the end. The page was completely machine
> generated (Canvas 8), and my manual counting of <div> and </div>
> results in an equal number.

Computers count better than humans. I just used Emacs, and it told
there are 43 <div> tags and 42 </div> tags.

I think you need a better authoring tool. A tool that spits out a soup of
<div> tags, and invalid soup at that, is hardly useful. Does it routinely
add alt="" to images? You are now saying that your mission statement is
purely decorative, among other things. The markup is also very difficult
to read and maintain and debug, since it has pieces of style sheet
scattered around into the tags (style attribites).

> Is there a bug in the validation code?

There are bugs in any useful software, but virtually all assumed bugs
are caused by errors in people's markup and failures to understand
why they are errors.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Sunday, 17 April 2005 06:42:29 UTC