[whatwg] HTML5 competing with XML

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
JavaScript code with a DTD either.  And you can have a DTD for XHTML5 with
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.

HTH,

Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090707/592cbcae/attachment.htm>

Received on Monday, 6 July 2009 23:57:27 UTC