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

Selected DOCTYPE disregarded

From: Andreas Prilop <nhtcapri@rrzn-user.uni-hannover.de>
Date: Thu, 13 Nov 2003 18:49:20 +0100 (MET)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.44.0311131834350.4320-100000@s5b004>

I have three test pages:

<http://www.unics.uni-hannover.de/nhtcapri/temp/doctype1.html>
   without DOCTYPE

<http://www.unics.uni-hannover.de/nhtcapri/temp/doctype2.html>
   with DOCTYPE incorrectly after <html>

<http://www.unics.uni-hannover.de/nhtcapri/temp/doctype3.html>
   with DOCTYPE incorrectly after <head>

  [ Of course, this isn't for fun but I actually found such pages
    on the web. ]

What bothers me is that the validator disregards the manually selected
DOCTYPE for doctype2.html and doctype3.html:

<http://validator.w3.org/check?uri=www.unics.uni-hannover.de/nhtcapri/temp/doctype1.html&doctype=HTML+4.01+Strict>

<http://validator.w3.org/check?uri=www.unics.uni-hannover.de/nhtcapri/temp/doctype2.html&doctype=HTML+4.01+Strict>

<http://validator.w3.org/check?uri=www.unics.uni-hannover.de/nhtcapri/temp/doctype3.html&doctype=HTML+4.01+Strict>
Received on Thursday, 13 November 2003 12:50:05 GMT

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