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

[Bug 1762] UTF-8 BOM in XHTML breaks CSS validator

From: <bugzilla@wiggum.w3.org>
Date: Wed, 20 Jul 2005 12:05:41 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1DvDKX-0003CU-Eo@wiggum.w3.org>


------- Additional Comments From bjoern@hoehrmann.de  2005-07-20 12:05 -------
Okay, it seems this happens if Content-Type:text/html with no charset parameter 
and a BOM. So this is probably the result of how the HTML parser with its XHTML 
sniffing interact with xerces. The Validator might be transcoding to UTF-8 
before it passes the document to Xerces and in a character stream a bom may 
indeed not appear. It seems to work for application/xhtml+xml and text/html 
with a charset parameter in the HTTP header.
Received on Wednesday, 20 July 2005 12:05:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:11 UTC