Re: [ANN] Beta test of the W3C Markup Validator (0.7.0 beta 1)

On Tue, 2005-07-12 at 14:06 +0100, Philip TAYLOR wrote:

> 	The MIME Media Type (text/html) for this document is used to serve
> 	both SGML and XML based documents, and no DOCTYPE Declaration was
> 	found to disambiguate it. Parsing will continue in SGML mode and
> 	with a fallback DOCTYPE similar to HTML 4.01 Transitional.
> 
> 	This page is not Valid -//RHBNC//DTD HTML 4.01 Augmented//EN!
> 
> 1) If there was no DOCTYPE declaration, how does it know that it
>     should be -//RHBNC//DTD HTML 4.01 Augmented//EN

If I understand this even remotely correctly, what the validator is
trying to tell you is _not_ that that there was _no_ doctype
declaration, but that the doctype declaration (whether present or not)
didn't help it in figuring out whether it should use SGML or XML parsing
mode.  If that's correct, the message should be clarified.

Others can probably describe and comment on the actual intended
functionality better than I, so I'll leave it to them.

Received on Tuesday, 12 July 2005 19:05:02 UTC