W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

Re: Weird problem

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 08 Jul 2004 23:32:43 +0200
To: Aleksi Suhonen <ams@modeemi.cs.tut.fi>
Cc: www-validator@w3.org
Message-ID: <40efbd26.1534478152@smtp.bjoern.hoehrmann.de>

* Aleksi Suhonen wrote:
>Seuraavasti kirjoitti Ville =?ISO-8859-1?Q?Skytt=E4?=:
>} > I spent some time reading the FAQs and trying to debug my page
>} > and could find a reason why the validator rejects the following page:
>
>} > http://modeemi.cs.tut.fi/~ams/uus/validator_error.html
>
>} 404 Not Found...
>
>Ah, sorry. Should always use cut'n'paste ... :-)
>
>http://modeemi.cs.tut.fi/~ams/uus/validation_error.html

You confuse HTML and XHTML syntax. Your document uses the /> notation
and an XML declaration, so you apparently want to use XHTML. Then you
have to change the document type declaration which currently identifies
HTML 4.01, use e.g.

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

instead.
Received on Thursday, 8 July 2004 17:33:27 GMT

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