- From: Jens Meiert <jens.meiert@erde3.com>
- Date: Sat, 28 Jun 2003 16:07:46 +0200 (MEST)
- To: Toby A Inkster <tobyink@goddamn.co.uk>
- Cc: airickhsu@yahoo.com, www-html@w3.org
> It is mainly to avoid people doing silly things like: > > <p>Here is a > <script> > document.write("complete paragraph<"); > document.write("/p>"); > </script> The silly thing is to generate markup by scripts (imagine if JavaScript is disabled). I really wonder why the reason shall be 'to avoid doing silly things' since there are naturally quite far more possibilities to do something wrong than to do anything right. You will never prevent people from doing something silly, so a specification will not either. Jens Meiert. > On Fri, Jun 27, 2003 at 05:54:04PM -0700, Eric Hsu wrote: > | I'm trying to figure out what all this talk about document.write() not > wo > rking > | in xhtml 1.1. Are there any websites that may elucidate the problem and > the > | solution? > > It is mainly to avoid people doing silly things like: > > <p>Here is a > <script> > document.write("complete paragraph<"); > document.write("/p>"); > </script> > > -- > Toby A Inkster BSc (Hons) ARCS | mailto:tobyink@goddamn.co.uk | > pgp:0x6A2A7 > D39 > aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:tai@jabber.linux.it > http://www.goddamn.co.uk/tobyink/ | "You've got spam!" > playing://(nothing) > -- Jens Meiert Steubenstr. 28 D-26123 Oldenburg Mobil +49 (0)175 78 4146 5 Telefon +49 (0)441 99 86 147 Telefax +49 (0)89 1488 2325 91 Mail <jens@meiert.com> Internet <http://meiert.com>
Received on Saturday, 28 June 2003 10:07:53 UTC