W3C home > Mailing lists > Public > www-validator@w3.org > October 2002

Bug report

From: Mikko Paltamaa <mikko.paltamaa@welho.net>
Date: Mon, 14 Oct 2002 15:37:38 -0400 (EDT)
Message-ID: <000501c273b9$0d56c6d0$c0b8f3d5@AthlonXP1600PlusAt1450MHz>
To: <www-validator@w3.org>




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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:04 GMT