W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

Re: Tidy of Script contents desc += "</td></table>";

From: Rzepa, Henry <h.rzepa@ic.ac.uk>
Date: Tue, 5 Sep 2000 09:21:53 +0100
Message-Id: <p05001101b5da59c79fc5@[]>
To: html-tidy@w3.org

>The solution for Javascript is easy.  Any time you would have had
>e.g. "</td>", write "<" + "/td>" instead.   
>	Tidy's behaviour is therefore correct for HTML4.01 documents. (Though I
>	expect XHTML is stricter, and requires CDATA element content to use &lt;/

Sounds like we need a "tidy" for JavaScripts, but the bigger problem seems insuperable.

Thus ensuring that dynamic HTML is written by JavaScript
 in an XHTML consistent manner
is one thing, ensuring that the resulting HTML is itself  XHTML  compliant
is a far worse problem..

The use of  JavaScript seems to be increasing, but boy is it going to cause
problems in the future!

Does anyone know of any  tools that can even begin to look
at the above problems of handling  JavaScripts?  Likewise, are
there any tools for validating  the stylesheet components?

Henry Rzepa. +44 (0)20 7594 5774 (Office) +44 (0)20 7594 5804 (Fax)
Dept. Chemistry, Imperial College, London, SW7  2AY, UK. 
Received on Tuesday, 5 September 2000 04:24:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:48 UTC