Silently deprecating XHTML (was: HTML5 vs content type sniffing)

Anne van Kesteren wrote:

> The text/html syntax allows you to use XHTML in as
> far XHTML 1.x as text/html allowed you to use it.

I want missing explicit tags as clear errors, not as
optional.  Case-sensitive, unforgiving, that is as it
should be from my POV (=> easier to debug).

> no prefixes, but <br/> works

<br/> fails miserably with Netscape 3, I think you
mean <br />. 

> I suppose xml:lang is the only difference

Right, some "transitional" (~ forever) side effects
are ridiculous, fortunately xml:id wasn't around :-)

BTW, your diff memo could mention that lang="" (or
xml:lang="") are now permitted for XML compatibility.
That wasn't the case in XHTML 1, it was forced to 
stick to NMTOKEN (non-empty, as in HTML 4).  

 Frank

Received on Monday, 28 January 2008 11:42:46 UTC