help with 2 errors in xml

This is a discussion on help with 2 errors in xml within the XML SOAP forums in Framework and Interface Programming category; I keep getting this error and have been trying to figure it out for a while and hundreds of searches later - can anyone help me please? the url is http://www.passionfortruth.com/feed.xml and the errors are: This feed does not validate. line 136, column 70: guid values must not be duplicated within a feed: http://www.passion-for-truth.com/Aud...yond-Faith.mp3 <guid>http://www.passion-for-truth.com/Audio-Faith/Beyond-Faith.mp3</guid> ^ In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendation. line 328, column 0: Missing atom:link with rel="self" </channel>...

Go Back   Application Development Forum > Framework and Interface Programming > XML SOAP

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-05-2008, 11:46 AM
Pam
Guest
 
Default help with 2 errors in xml

I keep getting this error and have been trying to figure it out for a while
and hundreds of searches later - can anyone help me please? the url is
http://www.passionfortruth.com/feed.xml and the errors are:

This feed does not validate.

line 136, column 70: guid values must not be duplicated within a feed:
http://www.passion-for-truth.com/Aud...yond-Faith.mp3
<guid>http://www.passion-for-truth.com/Audio-Faith/Beyond-Faith.mp3</guid>

^

In addition, interoperability with the widest range of feed readers could be
improved by implementing the following recommendation.

line 328, column 0: Missing atom:link with rel="self"

</channel>

Reply With Quote
  #2  
Old 09-05-2008, 12:06 PM
Martin Honnen
Guest
 
Default Re: help with 2 errors in xml

Pam wrote:
> I keep getting this error and have been trying to figure it out for a
> while and hundreds of searches later - can anyone help me please? the
> url is http://www.passionfortruth.com/feed.xml and the errors are:
>
> This feed does not validate.
>
> line 136, column 70: guid values must not be duplicated within a
> feed: http://www.passion-for-truth.com/Aud...yond-Faith.mp3
>
> <guid>http://www.passion-for-truth.com/Audio-Faith/Beyond-Faith.mp3</guid>
>
> ^


You have two item elements with the same guid, one with title 'Who Are
the Chosen People', the other with title 'Beyond Faith'. A guid should
uniquely identify an item.


> In addition, interoperability with the widest range of feed readers
> could be improved by implementing the following recommendation.
>
> line 328, column 0: Missing atom:link with rel="self"
>
> </channel>


Well http://www.feedvalidator.org/docs/wa...mSelfLink.html
explains the pretty well, doesn't it?

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Reply With Quote
  #3  
Old 09-05-2008, 02:55 PM
Pam
Guest
 
Default Re: help with 2 errors in xml

thank you so mcuh - I have fixed the first error - but after reading and
trying to implement the 2nd fix, I'm off again -

the error now reads:
#line 3, column 0: Undefined rss element: rss
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
version="2.0">

line 329, column 6: XML parsing error: <unknown>:330:2: mismatched tag
</rss>

My first 3 lines read:
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
version="2.0">

and the bottom reads
<atom:link href="http://passionfortruth.com/feed.xml" rel="self"
type="application/rss+xml" />
</rss>
</channel>

what am I doing wrong? I've tried taking out the first rrs line in the top
section - that led to more errors - took out the 2nd rss line - more
errors - took out the /channel at the bottom....more errors...

thanks
Pam


"Martin Honnen" <mahotrash@yahoo.de> wrote in message
news:eJPdrF3DJHA.1228@TK2MSFTNGP02.phx.gbl...
> Pam wrote:
>> I keep getting this error and have been trying to figure it out for a
>> while and hundreds of searches later - can anyone help me please? the url
>> is http://www.passionfortruth.com/feed.xml and the errors are:
>>
>> This feed does not validate.
>>
>> line 136, column 70: guid values must not be duplicated within a
>> feed: http://www.passion-for-truth.com/Aud...yond-Faith.mp3
>>
>> <guid>http://www.passion-for-truth.com/Audio-Faith/Beyond-Faith.mp3</guid>
>>
>> ^

>
> You have two item elements with the same guid, one with title 'Who Are the
> Chosen People', the other with title 'Beyond Faith'. A guid should
> uniquely identify an item.
>
>
>> In addition, interoperability with the widest range of feed readers could
>> be improved by implementing the following recommendation.
>>
>> line 328, column 0: Missing atom:link with rel="self"
>>
>> </channel>

>
> Well http://www.feedvalidator.org/docs/wa...mSelfLink.html
> explains the pretty well, doesn't it?
>
> --
>
> Martin Honnen --- MVP XML
> http://JavaScript.FAQTs.com/


Reply With Quote
  #4  
Old 09-06-2008, 07:36 AM
Martin Honnen
Guest
 
Default Re: help with 2 errors in xml

Pam wrote:

> My first 3 lines read:
> <?xml version="1.0" encoding="utf-8"?>
> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
> <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
> version="2.0">


That should simply be

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

You can't have two rss elements and there is no need to, the suggestion
was simply to add the xmlns:atom="http://www.w3.org/2005/Atom" to the
rss element.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 09:03 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.