Web Design and Development Forums

XML Parsing Error: Opening ending tag mismatch

This is a discussion on "XML Parsing Error: Opening ending tag mismatch" within the Accessibility and Usability section. This forum, and the thread "XML Parsing Error: Opening ending tag mismatch are both part of the Plan Your Website category.


Go Back   Webforumz.com > Plan Your Website > Accessibility and Usability

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Oct 19th, 2007, 14:06   #1 (permalink)
New Member
 
Join Date: Oct 2007
Location: sunderland
Posts: 7
XML Parsing Error: Opening ending tag mismatch

hi there i have had a website up and running for some time now and have recentlydecided to redesign it using css. My pages display in the browser correctly however when i use this http://validator.w3.org/check?uri=ht...dernart.com%2F i get a load of error messages. somebody please help!!
bobby198010 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Oct 19th, 2007, 14:26   #2 (permalink)
Elite Veteran
 
karinne's Avatar
 
Join Date: Jan 2007
Location: You know where
Age: 30
Posts: 4,883
Re: XML Parsing Error: Opening ending tag mismatch

h1 elements aren't allowed in the <head> of a document

Empty elements must be closed .. <img src="bla.gif" />

See 4. Differences with HTML 4
__________________
a web design portfolio | web non-sense
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Oct 19th, 2007, 14:35   #3 (permalink)
New Member
 
Join Date: Oct 2007
Location: sunderland
Posts: 7
Re: XML Parsing Error: Opening ending tag mismatch

Hi thanks for that. i really need help with this to Line 106, Column > 80: XML Parsing Error: Opening and ending tag mismatch: a line 106 and p.
…rnart.com/image-files/seascapebutton.jpg" alt="digital photo print online art…
bobby198010 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Oct 19th, 2007, 14:38   #4 (permalink)
New Member
 
Join Date: Oct 2007
Location: sunderland
Posts: 7
Re: XML Parsing Error: Opening ending tag mismatch

thanks again karine i went from 155 to 65 errors with one /. lol
bobby198010 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Oct 19th, 2007, 14:43   #5 (permalink)
Elite Veteran
 
karinne's Avatar
 
Join Date: Jan 2007
Location: You know where
Age: 30
Posts: 4,883
Re: XML Parsing Error: Opening ending tag mismatch

The first 2 errors ... you don't put a / for the <html ...> element. The HTML element has an end tag.
__________________
a web design portfolio | web non-sense
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Oct 19th, 2007, 14:45   #6 (permalink)
Elite Veteran
 
karinne's Avatar
 
Join Date: Jan 2007
Location: You know where
Age: 30
Posts: 4,883
Re: XML Parsing Error: Opening ending tag mismatch

For that line 106, try putting your <a ...> and <img ... /> on the same line? Otherwise ... fix all the other <img ... /> errors and <br /> errors ... that might help.
__________________
a web design portfolio | web non-sense
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Oct 19th, 2007, 15:37   #7 (permalink)
New Member
 
Join Date: Oct 2007
Location: sunderland
Posts: 7
Re: XML Parsing Error: Opening ending tag mismatch

all of the <a ...> and <img ... /> are on the same line how do i fix these? moving my h1 element out of the head reduced my errors to 65 but im still stuck haha
bobby198010 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Oct 19th, 2007, 15:38   #8 (permalink)
New Member
 
Join Date: Oct 2007
Location: sunderland
Posts: 7
Re: XML Parsing Error: Opening ending tag mismatch

im also having trouble with this page http://validator.w3.org/check?uri=ht...Inline&group=0
bobby198010 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Oct 19th, 2007, 15:48   #9 (permalink)
Administrator
 
alexgeek's Avatar
 
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
Blog Entries: 9
Send a message via MSN to alexgeek
Re: XML Parsing Error: Opening ending tag mismatch

This is the automatically cleaned code:

