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-28T10:23:56+00:00

    Thank you Rachel.

    I cannot recreate this, or, at the moment, see how it can happen but I am still looking at it.


    Enjoy,

    Tony

    www.WordArticles.com

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2010-12-28T10:14:21+00:00

    As Yves said, your document has been corrupted by something outside Word.

    From a quick look, the first 4k bytes all seem to have been OR'd with 0x0f. This is not what would be expected simply from saving to removable media and I wonder if you have some malware on your machine.


    Enjoy,

    Tony

    www.WordArticles.com

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-12-28T09:40:41+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.

    It's not about a mismatch, your archive is corrupt. Part of your main document is gone forever. There is no way Word can recover from that. The most likely cause of this error is that you tried to save your document directly to some form of removable media rather than saving to your hard disk first and then copying the file.

    I was able to recover about 2 pages which you can get from http://www.sendspace.com/file/asgjel

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-12-28T09:22:45+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.

     

    Your archive is corrupted, it has nothing to do with Word. The most likely cause if this type of error is the direct saving to removable media as Doug Robbins pointed out.

    I did a quick check and I noticed that your footnotes (all 117), comments  (1) and images (1) can be recovered (rename the docx to zip and extract the files). However, your main document seems to be lost.

    Was this answer helpful?

    0 comments No comments