<!-- adapted from http://alpha-geek.com/example/crazy_html.html
     see http://www.alpha-geek.com/2004/01/02/example_of_hard_to_parse_html.html
     and http://www.alpha-geek.com/2003/12/31/do_not_do_not_parse_html_with_regexs.html
     and http://diveintomark.org/archives/2003/06/12/how_to_consume_rss_safely
     for background -->
<rss version="2.0">
<channel>
<title>Crazy RSS</title>
<description>Contains unsafe script</description>
<link>http://crazy.example.com/</link>
<language>en</language>
<item>
<description>
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

&lt;html xmlns="http://www.w3.org/1999/xhtml">
&lt;head>
&lt;title>Crazy HTML -- Can Your Regex Parse This?&lt;/title>
&lt;/head>
&lt;body    notRealAttribute="value"onload="executeMe();"foo="bar"

>
&lt;!-- &lt;script> -->

&lt;!-- 
	&lt;script> 
-->

&lt;/script>


&lt;script


>

function executeMe()
{




/* &lt;script> 
function am_i_javascript()
{
	var str = "Some innocuously commented out stuff";
}
&lt; /script>
*/

	
	
	
	
	
	
	
	
	alert("Executed");
}

                                   &lt;/script



>
&lt;h1>Did The Javascript Execute?&lt;/h1>
&lt;div notRealAttribute="value
"onmouseover="
executeMe();
"foo="bar">
I will execute here, too, if you mouse over me
&lt;/div>

&lt;/body>
&lt;/html>
</description>
</item>
</channel>
</rss>