WordPress.org

Forums

Error: error on line 1 at column 6: XML declaration allowed only at the start... (3 posts)

  1. Joshua Steimle
    Member
    Posted 2 years ago #

    When I go to access my blog's RSS feed at http://donloper.com/feed I get this error:

    This page contains the following errors:
    error on line 1 at column 6: XML declaration allowed only at the start of the document
    Below is a rendering of the page up to the first error.

    Now there isn't anything below that. If I view source, the feed is all there and looks correct, so I'm not sure what the error is about.

    I have gone and read tons of other posts regarding this error, talking about whitespace and such, and I've tried to apply the fixes they recommend but to no avail. I've reuploaded the entire WordPress installation, but no worky. I've compared the source code of http://donloper.com/feed to another blog I have, the feed of which is working, and the only difference I can see is that there is a single space at the beginning of the donloper feed. But I can't figure out how to get rid of it, and I have no idea if that even means anything. Anyone got any advice for me?

  2. Krishna
    Volunteer Moderator
    Posted 2 years ago #

  3. Joshua Steimle
    Member
    Posted 2 years ago #

    Hi Krishna, I went and used all three feed validators and got the following:

    1. The first said it was valid and in great shape. It even offered me a badge to put on my website so I could prove it, despite the feed not working seeming to be proof that things are not all well.

    2. The second gave me this error:

    Using org.apache.xerces.parsers.SAXParser
    Exception javax.xml.transform.TransformerConfigurationException: Failed to compile stylesheet. 1 error detected.
    Failed to compile stylesheet. 1 error detected.

    3. The third gives me quite a few errors. The issue with all of these is that I've done searches online for these errors, and I can't figure out what to do about any of them.

    [No need to paste all the errors here. A link to them would do. Error messages removed]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags