W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Re: XHTML Validation

From: Klaus Johannes Rusch <KlausRusch@atmedia.net>
Date: Mon, 13 Nov 2000 20:46:28 CET
Message-Id: <200011132108.QAA24992@tux.w3.org>
To: <html-tidy@w3.org>
In <000101c04da3$bd4e30c0$fa21e540@IanEvans>, "Ian M. Evans" <ianevans@digitalhit.com> writes:
> Just trying to get my docs to pass the XHTML 1.0 validation. One part of a
> JavaScript is tripping it up twice (one for each &)
> { if ((typeof window.sidebar == "object") &&
> Error: character "&" is the first character of a delimiter but occurred as
> data
> Is there anything I can do manually or via Tidy to change this?

Where feasible the easiest way to handle Javascript code is to move it to a 
separate file. Otherwise place the whole script in a CDATA section.

Klaus Johannes Rusch
Received on Monday, 13 November 2000 16:08:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:49 UTC