W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2007

Error in http://www.w3.org/TR/2002/REC-xhtml1-20020801

From: Hills, Samuel W. (SSC-NASA)[Jacobs Technology] <Samuel.W.Hills@nasa.gov>
Date: Fri, 14 Sep 2007 15:10:35 -0500
Message-ID: <FC0301B9EBE2CC44A4D3157021D437E60A1310@NDMSEVS32A.ndc.nasa.gov>
To: <www-html-editor@w3.org>
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">
.... unescaped script content ...

Please make this correction in the next edition.
Received on Sunday, 16 September 2007 23:36:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:39:50 UTC