Title: My RSS feed cannot pass XML validation
Last modified: August 19, 2016

---

# My RSS feed cannot pass XML validation

 *  Resolved [oswaltwang](https://wordpress.org/support/users/oswaltwang/)
 * (@oswaltwang)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/my-rss-feed-cannot-pass-xml-validation/)
 * Hey All,
 * My site’s RSS2.0 feed ([http://sunnytran.com/feed](http://sunnytran.com/feed))
   will not pass XML validation and is very garbled also.
 * I get the following errors when trying to validate:
 * line 1, column 1: **Blank line** before XML declaration
 * line 199, column 7: XML parsing error: <unknown>:199:7: not well-formed (invalid
   token)
 * I have read dozens of posts about the blank line error, and have tried doing 
   everything suggested. I have removed all blank lines outside <? … ?> from all
   files for the i3theme, wp-config.php, functions.php. I have deactivated all plugins
   and removed all widgets. My RSS still wont work correctly.
 * If anyone has any other suggestions, I could really use some help.
 * Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [whistler2020](https://wordpress.org/support/users/whistler2020/)
 * (@whistler2020)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/my-rss-feed-cannot-pass-xml-validation/#post-718530)
 * wont even load in IE.
 * have you tried switching themes and see if it works from there?
 * if not, have you edited the wp-includes/feed-rss2.php file?
 *  Thread Starter [oswaltwang](https://wordpress.org/support/users/oswaltwang/)
 * (@oswaltwang)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/my-rss-feed-cannot-pass-xml-validation/#post-718532)
 * Whistler,
 * Thanks for the quick response. I have tried switching to both the default and
   classic themes, but it still didn’t work.
 * The only change I made to the wp-includes/feed-rss2.php file was to remove blank
   spaces which didn’t work. I previously tried another suggestion that added XSL
   transformation but that didn’t fix the problem either, so I reverted back to 
   original file.
 * I am completely stumped on this.
 *  [Len](https://wordpress.org/support/users/lenk/)
 * (@lenk)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/my-rss-feed-cannot-pass-xml-validation/#post-718533)
 * The ads GoDaddy inserts in their free hosting accounts break the RSS feed. Search
   this forum for ‘godaddy free’ and you’ll see that you’re not alone.
 *  Thread Starter [oswaltwang](https://wordpress.org/support/users/oswaltwang/)
 * (@oswaltwang)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/my-rss-feed-cannot-pass-xml-validation/#post-718542)
 * LenK,
 * Is anyone sure that GoDaddy is the cause of this problem? The XML source itself
   includes a blank line up front.
 * I thought this source was generated by WordPress… I am a bit of a novice, but
   I don’t understand how the GoDaddy frame is infiltrating the XML source.
 * Thanks.
 *  [whistler2020](https://wordpress.org/support/users/whistler2020/)
 * (@whistler2020)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/my-rss-feed-cannot-pass-xml-validation/#post-718544)
 * have you tried not using the godaddy stuff?
 *  Thread Starter [oswaltwang](https://wordpress.org/support/users/oswaltwang/)
 * (@oswaltwang)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/my-rss-feed-cannot-pass-xml-validation/#post-718630)
 * Unfortunately no,
 * This is a test site before I put up the real thing. I suppose you guys are probably
   right and I will have to try non-ad-supported hosting.
 * Thanks for all your help.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 1 month ago](https://wordpress.org/support/topic/my-rss-feed-cannot-pass-xml-validation/#post-718645)
 * It’s hard to tell whether or not you have the blank line problem when you’re 
   using GoDaddy’s free hosting. GoDaddy’s free ad hosting breaks quite a lot of
   things, including most of WordPress.
 * Still, if you do have the problem later, read and follow the instructions here:
   
   [http://feedvalidator.org/docs/error/WPBlankLine.html](http://feedvalidator.org/docs/error/WPBlankLine.html)
 *  [reportervlog](https://wordpress.org/support/users/reportervlog/)
 * (@reportervlog)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/my-rss-feed-cannot-pass-xml-validation/#post-718847)
 * I am in this exact same boat. I’m testing out WordPress on a Go Daddy free hosting
   account before I launch the real website on a paid Go Daddy hosting account.
 * So, my question is, should I just stop worrying about the inability to validate
   the feed until I start using the paid version? In other words, will that solve
   all these invalid feed problems, or is Go Daddy in general the problem?
 * I am using WordPress now thanks to Go Daddy suddenly changing its preferences
   in their Quick Blogcast program which I had been using for many months. After
   a very steep learning curve (for a non-tech minded person like me), I was just
   starting to feel comfortable with WordPress. But if Go Daddy isn’t going to really
   work with WordPress I’d like to know before I invest even more time (and money)
   in this.
 * Thank you in advance for any assistance you might be able to offer.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 1 month ago](https://wordpress.org/support/topic/my-rss-feed-cannot-pass-xml-validation/#post-718848)
 * GoDaddy works fine with WordPress, just not with their free ad-supported hosting.
 *  [samlesher](https://wordpress.org/support/users/samlesher/)
 * (@samlesher)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/my-rss-feed-cannot-pass-xml-validation/#post-718928)
 * I came up with a workaround to get WordPress RSS working correctly on GoDaddy
   free hosting accounts. I put the details in this post:
 * [http://www.samlesher.com/code/fix-broken-wordpress-rss-in-godaddy-free-hosting-accounts/](http://www.samlesher.com/code/fix-broken-wordpress-rss-in-godaddy-free-hosting-accounts/)

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘My RSS feed cannot pass XML validation’ is closed to new replies.

## Tags

 * [RSS](https://wordpress.org/support/topic-tag/rss/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 6 participants
 * Last reply from: [samlesher](https://wordpress.org/support/users/samlesher/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/my-rss-feed-cannot-pass-xml-validation/#post-718928)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
