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

[whatwg] HTML5 competing with XML

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Tue, 7 Jul 2009 08:57:27 +0200
Message-ID: <A491340E7330458A9132E55807AEB068@POCZTOWIEC>
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

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