Forums

Blank line before XML declaration!!! (5 posts)

  1. elsheimy
    Member
    Posted 1 year ago #

    Every time I browse to my 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. 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!!!!!

  2. James
    Happiness Engineer
    Posted 1 year ago #

    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).

  3. elsheimy
    Member
    Posted 1 year ago #

    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!!!!!!

  4. jcwuerfl
    Member
    Posted 12 months ago #

    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.

  5. esmi
    Theme Diva & Forum Moderator
    Posted 12 months ago #

    Please post a new topic. This topic is 8 months old and references an older version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Topic