homepage Welcome to WebmasterWorld Guest from 54.166.96.101
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

    
XML Parsing Errors?
terrybarnes

5+ Year Member



 
Msg#: 3936341 posted 10:34 pm on Jun 18, 2009 (gmt 0)

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

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



 
Msg#: 3936341 posted 5:50 am on Jun 20, 2009 (gmt 0)

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>.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved