- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Fri, 01 Jul 2005 03:02:19 +0200
- To: Ármann <armannragnar@simnet.is>
- Cc: <www-validator-css@w3.org>
* Ármann wrote: >Well, I was going to validate my CSS, and also had JavaScript code. >I got the error that I should first validate my XML, and that I had >a <a that did not close. The problem was that <a was not a link, but >code inside the JavaScript tag. In XHTML, which you appear to be using, you must escape special characters like & and < even in <script> elements. The XHTML 1.0 Recommendation recommends to use external scripts if you have such characters in the script and want to serve the document to older browsers. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Received on Friday, 1 July 2005 01:02:32 UTC