This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
on my site a have quite a bit javascript, and when i try to validate my page as xhtml strict, it searches inside the script tages. as i'm using this script to fill in a div (ajax style :D). my real problem is that since there are for loops in it, it thinks that the "<"'s are the beginning of a new element. i just want my site to pass :'( but i won't over a silly thing like this. anyway, well done on everything, keep up the standards* and you guys are awesome :D
Use an external script, use HTML instead of XHTML, or use one of the escaping tricks like <script ...> // <![CDATA[ ... // ]]> </script> HTML Tidy will help with this. The Validator simply implements the HTML and XHTML specifications, so your content is indeed incorrect if the Validator complains.
thankyou very much for the help, i'm now happy let you know that my site is now xhtml 1.1 compliant. :D Al.(In reply to comment #1) > Use an external script, use HTML instead of XHTML, or use one of the escaping > tricks like > > <script ...> > // <![CDATA[ > ... > // ]]> > </script> > > HTML Tidy will help with this. The Validator simply implements the HTML and > XHTML specifications, so your content is indeed incorrect if the Validator > complains.