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-03-23T12:12:45+00:00

    I've had another look and on page 7 under the heading "Uncertainties" you have a list of three equations followed by a paragraph - and a textbox (which contains another equation) is anchored to the paragraph.

    The textbox is held in two formats - one for Word 2010, and one for earlier versions, and the Word 2010 version was tangled up with an (extra) empty equation that doesn't appear on the document surface. This is a typical scenario and nobody (outside Microsoft) knows exactly what is going on.

    Normally when I fix these documents, I move the empty equation to after the textbox but I think it would be safe - even better - to delete it.

    If you happen to know of anything you did, or anything that happened, to that area of the document the last time you edited it before it broke, I would be interested

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-03-23T10:14:13+00:00

    I did, but I can't remember - I see so many of these documents :-(. If the file is still online, I'll try to have a look later and let you know - although, sadly, I suspect the information will be of little value unless you can remember _exactly_ what you were doing before it went wrong.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2011-03-23T09:02:01+00:00

    Genius! 

    Did you find what exactly was wrong with it?

    Regards,

    Darren

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2011-03-21T17:09:03+00:00

    When you say you edited the xml content, what did you do and, more importantly, did you keep the xml file outside the word document?

    Hi, The file uploaded was the original corrupted .docx file (mac).

    The one I worked on was a duplicate. I renamed it a .zip and uncompressed it. Edited the document.xml that showed a start/end tag mismatch (changed to ending:- </w:t></w:r></w:p></w:body></w:document> ).

    and recompressed trying a few different zip techniques with 7zip freeware)

    It never really worked properly, at best only retrieving the first few hundred words of a 6000+ word document.

    I've started re-writing, but thanks for taking a look, it really is appreciated.

    Was this answer helpful?

    0 comments No comments