W3C home > Mailing lists > Public > www-validator@w3.org > May 2000

XHTML Validation broken

From: John Doe <john.doe@techie.com>
Date: Wed, 24 May 2000 15:33:16 -0400 (EDT)
Message-ID: <383197093.959196789869.JavaMail.root@web307-mc.mail.com>
To: www-validator@w3.org
The W3C validator is seriously broken with respect to XHTML at this point.

It recognises that <P> != <p> but it doesn't flag <P> as an error. Same
for all other tags.

It doesn't enforce required attributes. This validates:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>bad html</title>
</head>
<body>
<img/>
</body>
</html>

Note the <img> tag which is missing two required attributes. The W3C
validator -does- catch this in HTML 4.0 files.

It doesn't even catch parent/child conflicts. In the above xhtml <img/> is
within <body> and this is an error. This is caught in HTML 4.0 Strict
documents.

______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup
Received on Tuesday, 30 May 2000 14:41:41 GMT

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