For general web development questions that are not specifically related to CSS HTML Validator. This includes (but is not limited to) general HTML, CSS, Accessibility, JavaScript, and SEO questions.
I am receiving the following error while checking a web page using javascript:
This document contains 1 CDATA section. Using CDATA sections is not recommended due to poor browser support (even some newer browsers fail to properly support it) and due to other complications. AI Internet Solutions recommends avoiding CDATA sections if possible or commenting them out (for example, using "//<![CDATA[" and "//]]>" in a "script" element).
I do have the "//<![CDATA[" and "//]]>" in the file.
it appears the validator is not reading the file properly???
That should be a warning (not error) message by default, which you should be able to disable or change to a regular message (blue color) if you'd like.
CSE HTML Validator will still generate the part about commenting CDATA sections out, even if it is already commented out. It's a general message if any CDATA sections are detected. It's not meant to say or imply that any CDATA sections are or are not commented out.