Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

XML issue

Posted on 2013-01-15
6
Medium Priority
?
238 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
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
This video teaches users how to migrate an existing Wordpress website to a new domain.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

824 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