[Bug 1500] XHTML-sent-as-text/html is parsed as XML

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





------- Comment #14 from shane@aptest.com  2007-04-30 20:32 -------
In what way?  XHTML documents are always XML, in particular for purposes of
validation. You cannot validate an XHTML document in "SGML" mode.  It makes no
sense.  Yes, the XHTML 1.0 Recommendation permits serving such documents with a
media type of text/html.  Yes, some existing user agents need XHTML to be
served that way so that they will swallow it. That doesn't say anything about
their parsing mode with regard to the W3C validator.  

If you like, I can get a formal resolution of the XHTML Working Group to this
effect, but I guarantee you this is the correct interpretation.

Received on Monday, 30 April 2007 20:32:06 UTC