Re: XHTML and MIME

On Fri, 01 Sep 2006 14:41:02 +0100, Jim Ley <jim@jibbering.com> wrote:
> So render all the page - it's not XML, so render it using the HTML  
> version -  which is what you would've done if your algorithm had decided  
> it was HTML, nothing is lost other than the parsing time to first  
> consider it XML.

Consider a "valid XHTML document" with the following in some script:

   var x = document.getElementsByTagName('P');

Or the expectation from so many authors that the <body> element covers the  
whole canvas... There's way too many things that could go wrong. Switching  
on the media type is really the only viable way of doing this switch, imho.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Saturday, 2 September 2006 07:53:21 UTC