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-08-19T12:51:37+00:00

    Hi Yves,

    Any chance you'd look at another word doc with corrupted .xml?

    Somehow Word jumbled some of the tags.

    File is at

    http://www.4shared.com/file/iQakQ_w1/doc1.html

    Regards

    Frans

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2010-07-18T15:58:39+00:00

    Thanks for your help, Yves.  I do get the endtag mismatch and coordinate error you mentioned when I try to open the file in Word, but I also can't open the document.xml.  I understand the problem, and I appreciate your help.  Thank you.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-07-18T08:24:05+00:00

    I have the same problem with an important, but corrupt, docx file.  I followed the instructions to add a ZIP extenstion to the file and tried to extract the document.xml file to correct it, but I ran into the error 0x80004005 "unspecified error" while trying to copy it out of the ZIP folder.  I've uploaded the corrupt Word document to the site: http://www.sendspace.com/file/g8bxxc.  Any help is greatly appreciated.

    Thanks

    I'm afraid this error can't be fixed as it indicates that something went wrong during the archiving process (generating the zip file). Two files are corrupt: the main document and the rel file. While the rel file can be probably be reconstructed given the layout of the rest of the archive, the main document contains what you typed as text and therefore can't be derived from anything else.

    So I'm sorry, but I doubt anyone will be able to help you. The only thing you can do is look for a decompressor which is able to repair damaged zip archives. But I doubt you will find any. I tried to run your file through WinRAR and 7-zip and both complained about errors.

    Note that by renaming the file to a zip archive, you will be able to extract your diagrams and images. Probably less than what you hoped for, but it is all you can get.

    This thread handles about a totally different type of error. It is errors in the open xml data structure of documents. The tricks/information described here is only useful if the details of the error look like: "The name in the end tag of the element must match the element type in the start tag" followed by a set of coordinates.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-07-18T00:19:15+00:00

    I have the same problem with an important, but corrupt, docx file.  I followed the instructions to add a ZIP extenstion to the file and tried to extract the document.xml file to correct it, but I ran into the error 0x80004005 "unspecified error" while trying to copy it out of the ZIP folder.  I've uploaded the corrupt Word document to the site: http://www.sendspace.com/file/g8bxxc.  Any help is greatly appreciated.

    Thanks

    Was this answer helpful?

    0 comments No comments