Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

XML issue

Posted on 2013-01-15
6
Medium Priority
?
237 Views
Last Modified: 2013-01-21
Hi,

I have the following xml and its giving me errors and i cant see why? Its saying it contains extra data at the end of the document?

can anyone tell me what i am doing wrong?

<?xml version="1.0" encoding="UTF-8" ?>
	<Podcasts>
	<Podcast id="2082">
		<title>Golden Globe award winners announced</title>
		<subtitle>Strawberry January 14th - Dish  Golden Globe award winners announced</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/14/SAC-DISH-DE-DURTS-140113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/14/SAC-DISH-DE-DURTS-140113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2084">
		<title>Ed Sheeran live in studio!</title>
		<subtitle>Strawberry January 14th - Ed Sheeran live in studio!</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/14/SAC-ED-SHEERAN-140113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/14/SAC-ED-SHEERAN-140113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2083">
		<title>Kian vs. Bressie  The Voice of Ireland</title>
		<subtitle>Strawberry January 14th - Kian vs. Bressie  The Voice of Ireland</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/14/SAC-KIAN-VS-BRESSIE-140113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/14/SAC-KIAN-VS-BRESSIE-140113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2079">
		<title>50 Shades</title>
		<subtitle>Strawberry January 11th - 50 Shades of Gay (Byrne)</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/11/SAC-50-SHADES-OF-GAYBO-110113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/11/SAC-50-SHADES-OF-GAYBO-110113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2080">
		<title>Dish  Tarantino loses it!</title>
		<subtitle>Strawberry January 11th - Dish  Tarantino loses it!</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/11/SAC-DISH-DE-DURTS-110113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/11/SAC-DISH-DE-DURTS-110113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2078">
		<title>Paudgie's TV Guide</title>
		<subtitle>Strawberry January 11th - Paudgie's TV Guide</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/11/SAC-PAUDGIE-110113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/11/SAC-PAUDGIE-110113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2073">
		<title>Dish  Fifty Shades Of Gay</title>
		<subtitle>Strawberry January 10th - Dish  Fifty Shades Of Gay</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/10/SAC-DISH-DE-DURTS-100113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/10/SAC-DISH-DE-DURTS-100113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2072">
		<title>Mr. Buckled's resolution</title>
		<subtitle>Strawberry January 10th - Mr. Buckled's resolution</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/10/SAC-MR-BUCKLED-RESOLUTION-100113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/10/SAC-MR-BUCKLED-RESOLUTION-100113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2071">
		<title>Ronan Keating's lost auditions</title>
		<subtitle>Strawberry January 10th - Ronan Keating's lost auditions</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/10/SAC-RONAN-KEATING-AUDITIONS-100113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/10/SAC-RONAN-KEATING-AUDITIONS-100113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2066">
		<title>Dish  Piers Morgan vs Alex Jones</title>
		<subtitle>Strawberry January 9th - Dish  Piers Morgan vs Alex Jones</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/09/SAC-DISH-DE-DURTS-090113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/09/SAC-DISH-DE-DURTS-090113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2065">
		<title>Gavin Highlife returns!</title>
		<subtitle>Strawberry January 9th - Gavin Highlife returns!</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/09/SAC-GAVIN-090113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/09/SAC-GAVIN-090113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2063">
		<title>Xpose  Pamela Anderson's ice-boobs!</title>
		<subtitle>Strawberry January 9th - Xpose  Pamela Anderson's ice-boobs!</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/09/SAC-XPOSE-PAMELA-ANDERSON-090113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/09/SAC-XPOSE-PAMELA-ANDERSON-090113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2067">
		<title>The Juice - Sunday Jan 6th</title>
		<subtitle>Sean Munsanje presents The Juice on FM104 - Sunday Jan 6th</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/08/Juice_Podcast_060113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/08/Juice_Podcast_060113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2061">
		<title>Dish  Nikita is back!</title>
		<subtitle>Strawberry January 8th - Dish  Nikita is back!</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/08/SAC-DISH-DE-DURTS-080113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/08/SAC-DISH-DE-DURTS-080113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2060">
		<title>Wedding Day Song</title>
		<subtitle>Strawberry January 8th - Wedding Day Song</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/08/SAC-WEDDING-DAY-SONG-080113.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/08/SAC-WEDDING-DAY-SONG-080113.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2058">
		<title>Phoneshow 1/8/2013</title>
		<subtitle>Get it off your chest with Jeremy Dixon Hitler  and  Nikitta The Proud slapper</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/08/GetitoffyourchestHitlerandNikittatheproudslapper.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/08/GetitoffyourchestHitlerandNikittatheproudslapper.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2055">
		<title>Phoneshow (8/1/13)</title>
		<subtitle>Get it of your chest with Jeremy Dixon, Intimate Piercing's</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/08/110825IntimatePiercings29mins.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/08/110825IntimatePiercings29mins.mp3</URL>
		</MediaFile>
	</Podcast>
	<Podcast id="2056">
		<title>Phoneshow Jan 2013</title>
		<subtitle>Get it off your chest with Jeremy Sleeping with teddy's  and  sheepmore estate</subtitle>
		<image>http://www.FM104.ie/App_Themes/FM104/images/sitewide/holding_color_80x80.gif</image>
		<MediaFile bandwidth="high" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/08/4amGetitoffyourchestSleepingwithTeddysandSheepmoreEstate.mp3</URL>
		</MediaFile>
		<MediaFile bandwidth="lo" type="audio/mpeg">
			<URL>http://utv.vo.llnwd.net/o16/FM104/2013/01/08/4amGetitoffyourchestSleepingwithTeddysandSheepmoreEstate.mp3</URL>
		</MediaFile>
	</Podcast>

Open in new window

0
Comment
Question by:jonathanduane2010
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 13

Accepted Solution

by:
Jeff Darling earned 872 total points
ID: 38778338
I do not see a closing </podcasts> tag.  Maybe you didn't copy and paste the entire file?

How big is the file?  Can you attach as a file instead of copy and paste?
0
 

Author Comment

by:jonathanduane2010
ID: 38778347
here you go
0
 

Author Comment

by:jonathanduane2010
ID: 38778351
0
Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

 
LVL 60

Assisted Solution

by:Geert Bormans
Geert Bormans earned 868 total points
ID: 38778368
you don't have a closing
</Podcasts>
at the end
0
 
LVL 13

Expert Comment

by:Jeff Darling
ID: 38778378
It looks like your file is still truncated.  

here is what I see at the bottom.

screenshot
0
 
LVL 60

Expert Comment

by:Geert Bormans
ID: 38778387
seems you got some posts while I was writing :-)

your file ends
<Podcast id="2052">...
you should properly close the last podcast and close the file as said before wiytth a closing podcasts
maybe you are pulling this from alife feed?
make sure you get full XML and not partial XML when you do so
0

Featured Post

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question