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
Cc:
Message-Id: <E1DvDKX-0003CU-Eo@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1762





------- 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:48 GMT