[thelist] XHTML1.1 Validation errors with Javascript

Kristof Neirynck k.neirynck at belgacom.net
Mon Oct 27 13:11:32 CST 2003

Tim Burgan wrote:

> I understand that an external file is the easy option, but I'd much
> rather have the javascript embedded.

I can't think of one reason why you would want to do that.

> I just wondering now, why my page validates using CDATA, but my
> document displays javascript errors. If I remove CDATA, I have not
> problems.

I wonder why "<!--" and "-->" don't generate errors.
That "<![CDATA[" and "]]>" generate errors is completely clear to me.
What does it mean?
It shure as hell isn't normal javascript.


More information about the thelist mailing list