Can't open Word File because of end tag/start tag mismatch error...need XML help!

Anonymous
2010-06-09T00:42:38+00:00

I get the following message when i try to open a word document that i desperately need

  The name in the end tag of the element must match the element type in the start tag

Location: Part: word/document.xml, Line: 2, Column: 96760

I know how to "unzip" the docx files and get to the main document.xml file, but i know nothing about xml programming. Any suggestions? i got an xml editor and found that there are 6 mismatch errors, but i don't know how to fix them. I also don't know how to rezip al the files back into a docx format. I would love any help. Thanks.

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2011-04-25T16:26:25+00:00

You're welcome Catherine.

Going forward if you or anyone else comes across this issue again, we have a FixIt solution created that should address this problem.  You can go to the following KB article and it should give you the details about how you can correct these documents.

http://support.microsoft.com/kb/2528942

Brandon

Was this answer helpful?

5 people found this answer helpful.
0 comments No comments

528 additional answers

Sort by: Most helpful
  1. Anonymous
    2010-12-28T00:04:14+00:00

    Hi, i´ve got the same problem guys. Ive tried to solve it myself but i cant find nor fix mismatch errors in the xml file. I would be very grateful for any help and it seems to be a matter of minutes for you guys who understand it.

    http://www.sendspace.com/file/ufyshx

    So thats the .docx file. This means a lot to me. Thanx.

    Was this answer helpful?

    0 comments No comments
  2. Doug Robbins - MVP - Office Apps and Services 323.6K Reputation points MVP Volunteer Moderator
    2010-12-27T21:20:39+00:00

    Were you working with the document/trying to save it directly to removable media (thumb drive)?

    -- Hope this helps.

    Doug Robbins - Word MVP,

    dkr[atsymbol]mvps[dot]org

    Posted via the Community Bridge

    "johnny_5446" wrote in message news:*** Email address is removed for privacy ***...

    Yves and Tony,

    I'm working on my Master's Thesis with Office 2007, and I've lost 20 hours of work due to what seems to be an Office 2007 bug.. Anyways, here's what happened when I tried to open the file (text below is copied from another thread with the same problem, and, with no solution):

    "First: The file cannot be opened because there are problems with the contents.  2 options : [OK] or [Details >>>>] The file is corrupt and cannot be opened.

    After pushing [OK]: Word found unreadable content in "file name".  Do you want to recover the contents of this document?  If you trust the source of this document, click Yes.[Yes] or [No]    ([No] option ends messages)

    [Yes] results in final message: The file cannot be opened because there are problems with the contents. [OK] or [Details>>>] Microsoft Office cannot open this file because some parts are missing or invalid.

    After pushing [OK], message string is done and a blank, new document sits open to start writing.  It is not my original document but instead just a new sheet."

    I tried to look at the document.xml but I wasn't able to - "The archive is corrupted". Really not that familiar with xml environment..

    http://www.mediafire.com/?tnaxxu1c7yjjo4k

    There seemed to be some folk here with a similar problem as mine, although the majority of cases of this thread are different. I've surfed the net for hours without a solution and I have to admit I'm beginning to get rather desperate here. Any help would be greatly appreciated!

    PS. New to this site, just pressed reply to the previous post, sorry for any inconveniences, if any.


    Doug Robbins - Word MVP dkr[atsymbol]mvps[dot]org

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-12-27T19:28:43+00:00

    Yves and Tony,

    I'm working on my Master's Thesis with Office 2007, and I've lost 20 hours of work due to what seems to be an Office 2007 bug.. Anyways, here's what happened when I tried to open the file (text below is copied from another thread with the same problem, and, with no solution):

    "First: The file cannot be opened because there are problems with the contents.  2 options : [OK] or [Details >>>>] The file is corrupt and cannot be opened.

    After pushing [OK]: Word found unreadable content in "file name".  Do you want to recover the contents of this document?  If you trust the source of this document, click Yes.[Yes] or [No]    ([No] option ends messages)

    [Yes] results in final message: The file cannot be opened because there are problems with the contents. [OK] or [Details>>>] Microsoft Office cannot open this file because some parts are missing or invalid.

    After pushing [OK], message string is done and a blank, new document sits open to start writing.  It is not my original document but instead just a new sheet."

    I tried to look at the document.xml but I wasn't able to - "The archive is corrupted". Really not that familiar with xml environment..

    http://www.mediafire.com/?tnaxxu1c7yjjo4k

    There seemed to be some folk here with a similar problem as mine, although the majority of cases of this thread are different. I've surfed the net for hours without a solution and I have to admit I'm beginning to get rather desperate here. Any help would be greatly appreciated!

    PS. New to this site, just pressed reply to the previous post, sorry for any inconveniences, if any.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-12-27T16:22:59+00:00

    Hi Tony,

    The Error Message is http://tinypic.com/r/2jez6fb/7

    Basically, here are the steps i followed

    1. Put Rebuilder in startup folder for microsoft office
    2. Open Word and Click Rebuild for the "file.docx".
    3. It will shown the 1st Screenshot: http://tinypic.com/r/2jez6fb/7
    4. Then after i click any of the options (move and replace or Dont move), it doesn't open anything. If i click (move and keep both files) it shows the 1st screenshot again, only changing the document (2).xml, but still doesn't open.
    5. okay, so i check the directory, there's a "file(rebuilt).docx".
    6. I open that file and get this 2nd Screenshot: http://tinypic.com/r/2jez6fb/7
    7. It doesn't open, and Word crashes. http://tinypic.com/r/2jez6fb/7

    Subsequent attempts to open the file renders a crash...

    Was this answer helpful?

    0 comments No comments