WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] XML Parsing Error : CDATA Tag open? (6 posts)

  1. intricateartist
    Member
    Posted 7 years ago #

    I'm getting an error when trying to validate my feed:

    "XML document structures must start and end within the same entity"

    line 26, column 2: XML parsing error: <unknown>:26:24: unclosed CDATA section

    Line 26 of the code looks like this:

    <description><![CDATA[

    My blog feed:

    http://intricateart.com/blog/feed/

    Is there something else I need to do to get this working? It's been in error since I upgraded to 2.2.

  2. intricateartist
    Member
    Posted 7 years ago #

    This is the feed-rss2.php in the includes folder that is causing this error:

    http://wordpress.pastebin.ca./564303

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    The error is actually in your content, somehow, because the feed is stopping right where it displays the excerpt of your content. Maybe you have some plugin interfering, maybe you have something weird in your latest post. I can't tell.

  4. intricateartist
    Member
    Posted 7 years ago #

    Here's a list of my active plugins: http://intricateart.com/blog/plugins-i-use/

    I have deactivated php exec, headline images and better feed, upgraded wp-useronline, removed apostrophes from my current post, and revalidated with no change.

    Since I do not use the rich text editor, nothing odd is in my posts other than text characters and imagry.

    :/

  5. intricateartist
    Member
    Posted 7 years ago #

    Related entries for feeds is the culprit:

    http://www.semiologic.com/software/widgets/terms2posts4feeds/

  6. crikeymedia
    Member
    Posted 6 years ago #

    Try looking for a non closed statement before the error line and also make sure you have closed the CDATA xml string properly. The erro could be on the line above or below It is also possible that you have extended charetors that need to be parsed. I have just spent te last two days writing and debuging my code. I ahve managed to test it against other datasources/editors (XML notepad) and a really neat php test option I found on the net. http://lastrss.oslab.net/

    I still have not gpt my dataset to work with wordpress. But it now works with other xml editors...

Topic Closed

This topic has been closed to new replies.

About this Topic