Re: [whatwg] HTML5 competing with XML

2009-07-07 Thread Kristof Zelechovski
A clean way to insert extraneous elements into SGML is to use NOTATION entities. This does not work for HTML and it has never worked, although TBL did have such an idea for images at the very beginning. It cannot be done because it is extremely inconvenient for the author/publisher and very

[whatwg] HTML5 competing with XML

2009-07-06 Thread Anton Frattaroli
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.htm l Allowing XML namespaces to be inserted into HTML5 is a neat feature, but

Re: [whatwg] HTML5 competing with XML

2009-07-06 Thread Thomas Broyer
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

Re: [whatwg] HTML5 competing with XML

2009-07-06 Thread Tab Atkins Jr.
On Mon, Jul 6, 2009 at 2:47 PM, Thomas Broyert.bro...@gmail.com wrote: On Mon, Jul 6, 2009 at 9:17 PM, Anton Frattaroli wrote: 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

Re: [whatwg] HTML5 competing with XML

2009-07-06 Thread Ian Hickson
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