w3c validation enigma--xhtml
The w3c validation tool (http://validator.w3.org/) requires that various characters within xhtml be escaped. For example, "&"must be coded as "&" and "<" must be coded as "<". So far so good.
My question relates to the situation where these characters are contained within a javascript script. I think it is clear that the escaped coding is NOT to be used within scripts. After all, w3c is not intended to validate script content. And the script processors do not know how to process escaped characters. Thus, in http://www.marainlaw.com/page.php?here=index, the validator disregards the ">" characters in its morning/afternoon/evening script. So far, so good.
What is puzzling me is that on a different page that I am trying to develop, the validator is spitting out error messages concerning characters within a script that, were those not within a script, would have to be escaped. The errant page is http://www.marainlaw.com/page.php?here=test.
What am I missing?
A.