Welcome to WebmasterWorld Guest from 54.221.49.52

Forum Moderators: httpwebwitch

Message Too Old, No Replies

XML Parsing Errors?

     

terrybarnes

10:34 pm on Jun 18, 2009 (gmt 0)

5+ Year Member



I have a Wordpress Blog but I'm getting a few Parsing Errors when I run the site through W3C Validation. They are:

Error Line 182, Column 9: XML Parsing Error: Opening and ending tag mismatch: div line 95 and body

(Line 95 is this: <div id="page">)

Error Line 183, Column 7: XML Parsing Error: Opening and ending tag mismatch: body line 94 and html

Line 94 is this: <body id="accommodation">

Error Line 183, Column 7: XML Parsing Error: Premature end of data in tag html line 2

Line 2 is this: <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">

I've got no real idea as to why I'm getting these errors. The thing is I've got a few pages on the blog and it's only occurring with one of these even though these lines of code it's referring to are the same on all pages.

Any ideas?

httpwebwitch

5:50 am on Jun 20, 2009 (gmt 0)

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member



You may have badly "formed [en.wikipedia.org]" HTML in the content of that page. Often with the W3C Validator, you'll get a huge pile of errors caused by one extra </div> or </b>, cascading up to and including <body> and <html>.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month