W3C home > Mailing lists > Public > www-validator@w3.org > March 2003

Re: validation in Opera

From: Nick Kew <nick@webthing.com>
Date: Sat, 15 Mar 2003 02:39:32 +0000 (GMT)
To: David Bryant <davidbryant@att.net>
Cc: Håkon Wium Lie <howcome@opera.com>, <www-validator@w3.org>
Message-ID: <20030315022743.M1228-100000@fenris.webthing.com>

On Fri, 14 Mar 2003, David Bryant wrote:

> I understood you to be asking for a special access hook into the
> W3C validator that would _assume_ the presence of a <!DOCTYPE>
> statement even when no such statement was present.

Nope.  A default DTD does not imply a DOCTYPE.

> Since the use of <!DOCTYPE> is part of the enunciated standards,
> I couldn't see why such an assumption should ever be made.

DOCTYPE is mandated by W3C HTML standards, and its absence is an error.
I think the point was that the W3 validator treats that error as fatal,
and that that may be having a negative effect by turning novice users
away from validation altogether.

By contrast, Page Valet treats the error as non-fatal, and proceeds to
parse the page after reporting it.

Outside of HTML, there is no universal requirement for a DOCTYPE either
for SGML or XML.

-- 
Nick Kew
Received on Friday, 14 March 2003 21:39:38 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 8 December 2021 15:25:47 UTC