Re: validator missing an error

* Jean Delvare wrote:
>> * Jean Delvare wrote:
>> >I could notice yesterday that though the validator will complain
>> >about<font size=+1>, asking for quotes around +1, it won't complain
>> >about<font size=-1>. It should, right?
>> 
>> No, see http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2
>> If the attribute value contains no characters but [A-Za-z0-9:.-_]
>> it may be left unquoted.
>
>Oh, sorry I missed that detail. Seems that I had stop reading after
>"(A-Za-z), digits". By the way, the validator says: "Error: an attribute
>value must be quoted if it contains any character other than letters
>(A-Za-z), digits, hyphens, and periods;", so colons and underscores are
>not mentioned, but should be according to the above URI.

Yes, but see http://www.w3.org/TR/html4/appendix/changes.html#h-A.1.1.2
The Validator would need a special error message for HTML 4.01 documents

Received on Thursday, 14 November 2002 08:52:08 UTC