Solved

XML issue

Posted on 2013-01-15
6
234 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 218 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 60

Assisted Solution

by:Geert Bormans
Geert Bormans earned 217 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
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.
The viewer will learn how to count occurrences of each item in an array.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

752 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