W3C home > Mailing lists > Public > www-math@w3.org > November 2006

Re: [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>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
CC: www-math@w3.org, WHAT WG List <whatwg@whatwg.org>

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@metalab.unc.edu
Java I/O 2nd Edition Just Published!
Received on Sunday, 5 November 2006 13:03:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:38 UTC