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

Re: tidy and scripts

From: <jany.quintard@fr.ibm.com>
Date: Fri, 7 Sep 2001 11:50:03 +0200 (MEST)
To: html-tidy@w3.org
cc: Bjoern Hoehrmann <derhoermi@gmx.net>
Message-ID: <Pine.LNX.3.96.1010907114439.9061B-100000@pc4990.parislab.fr.ibm.com>
On Fri, 7 Sep 2001, Bjoern Hoehrmann wrote:

> * Jany Quintard wrote:
> >Here is an input (very simple):
> >.../...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
> ><html
.../...
> >and the output (I run tidy with options -i -raw)
> 
> Current Tidy (see http://tidy.sf.net/) returns
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
> 
> <html>
>   <head>
>     <meta name="generator" content="HTML Tidy, see www.w3.org">
> 
>     <title>Titre</title>
>   </head>
> 
>   <body>
> <script type="text/javascript">
> document.writeln ("<\/frameset><\/frameset><\/frameset>");
> </script>
>   </body>
> </html>
> 
> >So, the <\/frameset> are not what I want.
> 
> But what HTML requires; this shouldn't cause any problems, while your
> invalid HTML does.
> 
> regards,
Well Bjoern, it did not with the browsers I use (I know, they are able to
use very dirty HTML).
But, I do not feel comfortable with the sequence
<\/script
><\/body
><\/html
>
which precedes the </script> end tag. Does HTML require this too ?
Jany.

     Any views or opinions expressed are solely those of the author
           and do not necessarily represent those of IBM.
------------------------------------------------------------------------
Jany Quintard  | IBM Paris Laboratory
Received on Friday, 7 September 2001 05:50:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:46 GMT