You are correct that such a document should NOT be served as XHTML.
However, it also should not be REQUESTED that way. That's just silly.
Its a pathological case that you should never see in the wild. What
you might see is a case where a client accepts text/html and
application/xhtml+xml, and it prefers text/html. In such a case, the
server really ought to return the html version.
Andreas Prilop wrote:
On Mon, 8 Jun 2009, Michael A. Peters wrote:
What do you do with
Accept: application/xhtml+xml; q=0
I send the document as xhtml.
Why is it always the clueless who want to use XHTML with
Shane P. McCarron Phone: +1 763 786-8160 x120
Managing Director Fax: +1 763 786-8180
ApTest Minnesota Inet: firstname.lastname@example.org