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

[whatwg] HTML5 competing with XML

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 6 Jul 2009 22:36:23 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0907062235290.1053@hixie.dreamhostps.com>
On Mon, 6 Jul 2009, Anton Frattaroli wrote:
> 
> Allowing XML namespaces to be "inserted" into HTML5 is a neat feature,
> but challenges its definition as a subset of XML.

As others have noted, HTML5 in text/html isn't XML. If you want to use 
HTML5 with XML you have to use XHTML5, which does require you to declare 
your namespaces, as per the XML specification.


> 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?

We don't have DTDs in HTML5.


> This is really challenging the whole direction the w3c has pointed out 
> for SGML.

HTML5 doesn't use SGML at all.

HTH,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 6 July 2009 15:36:23 UTC

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