W3C home > Mailing lists > Public > www-validator@w3.org > May 2008

Re: [VE][47] A non-empty XHTML page with correct <?xml ... ?> header doesn't get validated at all

From: Andreas Prilop <prilop2008@trashmail.net>
Date: Fri, 16 May 2008 17:32:30 +0200 (MEST)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.63.0805161723100.24445@s5b004.rrzn.uni-hannover.de>

On Fri, 16 May 2008, Ewgenij Gawrilow wrote:

> Validating http://www.math.tu-berlin.de/coga/people/index.xhtml
> Error [47]: "end of document in prolog"

Your server sends

  Content-Type: application/xhtml+xml
  Content-Encoding: utf-8

That is wrong. It must be

  Content-Type: application/xhtml+xml; charset=utf-8

However, what's the point? Serve your pages as text/html if you want
to publish something on the web.
Received on Friday, 16 May 2008 15:33:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:08 UTC