Anne van Kesteren

Re: Sniffing XHTML sent as text/html

There, you are using HTML, not XHTML; the W3C says so

related
Re: Sniffing XHTML sent as text/html