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


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