Are CDATA tags ever necessary in script tags and if so when?
In other words, when and where is this:
When you are going for strict XHTML compliance, you need the CDATA so less than and ampersands are not flagged as invalid characters.