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
    2011-08-31T22:23:17+00:00

    @Alfranglez,

    The .DOCX archive is corrupt so any attempt to repair the document.xml within it is stymied immediately by not being able to remove the document.xml. Was the posted copy something that had had repair attempts already? Do you have any other version?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-08-31T19:50:49+00:00

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

    Please! It's urgent to recover that file! I'm desperate.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2011-08-14T00:14:39+00:00

    Unless you have a backup copy somewhere, I think you will need to re-do the work.  From what I could tell, the file "document.xml" did not get written back to the usb drive correctly.   

    If the problem was a missing tag or tags didn't get written in the correct order, we would have a little bit more we could do to fix the file.  Unfortunately, that doesn't appear to be the issue with this file.  I couldn't even extract the document.xml file to take a look at its contents and see what tags might be causing the problem.  It seems to be a problem lower down in the file and not in the xml tags. 

    Sorry I wasn't able to get you anything back from this file.

    Brandon

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2011-08-12T14:10:52+00:00

    I was able to fix my problem myself with the information on this thread, but thought I would tell you what I found since neither the tool from Microsoft nor the Rebuilder template would fix it.

    The following two end tags were completely missing from my document.xml.

    </v:textbox></v:shape>

    The context was that I was building a small form to go in a table at the top of a template. There are no math elements anywhere in the document.

    I corrupted several files early in the process with the end tag problem before getting far enough with one to make recovery worth while.

    Now I have to backup every Word file before I edit it, save often, close Word every time I save, then reopen, then either restore if it corrupted the file or backup the latest revision. Real productive, eh?

    Was this answer helpful?

    0 comments No comments