Select the product you need help with
You receive an "end tag" error when you open a DOCX file in Word 2007, 2010 or 2013Article ID: 2528942 - View products that this article applies to. SymptomsWhen you try to open a Microsoft Word 2007, 2010 or 2013 document, you may receive this error message: In Word 2007 and Word 2010: The file <document filename> cannot be opened because there are problems with the contents. Clicking the Details button provides this additional information: The name in the end tag of the element must match the element type in the start tag. Collapse this image ![]() In Word 2013: We're sorry. We can't open <document filename.docx> because we found a problem with its contents. Clicking the Details button provides this additional information: The name in the end tag of the element must match the element type in the start tag. Collapse this image ![]() CauseThis issue is related strictly to oMath tags and occurs when a graphical object or text box is anchored to the same paragraph that contains the equation. The document will display the equation and object on the same line as demonstrated in this image: Collapse this image ![]() The error may not occur until the document is saved, re-edited and saved again. ResolutionOffice 2013 and Office 2010 Service Pack 1 resolves this issue for new files. It will also prevent the problem from recurring with any files that were recovered with the Fix it solution in this article. If you currently have Office 2010 installed on your computer, we recommend that you follow these steps: Step 1Download Office 2010 Service Pack 1. To do this, follow the steps provided in this Microsoft knowledge base article:2460049
(http://support.microsoft.com/kb/2460049)
- Description of Office 2010 SP1Step 2Use the Fix it solution (or manual steps) provided in this article to recover your Word documents that display the error provided in the "Symptoms" section of this article.To have us recover the corrupted file for you, go to the "Fix it for me" section. If you prefer to fix this problem yourself, go to the "Let me fix it myself" section. Fix it for meTo fix this problem automatically, click the Fix it button or link. In the File Download dialog box, click Run and then follow the steps in the Fix it Wizard. This Fix it solution will allow you to recover your file. However, it may not resolve the root cause. You may experience the same symptoms if any further edits to the document occur. Note: This Fix it solution should only be used if the corrupted Word document contains an equation. If the document does not contain an equation please search the Microsoft knowledge base for another troubleshooting article. Collapse this image ![]()
(http://go.microsoft.com/?linkid=9770458)
Microsoft Fix it Collapse this image ![]() Notes
Then, go to the "Did this fix the problem?" section. Let me fix it myselfIf you are familiar with editing XML, you can try to fix the problem yourself by correcting the mismatched oMath tags in the document. See the following example: Incorrect tags: <mc:AlternateContent> <mc:Choice Requires=”wps”> <m:oMath> … </mc:AlternateContent> </m:oMath> Correct tags: <m:oMath> <mc:AlternateContent> <mc:Choice Requires=”wps”> … </mc:AlternateContent> </m:oMath> Note: You will have to use an application such as Notepad to edit the XML. Did this fix the problem?
More informationThe Fix it solution in this article should let you recover your Word document. However, the symptoms will reappear when you make any further edits to the document unless the core problem in the structure of the document is resolved. To try to correct the core problem, follow one of these workarounds: Install Office 2013 or install Office 2010 Service Pack 1 Office 2013 and Office 2010 Service Pack 1 resolves this issue for new files. It will also prevent the problem from recurring with any files that were recovered with the Fix it solution in this article. To download Office 2010 Service Pack 1, follow the steps provided in this Microsoft knowledge base article: 2460049
(http://support.microsoft.com/kb/2460049)
- Description of Office 2010 SP1Grouping Objects The steps provided work best under Word 2010 and Word 2013:
Save the document in the .RTF file format The steps provided work for both Word 2007, Word 2010 and Word 2013:
Click to view this blog
(http://blogs.technet.com/b/wordonenotesupport/archive/2011/03/24/error-when-opening-a-word-2007-or-2010-document.aspx)
for more information about this issue.Properties | Article Translations
|







Back to the top








