Is it a bug ?

I'm using your tidy for compute some html web pages and i have encountered a
page
like the following page

Here is an html page :

<HTML>
<HEAD>
</HEAD>
<SCRIPT>
<!--
function notInMyHeader() {
	document.write("I'AM NOT IN THE HEADER");
}
// -->
</SCRIPT>

<FRAMESET>
	<FRAME src="myImportFrame">
</FRAMESET>

</HTML>


My problem is that the frameset is deleted because a <body> is inserted
to encapsulate <SCRIPT> and frameset is not allowed in this <body>.

Tidy should not move the script into <HEAD>
And consider the document as a frameset document ?

Thanks for attention.



Sébastien Bardoux
Company: Netcrawling
Mail: seb@netcrawling.com

Received on Friday, 28 July 2000 13:51:55 UTC