HTML: Select all
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 1 September 2005), see www.w3.org" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>modern art, seascape art, canvas prints at fantastic prices</title>
<meta name="Description" content="Smart modern art has put together an exclusive range of canvas art at fantastic prices." />
<meta name="keywords" content="modern art, canvas art, photo to canvas, landscape art, pop art" />
<link href="http://smartmodernart.com/support-files/global.css" rel="stylesheet" type="text/css" />
<link href="http://smartmodernart.com/support-files/pink.css" rel="stylesheet" type="text/css" />
<style type="text/css">
/*<![CDATA[*/
 div.c4 {width: 803px; height: 470px}
 span.c3 {background-repeat: repeat; background-position: 0 0}
 p.c2 {text-align: left}
 div.c1 {width: 801px; height: 149px}
/*]]>*/
</style>
</head>
<body>
<div id="body" class="c4">
<div id="header" class="c1"><img border="0" src="http://www.smartmodernart.com/image-files/header_pink.jpg" alt="contemporary ,art your photo to canvas, pop art, modern art, picture" width="800" height="122" /></div>
<div id="content_side">
<h4>Music Inspired</h4>
<p>SmartModernArt presents its music inspired gallery. From classical music icons to ultra modern superstars.</p>
<h4> Helpful Links</h4>
<p>Do you have a favorite pop star or band that you want but cant see. Just ask!    <a href="http://www.smartmodernart.com/requests.html"><img border="0" src="http://www.smartmodernart.com/image-files/requestsbutton.jpg" alt="contemporary ,art your photo to canvas, pop art, modern art, picture" width="80" height="18" /></a></p>
<p><a href="http://www.smartmodernart.com/aboutus.html">Click here for details on how we create our modern art.<img border="0" src="http://www.smartmodernart.com/image-files/aboutusbutton.jpg" alt="contemporary ,art your photo to canvas, pop art, modern art, picture" width="80" height="18" /></a></p>
<p><a href="http://www.smartmodernart.com/saleitems.html"><img border="0" src="http://www.smartmodernart.com/image-files/salebutton.jpg" alt="contemporary ,art your photo to canvas, pop art, modern art, picture" width="180" height="60" /></a></p>
<p>View our sale items. New pictures reduced each week!</p>
<p><br />
Here at SmartModernArt we have a simple philosophy: to bring you an exclusive and unique range of contemporary canvas prints at an affordable price.</p>
All SmartModernArt artwork is printed at high resolution onto 350gsm quality matte canvas with UV inks. UV inks (pigment-based) provide enhanced lightfastness and durability over Dye-based inks, ensuring that the colour remains vibrant. We use only the finest stretcher frames, with cross-bracing and adjustable tensioners where required. Your finished canvas will also receive a coat of canvas protective spray. Your order will be securely wrapped in protective materials and our own custom packaging.
<p class="c2">Every SmartModernArt canvas is hand crafted to order for each of our customers and prints will be despatched in 3-5 working days of funds clearing.</p>
<p class="c2"><img border="0" src="http://www.smartmodernart.com/image-files/freepp.jpg" alt="fine art gallery canvas art digital art photo on canvas wall art photo art" width="200" height="53" /></p>
<p><img border="0" src="http://www.smartmodernart.com/image-files/ban1.jpg" alt="fine art gallery canvas art digital art photo on canvas wall art photo art" width="200" height="57" /></p>
</div>
<div id="content_main">
<h2>Browse our Online Gallery </h2>
<p><a href="http://www.smartmodernart.com/abbeyroad.html"><img border="0" src="http://www.smartmodernart.com/image-files/abbey_road.jpg" alt="the beatles, abbey road, contemporary art your photo to canvas pop art modern art" width="170" height="108" /></a> <a href="http://www.smartmodernart.com/razorlight.html"><img border="0" src="http://www.smartmodernart.com/image-files/razorlight.jpg" alt="razorlight, contemporary art your photo to canvas pop art modern art" width="170" height="108" /></a> <a href="http://www.smartmodernart.com/thelibertines.html"><img border="0" src="http://www.smartmodernart.com/image-files/thelibertines.jpg" alt="the libertines, pete doherty, contemporary art your photo to canvas pop art modern art" width="170" height="108" /></a></p>
<p><a href="http://www.smartmodernart.com/greenday.html"><img border="0" src="http://www.smartmodernart.com/image-files/green_day.jpg" alt="green day, american idiot, contemporary art your photo to canvas pop art modern art" width="142" height="142" /></a> <a href="http://www.smartmodernart.com/noelgallagher.html"><img border="0" src="http://www.smartmodernart.com/image-files/noelgallagher.jpg" alt="modern art, canvas art, contemporary art, noel gallagher, oasis, canvas photo" width="114" height="170" /></a> <a href="http://www.smartmodernart.com/noelgallagher2.html"><img border="0" src="http://www.smartmodernart.com/image-files/noelgallagher2.jpg" alt="modern art, canvas art, contemporary art, noel gallagher, oasis, canvas photo" width="108" height="170" /></a>  <a href="http://www.smartmodernart.com/bobmarley.html"><img border="0" src="http://www.smartmodernart.com/image-files/bobmarley.jpg" alt="bob marley, canvas print, modern art gallery, pop art, modern art online, wall art" width="142" height="142" /></a></p>
<p><a href="http://www.smartmodernart.com/lespaul.html"><img border="0" src="http://www.smartmodernart.com/image-files/leapaul.jpg" alt="les paul, canvas print, modern art gallery, pop art, modern art online, wall art" width="110" height="170" /></a><a href="http://www.smartmodernart.com/ianbrown.html"><img border="0" src="http://www.smartmodernart.com/image-files/ianbrown.jpg" alt="ian brown, stone roses,canvas print, modern art gallery, pop art, modern art online, wall art" width="142" height="142" /></a> <a href="http://www.smartmodernart.com/iabrown2.html"><img border="0" src="http://www.smartmodernart.com/image-files/ianbrown2.jpg" alt="stone roses, ian brown, canvas print, modern art gallery, pop art, modern art online, wall art" width="142" height="142" /></a>  <a href="http://www.smartmodernart.com/fenderstrat.html"><img border="0" src="http://www.smartmodernart.com/image-files/fenderstrat.jpg" alt="fender strat, guitar, canvas print, modern art gallery, pop art, modern art online, wall art" width="108" height="170" /></a></p>
<p><a href="http://www.smartmodernart.com/canvas-art-rollingstones.html"><img border="0" src="http://www.smartmodernart.com/image-files/rollingstones-.jpg" alt="rolling, stones, canvas print, modern art gallery, pop art, modern art online, wall art" width="142" height="142" /></a> <a href="http://www.smartmodernart.com/canvas-art-oasis.html"><img border="0" src="http://www.smartmodernart.com/image-files/oasis-.jpg" alt="liam gallagher, modern art, canvas art, contemporary art, noel gallagher, oasis, canvas photo" width="198" height="99" /></a> <a href="http://www.smartmodernart.com/gallagherbros.html"><img border="0" src="http://www.smartmodernart.com/image-files/gallagherbbros.jpg" alt="liam gallagher, modern art, canvas art, contemporary art, noel gallagher, oasis, canvas photo" width="142" height="142" /></a></p>
<p><a href="http://www.smartmodernart.com/noelgallagher3.html"><img border="0" src="http://www.smartmodernart.com/image-files/noel_gallagher3.jpg" alt="liam gallagher, modern art, canvas art, contemporary art, noel gallagher, oasis, canvas photo" width="142" height="142" /></a> <a href="http://www.smartmodernart.com/noelgallagher4.html"><img border="0" src="http://www.smartmodernart.com/image-files/noel_gallagher_4.jpg" alt="liam gallagher, modern art, canvas art, contemporary art, noel gallagher, oasis, canvas photo" width="142" height="142" /></a> <a href="http://www.smartmodernart.com/canvas-art-liam-gallagher-2.html"><img border="0" src="http://www.smartmodernart.com/image-files/liamgallagher2-.jpg" alt="liam gallagher, modern art, canvas art, contemporary art, noel gallagher, oasis, canvas photo" width="109" height="170" /></a> <a href="http://www.smartmodernart.com/liamgallagher.html"><img border="0" src="http://www.smartmodernart.com/image-files/liamgallagher-.jpg" alt="liam gallagher, modern art, canvas art, contemporary art, noel gallagher, oasis, canvas photo" width="108" height="170" /></a></p>
<p><a href="http://www.smartmodernart.com/hendrix.html"><img border="0" src="http://www.smartmodernart.com/image-files/hendrix.jpg" alt="jimi, hendrix, canvas print, modern art gallery, pop art, modern art online, wall art" width="142" height="142" /></a> <a href="http://www.smartmodernart.com/darkside.html"><img border="0" src="http://www.smartmodernart.com/image-files/darkside-.jpg" alt="pink floyd, darkside, contemporary ,art your photo to canvas, pop art, modern art, picture" width="170" height="108" /></a> <a href="http://www.smartmodernart.com/paulweller.html"><img border="0" src="http://www.smartmodernart.com/image-files/paul_weller.jpg" alt="paul weller, mod, the jam, contemporary ,art your photo to canvas, pop art, modern art, picture" width="170" height="108" /></a></p>
<p><a href="http://www.smartmodernart.com/doherty.html"><img border="0" src="http://www.smartmodernart.com/image-files/petedogherty.jpg" alt="pete doherty, libertines, contemporary ,art your photo to canvas, pop art, modern art, picture" width="108" height="170" /></a> <a href="http://www.smartmodernart.com/morrison.html"><img border="0" src="http://www.smartmodernart.com/image-files/morrison.jpg" alt="jim morrison, the doors, contemporary ,art your photo to canvas, pop art, modern art, picture" width="170" height="170" /></a> <a href="http://www.smartmodernart.com/muse.html"><img border="0" src="http://www.smartmodernart.com/image-files/muse-.jpg" alt="muse, contemporary ,art your photo to canvas, pop art, modern art, picture" width="108" height="170" /></a> <a href="http://www.smartmodernart.com/jimmypage.html"><img border="0" src="http://www.smartmodernart.com/image-files/jimmypage-.jpg" alt="led zep, jimmy page, contemporary ,art your photo to canvas, pop art, modern art, picture" width="108" height="170" /></a></p>
<p class="article"><span class="title"><span class="c3">New items coming soon! Bookmark us to return later,</span></span></p>
<p> </p>
</div>
<div id="footer_clear"></div>
<div id="footer">Copyright �2007 Smartmodernart.com All rights reserved. Based on a design by <a href="http://www.elemental-works.com/" target="_blank" onclick="window.open('http://www.smartmodernart.com/cgi-bin/counter.pl?url=http%3A%2F%2Fwww.elemental-works.com%2F&amp;referrer=http%3A%2F%2Fwww.smartmodernart.com%2Fmodern-art-music.html'); return false;">Elemental Works</a>. Valid XHTML &amp; CSS.</div>
</div>
</body>
</html>
If it ruins your page, try to fix all errors manually.
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.


alexgeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Oct 19th, 2007, 20:48   #10 (permalink)
New Member
 
Join Date: Oct 2007
Location: sunderland
Posts: 7
Re: XML Parsing Error: Opening ending tag mismatch

thanks alexgeek you are a legend mate i hope you dont think im being cheeky but could you work your magic on this one too http://validator.w3.org/check?uri=ht...Inline&group=0 id really appreciate it. Can i have your name to because you have solved alot of problems for me and i want to mention your name in the special thanks section of my homepage. thanks again rob.
bobby198010 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Oct 19th, 2007, 21:04   #11 (permalink)
Administrator
 
alexgeek's Avatar
 
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
Blog Entries: 9
Send a message via MSN to alexgeek
Re: XML Parsing Error: Opening ending tag mismatch

Go on that page,
under options click "clean this page with HTML tidy" then validate it.
It will be at the bottom.
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.


alexgeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Oct 20th, 2007, 09:07   #12 (permalink)
New Member
 
Join Date: Oct 2007
Location: sunderland
Posts: 7
Re: XML Parsing Error: Opening ending tag mismatch

ive managed to get it down to 16 errors. i cant seem to change the code manually without ruining the whole thing
bobby198010 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Catch XML parsing Exceptions. alexgeek PHP Forum 0 Jan 5th, 2008 10:53
Parsing text Donny Bahama PHP Forum 6 Jun 1st, 2006 07:25
Cross-browser XML parsing??? gohankid77 XML, RSS & Atom 4 Mar 28th, 2005 17:39
Period ending 20/10/03 Webforumz Staff Hall of Fame 0 Oct 20th, 2003 07:47
Week ending 08/09/03 Webforumz Staff Hall of Fame 0 Sep 7th, 2003 07:37



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 16:13.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection ::