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

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