[whatwg] HTML5 competing with XML

Thomas Broyer t.broyer at gmail.com
Mon Jul 6 12:47:00 PDT 2009

On Mon, Jul 6, 2009 at 9:17 PM, Anton Frattaroli wrote:
> I just read about how other markup languages (e.g. MathML, SVG) will be
> implicitly namespace’d when put into an appropriate tag here:
> http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-July/020740.html
> Allowing XML namespaces to be “inserted” into HTML5 is a neat feature, but
> challenges its definition as a subset of XML.  I don’t believe the XML 1.0
> specification allows this.

Implicit namespaces are a specificity of the text/html serialization;
on the other hand, application/xhtml+xml is XML and you have to play
by the XML rules: declare namespaces and eventually bind them to
prefixes; HTML5 doesn't change those rules.

> Mixing markup languages also makes the DOCTYPE declaration pretty much null
> and void.  What’s the point of a DTD if you’re going to add in other DTDs?

There's no DTD for HTML5, so…

Thomas Broyer

More information about the whatwg mailing list