Page 1 of 1

[SOLVED]A question regarding RSS and Internet Explorer

Posted: Fri Nov 21, 2008 2:57 am
by Rovas
I have a RSS feed that contains HTML tags which I encapsulated in CDATA. The problem is that Internet Explorer reports the characters in the CDATA as invalid. Strangely is doesn' t report the forbiden characters: <, &, etc but characters like space, letters.
This is the error message:

Code: Select all

An invalid character was found in text content.
 Line: 18 Character: 165
 
I read about the need for adding XSLT files that help the program to interpret the HTML tags but IE was displaying this feed correctly 2 months ago.

Re: A question regarding RSS and Internet Explorer

Posted: Fri Nov 21, 2008 5:41 am
by JAB Creations
I'm not sure if this will help though my feed validates and doesn't seem to have any problems with IE8B2 so I offer it up to you to steal the code and see if you encounter the same problems.
http://www.jabcreations.com/news.xml

...if you're looking to validate you can do so here...
http://validator.w3.org/feed/

Re: [SOLVED]A question regarding RSS and Internet Explorer

Posted: Fri Nov 21, 2008 6:41 am
by Rovas
Thank you for the offer but it was a PHP mistake (more a lapsus) on my part. I forgot to add the character encoding to the html_entity_decode