Support » Fixing WordPress » XML Parsing Error : CDATA Tag open?

  • Resolved intricateartist


    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:


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

Viewing 5 replies - 1 through 5 (of 5 total)
  • intricateartist


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

    Moderator Samuel Wood (Otto)


    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.



    Here’s a list of my active plugins:

    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.




    Related entries for feeds is the culprit:

    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.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘XML Parsing Error : CDATA Tag open?’ is closed to new replies.