Re: xmlns in HTML5 (was: Telecon Agenda- Thursday 1500 UTC)

On Fri, 17 Jul 2009 00:32:19 +0200, Ian Hickson <ian@hixie.ch> wrote:

> On Thu, 16 Jul 2009, Steven Pemberton wrote:
>>
>> So I can send XHTML5 as text/html if I want.
>
> No, you can't. If you send a document as text/html, then _by definition_
> it is an HTML5 document, not an XHTML5 document. There is no other way to
> distinguish them than the MIME type.

I very much disagree. It's my document, I get to say what it is. I  
regularly send other types of documents to browsers, for instance  
XHTML+XForms, XHTML+SVG, and I send them as text/html because that is  
unfortunately the only interoperable way to get them into browsers. You  
might say that it is a cowpath I am forced to take.

Thanks to plugins, javascript, and similar techniques, the documents do  
what I require of them. When I say "text/html" I don't mean "here comes an  
HTML document", I mean "I want this in the browser".

Best wishes,

Steven

Received on Friday, 17 July 2009 10:36:31 UTC