W3C home > Mailing lists > Public > www-forms@w3.org > September 2006

Re: XHTML and MIME

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 02 Sep 2006 08:52:37 +0100
To: public-appformats@w3.org
Cc: www-forms@w3.org
Message-ID: <op.te8qtzhn64w2qv@id-c0020>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:06 GMT