Bug report

I think I have found a bug in html validator. Although I'm not completely
sure, because I don't know much about the html specifications. If you want
to check, follow these urls:

1. Errors with head, style and body elements:
http://koti.mbnet.fi/palttis/demo.html
http://validator.w3.org/check?uri=http%3A%2F%2Fkoti.mbnet.fi%2Fpalttis%2Fdem
o.html&charset=%28detect+automatically%29&doctype=%28detect+automatically%29

2. No errors:
http://koti.mbnet.fi/palttis/demo2.html
http://validator.w3.org/check?uri=http%3A%2F%2Fkoti.mbnet.fi%2Fpalttis%2Fdem
o2.html&charset=%28detect+automatically%29&doctype=%28detect+automatically%2
9

Only difference between these two cases is the /-mark at the end of the link
tag at case 1, like this:

1. <link rel="stylesheet" type="text/css" href="main.css" />

2. <link rel="stylesheet" type="text/css" href="main.css">

So, to me this syntax seems to be ok. And anyway, validator is complaining
about the head, style and body elements, instead of this link element. A
bug?

-Mikko Paltamaa

Received on Monday, 14 October 2002 17:18:07 UTC