I'm getting this error while trying the a file import.

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:wp="http://wordpress.org/export/1.0/"
>

Let me know if you want me to send you the XML for testing. It's only 455 kb.

Also, the import function through wp login doesn't work.

Comments

pharoz’s picture

<!-- generator="wordpress/2.3.3" created="2011-03-03 23:08"-->
<rss version="2.0"
	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:wp="http://wordpress.org/export/1.0/"
>

Actual Error Message

Could not load WXR file - problems reported: Opening and ending tag mismatch: b line 2405 and wp:comment_content at line 2405 Opening and ending tag mismatch: comment_content line 2403 and comment at line 2409 Opening and ending tag mismatch: comment line 2395 and item at line 2425 Opening and ending tag mismatch: item line 2364 and channel at line 4374 Opening and ending tag mismatch: channel line 27 and rss at line 4375 Premature end of data in tag rss line 19 at line 4376

mikeryan’s picture

Status: Active » Postponed (maintainer needs more info)

It looks like you may have comments with mismatched tags (e.g, a <b> without a corresponding </b>). The WordPress exporter should wrap these in CDATA segments, but maybe not - it would be helpful to get your WXR file (contact me through my profile).

mikeryan’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I cannot reproduce this - I created a WordPress comment with an unmatched <b> tag, exported it, and imported it successfully. Comment bodies are wrapped in CDATA segments, so I don't see how this would happen.

Aldus’s picture

Status: Closed (cannot reproduce) » Active

I have the same problem.
How can I send you my WXR file?

Aldus’s picture

my error in details is:

Could not load WXR file - problems reported: Opening and ending tag mismatch: encoded line 20251 and script at line 20256 StartTag: invalid element name at line 20262 StartTag: invalid element name at line 20263 StartTag: invalid element name at line 20264 StartTag: invalid element name at line 20265 StartTag: invalid element name at line 20266 Sequence ']]>' not allowed in content at line 20267 Sequence ']]>' not allowed in content at line 20267 internal error at line 20267 Extra content at the end of the document at line 20267

ricky1146’s picture

I am also having having this issue. With some it uploads fine others not so.

I get this and as stated above

Aldus’s picture

I found out there was bad code in my WXR file at that line. I had to manually fix it and then the import went smooth

emarchak’s picture

For people who still have this problem, could you share what you discovered? I'm sure it will help out others.

jaxxham’s picture

I've found that if you install the old Wordpress export plugin: http://wordpress.org/extend/plugins/advanced-export-for-wp-wpmu/ import tends to go smoother.

mikeryan’s picture

Status: Active » Fixed

Asked and answered.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.