Dear sirs,

There is an error in http://www.w3.org/TR/2002/REC-xhtml1-20020801.

The example 'correct' code in sec. 4.8 does not work in either Firefox or IE.  
Both browsers throw a JavaScript error for the <![CDATA[ tag.

The following corrected version does work in both browsers (note the '//' in 
front of the CDATA tag and its closing tag):

<script type="text/javascript">
//<![CDATA[
.... unescaped script content ...
//]]>
</script>

Please make this correction in the next edition.

Reply via email to