Fixing MS Word error: “ The name in the end tag of the element must match the element type in the start tag”
Word corruption or crashing issues are becoming common for Word users. I have seen so many forum thread related to this issue. It seems that every second user of Word is facing the same corruption or crashing issue. You must have seen strange error message when you try to open or save your Word document. Sometime people assume that their document gets corrupt because they have receive error message and they have no option but to use third party tool to help get data back. This is not true, you can yourself fix your data by using free methods provided by Microsoft but if that does not help you then only you should go for third party tool.
So lets consider a real life scenario wherein you try to open your Word document and receive below error message:
“ The file <filename> cannot be opened because there are problems with the contents.”
When you click on detail button you will receive below additional information:
The name in the end tag of the element must match the element type in the start tag.
Cause: This problem is related to oMath tags and occurs when a graphical object or text box is anchored to the same paragraph that contains the equation as shown in below image.
Solution: To fix the issue you have four methods. If one solution does not help you then try another.
Method 1: Download and install Office 2010 Service Pack 1: It will resolve the issue for new files.
Method 2: Correct incorrect XML tags: If you know XML then you can yourself fix the problem by correcting oMath tags.
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>
Method 3: Grouping objects: Follow below steps to solve the problem:
For Word 2010:
Method 4: Save your document in .rtf file format.
For Word 2007 and 2010:
So lets consider a real life scenario wherein you try to open your Word document and receive below error message:
“ The file <filename> cannot be opened because there are problems with the contents.”
When you click on detail button you will receive below additional information:
The name in the end tag of the element must match the element type in the start tag.
Cause: This problem is related to oMath tags and occurs when a graphical object or text box is anchored to the same paragraph that contains the equation as shown in below image.
Solution: To fix the issue you have four methods. If one solution does not help you then try another.
Method 1: Download and install Office 2010 Service Pack 1: It will resolve the issue for new files.
Method 2: Correct incorrect XML tags: If you know XML then you can yourself fix the problem by correcting oMath tags.
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>
Method 3: Grouping objects: Follow below steps to solve the problem:
For Word 2010:
- Open your recovered document.
- Go to Home tab-> Selection pane.
- In the Editing group of Home tab click the Select dropdown and then click the Selection Pane.
- A task pane will be open that allow you to see the different objects on current page.
- Now hold the Ctrl key and click each text box in the Selection Pane.
- To group all the objects together,Under Drawing Tools, on the Format tab, in the Arrange group, click Group, and then again click Group.
- Once you group all the objects on each page, save the file with a new name.
Method 4: Save your document in .rtf file format.
For Word 2007 and 2010:
- Open your document.
- Go top File-> Save. ( For Word 2007 go to Office Button-> Save As)
- Now in the Save As dialog box click dropdown and select .rtf format.
- Save the document.
Comments
Post a Comment