W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] HTML5 competing with XML

From: Thomas Broyer <t.broyer@gmail.com>
Date: Mon, 6 Jul 2009 21:47:00 +0200
Message-ID: <a9699fd20907061247n2f86255dg123a66cc9bdc286e@mail.gmail.com>
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
Received on Monday, 6 July 2009 12:47:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC