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-02-13T16:55:43+00:00

    Hello! I'm also having the XML issue with a Word 2007 file. I tried "Open & Repair" on Word but that didn't work. Tried opening it with OpenOffice and didn't work either. I also tried Tony's rebuilder but that didn't help.

    I know nothing of XML, so please, I would really appreciate some help here. I have been working on this for a couple of months, I wouldn't want to lose this file!

    Here's the file:http://cid-47b12c7f8f9a4278.office.live.com/self.aspx/P%C3%BAblico/word%20problem/Bit%C3%A1cora%20definitiva.docx

    I hope you can help me. My email is Email removed for privacy. Thanks for your time!

    Your document.xml file is indeed partially corrupted. I tried to recover as much as I could. See http://www.sendspace.com/file/yenp4i

    The zip file contains 2 files. The docx file I was able to repair (should be over 50% of your original document) and the corrupt document.xml. There might be more data you can manually recover from document.xml.

    The error most likely occured due to attempting to save directly to an usb flash drive (and not removing the drive correctly). Always save your documents to your local hard drive and then copy them to your usb stick. But probably more important, make backups.

    Hi, I seem to have a similar error: 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: 325282.

    Is it possible to fix this on a docx file?

    I've uploaded the file here: http://www.mediafire.com/?f3beos54p99it8w

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-02-11T14:07:50+00:00

    Thanks a lot Yves!

    Yeah, it's missing a part. Whenever I tried one of those programs to "recover corrupt word files", a couple of them managed to recover it only to that point.

    I also tried checking the document.xml you sent me, but it ends up exactly at the same point where the fixed word file ends at.

    That's indeed what happened. I was saving this onto an external hard drive all the time. But thanks a lot for your advice, now I know I first have to save documents on my local hard drive to prevent errors like this from happening.

    Thanks for your help!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2011-02-11T10:16:00+00:00

    Hello! I'm also having the XML issue with a Word 2007 file. I tried "Open & Repair" on Word but that didn't work. Tried opening it with OpenOffice and didn't work either. I also tried Tony's rebuilder but that didn't help.

    I know nothing of XML, so please, I would really appreciate some help here. I have been working on this for a couple of months, I wouldn't want to lose this file!

    Here's the file:http://cid-47b12c7f8f9a4278.office.live.com/self.aspx/P%C3%BAblico/word%20problem/Bit%C3%A1cora%20definitiva.docx

    I hope you can help me. My email is Email removed for privacy. Thanks for your time!

    Your document.xml file is indeed partially corrupted. I tried to recover as much as I could. See http://www.sendspace.com/file/yenp4i

    The zip file contains 2 files. The docx file I was able to repair (should be over 50% of your original document) and the corrupt document.xml. There might be more data you can manually recover from document.xml.

    The error most likely occured due to attempting to save directly to an usb flash drive (and not removing the drive correctly). Always save your documents to your local hard drive and then copy them to your usb stick. But probably more important, make backups.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2011-02-11T05:07:41+00:00

    Hello! I'm also having the XML issue with a Word 2007 file. I tried "Open & Repair" on Word but that didn't work. Tried opening it with OpenOffice and didn't work either. I also tried Tony's rebuilder but that didn't help.

    I know nothing of XML, so please, I would really appreciate some help here. I have been working on this for a couple of months, I wouldn't want to lose this file!

    Here's the file:http://cid-47b12c7f8f9a4278.office.live.com/self.aspx/P%C3%BAblico/word%20problem/Bit%C3%A1cora%20definitiva.docx

    I hope you can help me. My email is *** Email address is removed for privacy ***. Thanks for your time!

    Was this answer helpful?

    0 comments No comments