1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
2<html>
3<head>
4<title>[#427826] Script source needs escaping/CDATA section</title>
5<script type="application/ecmascript">
6<!--
7  function isLessThan()
8  {
9    var a = 2, b = 3;
10    if (a < b) alert("a less than b");
11    return ( a < b );
12  }
13-->
14</script>
15<script type="text/javascript" language='JavaScript'>
16  <!--
17  alert("...");
18  //-->
19</script>
20<script type="text/javascript" language='JavaScript'>
21  function loop_de_loop()
22  {
23    for ( ix=0; ix < 5; ++ix )
24    {
25      alert( "Bob's yer uncle " + ix );
26    }
27  }
28</script>
29<script type="text/javascript" language='JavaScript'>
30//<![CDATA[
31  function round_again()
32  {
33    for ( ix=0; ix < 5; ++ix )
34    {
35      alert( "Shivver me timbers " + ix );
36    }
37  }
38//]]>
39</script>
40</head>
41<body onload="isLessThan()">
42<p>If converted to XML/XHTML, the &lt; in the javascript source
43above causes problems for XML tools.</p>
44</body>
45</html>
46
47