W3C home > Mailing lists > Public > www-validator@w3.org > July 2005

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

From: Ville Skyttä <ville.skytta@iki.fi>
Date: Tue, 12 Jul 2005 22:04:56 +0300
To: www-validator@w3.org
Message-Id: <1121195096.22425.75.camel@localhost.localdomain>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:19 GMT