> ## Content Index
> Fetch the complete content index at: https://irishdotnet.dev/llms.txt
> Use this file to discover other available public pages before exploring further.

# New update for RTE News Reader app coming out shortly
- URL: https://irishdotnet.dev/new-update-for-rte-news-reader-app-coming-out-shortly/
- Published: 2012-04-07T08:03:00.000Z
- Updated: 2024-08-05T08:03:22.000Z
- Author: Richard Reddy
- Tags: Windows Phone

I've just submitted a new update to the Windows Marketplace for my[ RTE News Reader app](http://www.windowsphone.com/s?appid=33006828-325c-4b7b-a69e-3192f4468696&ref=irishdotnet.dev). This update is only a minor update but includes a fix to a nasty bug that was forcing some news articles to not display.

The bug was caused by badly formatted XML from RTE.ie - rogue ampersands to be precise. I was able to track down that it was badly formatted XML by using a simple XML validate checker - [http://validator.w3.org/feed/](http://validator.w3.org/feed/?ref=irishdotnet.dev) This checker highlights everywhere that the feed could be failing.

Once I could see the issues I then had to put in a workaround. The problem with just replacing &'s is that they are also going to be used for valid html encoded values in the XML. I had to ensure that I was replacing single ampersands only. I was able to do this by using a regular expression to find single instances of ampersands in the text and replaced them with html encoded versions of themselves. This Stackoverflow article discusses how to implement such a fix: [http://stackoverflow.com/questions/121511/reading-xml-with-an-into-c-sharp-xmldocument-object](http://stackoverflow.com/questions/121511/reading-xml-with-an-into-c-sharp-xmldocument-object?ref=irishdotnet.dev)

The app is now going through the usual approval processes in the App Hub. All going well, it should be available for download by the end of next week.