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

inconsistency between html spec and validator

From: Thiemo Nagel <thiemonagel@gmx.de>
Date: Fri, 14 Jun 2002 19:05:32 +0200
Message-ID: <3D0A225C.E9373F74@gmx.de>
To: www-validator@w3.org


I believe there is an inconsitency between HTML 4.01 spec and validator

The parser validates this as correct:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

		<a href="bla"onclick="blupp">linktext</a>
		href="bla" onclick="blupp">linktext</a>

I believe it to be incorrect. HTML 4.01 spec states that attribute-value
pairs are seperated by spaces [1] whereas the above example has the
space ommited or is using whitespace such as newline and tabs and still
validates as correct.

[1]: http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.2.2

I have searched the web for more info about this (I think it must be
somewhere in the SGML spec) but have found none.

Any ideas?

best regards,

Thiemo Nagel
Received on Friday, 14 June 2002 13:04:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:33 UTC