W3C home > Mailing lists > Public > www-validator@w3.org > September 2002

XML Detection

From: Ian Anderson <ianderso@cogeco.ca>
Date: Thu, 26 Sep 2002 16:03:59 -0400
To: <www-validator@w3.org>
Message-ID: <000601c26597$dc3086b0$0101a8c0@enoch>

Just for the fun of it I decided to run my XHTML Strict document through
the Validator and override the DOCTYPE to HTML 4.01 Strict. The
validator ran it through as XML anyway. If I take the xmlns declaration
out of my document it runs it through the SGML validator and, as
expected, it fails to validate because of the stylesheet <link /> tag in
the header.

Is this a bug or a feature?

Example:
http://validator.w3.org/check?uri=http%3A%2F%2Fsociety2x03.dhs.org&chars
et=%28detect+automatically%29&doctype=HTML+4.01+Strict
Received on Thursday, 26 September 2002 16:03:56 GMT

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