W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] The problems with namespaces in text/html (Was: MathML-in-HTML5)

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Sun, 05 Nov 2006 08:02:52 -0500
Message-ID: <454DE0FC.70806@metalab.unc.edu>
Lachlan Hunt wrote:

>> I'm not sure why that bothers you. As long as things are well-formed, 
>> what's the harm?
> text/html *does not* enforce well-formedness and *never will*.  That's 
> the problem!

application/xhtml+xml doesn't enforce well-formedness either. That's the 
job of the parser.

If a server sends text/html, and the resulting character stream parses 
as well-formed, then it is well-formed. If it doesn't, it isn't. What 
matters more is what the stream is, not what the server says it is. 
(Yes, I know there are a few details about character encoding detection 
that come into play here. That doesn't change the point, though.)

?Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
Received on Sunday, 5 November 2006 05:02:52 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC