- From: Ville Skyttä <ville.skytta@iki.fi>
- Date: Tue, 12 Jul 2005 22:04:56 +0300
- To: www-validator@w3.org
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