Re: XHTML Validation

* "Ian M. Evans" <ianevans@digitalhit.com> wrote:
| >Is your script enclosed in comment marks to avoid entity
| >expansion?

| I noticed that shortly after I wrote the email. BTW, I had
| tried using the CDATA tags around the scripts before but I
| was getting JavaScript errors in the browser.

When Dave asked how to deal with this issue, I responded

  <script type="text/javascript">
  <!-- --> <![CDATA[ /> <!--

    // script data without ]]> goes here

  // --> <! ]]>
  </script>

would be a working and conformant method to 'escape' script data. Since I got
no reply, i try it now again :-)

And as I'm here, I ask you, Dave, again, to add the german translation of
XHTML 1.0 to http://www.w3.org/MarkUp/translations

regards,
--
Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981ASK ° http://bjoern.hoehrmann.de
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://www.websitedev.de/
..weaving a secure, well-formed, standard compliant WWW for =everyone=..

Received on Monday, 13 November 2000 17:25:41 UTC