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

XHTML vs. <meta>-only encoding declarations

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 27 Jun 2003 05:34:49 +0200
To: www-validator@w3.org
Cc: duerst@w3.org
Message-ID: <3f2bb568.162904504@smtp.bjoern.hoehrmann.de>


  There are a number of differences between the use of character
encoding information in XHTML documents among the W3C MarkUp and CSS
Validators which are confusing to a number of authors. This is one of

  Content-Type: text/html

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  <html xmlns='http://www.w3.org/1999/xhtml'>
       content='text/html;charset=iso-8859-1' />

The MarkUp Validator gives no errors / warnings / whatever, it just
tells the document is valid. The CSS Validator will treat the document
as UTF-8 encoded XML document and throw an error for the bad UTF-8
sequence. At least one of the validators should be changed to get
consistent results. Which and how?

Received on Thursday, 26 June 2003 23:35:16 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:19 UTC