Re: [VE][247] Add Subject Here

Jukka K. Korpela, Wed, 16 Nov 2011 18:32:26 +0200:
> <body><hr>>
> 
> and in Strict, character data is not allowed as content directly 
> inside <body>.

Then the Error message ought to be changed: 

     '''The sequence <FOO /> can be interpreted in at least two 
     different ways, depending on the DOCTYPE of the document. 
     For HTML 4.01 Strict, the '/' terminates the tag <FOO (with
     an implied '>').'''

The above sounds as if it is only with STRICT doctype that '/' 
terminates the tag. Whereas the correct thing is that it is the content 
model of the body element that differs depending on STRICT and 
TRANSITIONAL doctype.

> markup validation should do exact validation, without 
> dropping some rules, especially if its reports specifically refer to 
> HTML 4.01, in a rather formal tone at that.

Yes, it helps to track progress and differences if it is accurate. 
After a second and third thought, I agree that the validator do the 
right thing - except for the fact that the very error message is 
contrived.
-- 
Leif H Silli

Received on Wednesday, 16 November 2011 21:23:58 UTC