Re: Revised HTML/XML Task Force Report

On Jul 14, 2011, at 01:09 , Larry Masinter wrote:
> # XHTML requires element names to be lowercase, not XML.  In retrospect,
> # it would've made more sense for XHTML to require uppercase elements, as
> # this is how HTML parsers are supposed to normalize (and why Firebug,
> # etc. present the DOM using uppercase regardless of HTML/XHTML).  This
> # would have led to lots less script breakage for us application/xhtml+xml
> # die-hards.
> 
> So why can't 'application/xhtml5+xml' (i.e., some other MIME type) use uppercase elements?

What would that accomplish that putting an HTML parser at the front of your XML processing pipeline won't achieve far more cheaply and without requiring tinkering with undeployed media types?

-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Received on Thursday, 14 July 2011 11:18:34 UTC