[whatwg] HTML5 competing with XML
giecrilj at stegny.2a.pl
Mon Jul 6 23:57:27 PDT 2009
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
insecure on the WWW.
Otherwise, you can think of MATH and SVG in HTML5 as an analogue of SCRIPT,
which is of course very weak - but you cannot verify the validity of
MathML and SVG using XML modularization (although the WHATWG does not
provide you with one). The DTD in question would of course be an upper
approximation of what is allowed.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg