Grow your CSS skills. Land your dream job.

WordPress feed problem: XML Parsing Error

  • # November 25, 2009 at 9:38 am

    I have been working on my site about a week and modifying a theme I found. The RSS feed was working fine until yesterday, when I got this error:

    Code:
    XML Parsing Error: junk after document element
    Location: http://craigallen.me/feed/
    Line Number 1, Column 12:< ?xml version="1.0" encoding="UTF-8"?>

    Is the "tag" tag supposed to be there? It looks like the problem is that you can’t have 2 elements on the same line, but I have no idea how it got that way or where in WordPress to fix/change it. The weird thing is, if I go to the View Page Source in Firefox, I can click on the link in the code:

    Code:

    …and it loads the feed properly in that window as such:

    Code:
    < ?xml version="1.0" encoding="UTF-8"?>
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    >

    I did recently install the ‘PollDaddy’ plug-in and the ‘Dynamic Content Gallery’ plugin but after deactivating them nothing changes. The feed did work properly at one point and I haven’t modified anything other than the files in my theme’s folder.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".