W3C home > Mailing lists > Public > www-validator@w3.org > November 1999

Stop guessing the DOCTYPE?

From: Terje Bless <link@tss.no>
Date: Sat, 6 Nov 1999 21:28:25 +0100
Message-Id: <199911062043.VAA06506@vals.intramed.rito.no>
To: W3C Validator <www-validator@w3.org>
[ Braindump: apologies if it's a bit hasty ]

Looking over the DOCTYPE guessing code recently, it occurs to me that this
is really ugly. I'm tempted to remove it, but that would significantly
impact the validators useability for certain things and documents. However,
this could have been worked around as a side-effect of a feature on the
TODO list. If the validator let you specify a DOCTYPE to use on the FORM,
you could use it to either override an existing DOCTYPE (this is what's on
the TODO list) _or_ to specify a DOCTYPE for documents lacking one.


I haven't looked at this specifically, but I /think/ this is an easy
feature to add. Does anyone have opinions on whether this is good enough to
justify killing the DOCTYPE guessing code? You want to chime in here
Gerald?
Received on Saturday, 6 November 1999 15:44:17 GMT

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