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

Re: HTML Testcase for W3 validator

From: David Dorward <david@dorward.me.uk>
Date: Thu, 31 May 2012 13:44:18 +0100
Cc: www-validator@w3.org
Message-Id: <AA147BC2-6299-48CF-9791-BF87BCDCB8E5@dorward.me.uk>
To: Mike Turpin <mike@hiwebman.com>

On 30 May 2012, at 09:21, Mike Turpin wrote:
> It was a typo, due to a full stop being placed after a </p> tag.
> I have two questions:
>  1) Is it valid HTML?

Character data is allowed directly inside the body element in XHTML 1.0 Transitional (which you are using), so yes.

It isn't, however, in XHTML 1.0 Strict, so if you were using that instead of the Transitional DTD then the validator would have flagged it.

>  2) If it is valid, could this still be a warning added to the w3 validator?

I'm not an expert on the internals of the validator, but from what I understand it wouldn't be trivial to implement such a warning. 

David Dorward
Received on Thursday, 31 May 2012 12:45:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:26 UTC