Validating XML
-
I’m in the process of validating all my HTML, CSS, etc. Using the W3C validators, I have acheived valid HTML. And, when I plug the CSS right into their form, the CSS comes back valid.
However, when I just try to enter my site’s URL into the CSS validator, I get the following message:
Please, validate your XML document first!
Line 219
Column 54
Element type “null” must be followed by either attribute specifications, “>” or “/>”.
I have checked the source code, and it appears that something in WordPress is generating javascript at the beginning and ending of my code (I am not generating the javascript through my template; in other words, that particular code is not in my template; it’s being generated some other way). (View my source code–www.muppetous.com–to see what I mean.)
So, how can I either (a) eliminate this javascript permanently or (b) fix the issue with the “null” element so that my XML gets validated?
Thanks.
Edit: I am also working on a design for someone else who uses Blogger (leftintheshade.blogspot.com), and I’m running into the same error message when trying to validate her site, so maybe the problem is not WordPress. What, then, is causing the javascript to be generated on these pages? Heeeeelp!
- The topic ‘Validating XML’ is closed to new replies.