Title: Blank line before XML declaration!!!
Last modified: August 19, 2016

---

# Blank line before XML declaration!!!

 *  [elsheimy](https://wordpress.org/support/users/elsheimy/)
 * (@elsheimy)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/blank-line-before-xml-declaration-1/)
 * Every time I browse to my feed: [http://withdotnet.net/feed](http://withdotnet.net/feed),
   the page shows that an error occurred parsing XML data.
 *     ```
       This page contains the following errors:
       error on line 5 at column 6: XML declaration allowed only at the start of the document
       ```
   
 * I tried the Feed Validator tool: [http://feedvalidator.org/check.cgi?url=http://withdotnet.net/feed](http://feedvalidator.org/check.cgi?url=http://withdotnet.net/feed).
   It shows that there’re few blank lines before the XML data of the feed and that
   what makes the problem!!!!!
 * Now FeedBurner is not working and I con’t do anything to fix this :S Please help
   me!!!!!

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/blank-line-before-xml-declaration-1/#post-1702770)
 * Try deactivating all plugins. If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, try switching to the Default theme (WordPress
   1.5 – 2.9.2) or the Twenty Ten theme (WordPress 3.0 and higher) to rule-out a
   theme-specific issue (themes can affect feeds).
 *  Thread Starter [elsheimy](https://wordpress.org/support/users/elsheimy/)
 * (@elsheimy)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/blank-line-before-xml-declaration-1/#post-1702994)
 * Thanks for your quick response. I run another blog with the same theme (Twenty
   Ten) with the same plugins (same configuration) and everything is OK!!!!! I don’t
   understand why those blank lines exist!!!!!!
 *  [jcwuerfl](https://wordpress.org/support/users/jcwuerfl/)
 * (@jcwuerfl)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/blank-line-before-xml-declaration-1/#post-1703258)
 * Seeing the same thing with wp v3.12 . There is 2 lines infront of the <?xml version
   that appear blank with many of the feed validators. Then I see: XML declaration
   allowed only at the start of the document as the explaination. Trying different
   themes doesn’t seem to help any.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/blank-line-before-xml-declaration-1/#post-1703259)
 * Please post a new topic. This topic is 8 months old and references an older version
   of WordPress.

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

The topic ‘Blank line before XML declaration!!!’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/blank-line-before-xml-declaration-1/#post-1703259)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
