Error- the name in the end tag of the element must match the element type in the start tag

Anonymous
2018-01-14T04:12:40+00:00

Hi, never really posted in one of these things before I this is sort of an emergency, I have an important document due in a few days for uni and all was going good until I encounter the error 'the name in the end tag of the element must match the element type in the start tag' which is preventing me from opening my document.

Naturally when I encounter this error I googled and attempted many fixes and have been attempting to edit the document.xml file for around 4 hours now to no avail.

I would greatly appreciate some help in how to overcome this error, I've linked a google drive folder with both the entire word document as a .rar file and the document.xml file as well as a screenshot of the error below.

I really don't know how to use this site but any help would be appreciated tremendously due to the importance of me resolving this error quickly.

Thanks in advnaced for any help anyone can offer 

:)

https://drive.google.com/drive/folders/19zeLbff\_RpBTZlhBdXn3FliQap19kNwI?usp=sharing 

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

306 answers

Sort by: Most helpful
  1. Doug Robbins - MVP - Office Apps and Services 323.6K Reputation points MVP Volunteer Moderator
    2020-03-01T23:34:47+00:00

    A repaired copy of your document has been uploaded to the following folder of my OneDrive

    https://1drv.ms/f/s!AmuIXmFDy-1azRlX2JBMPPp_Nb1x

    Let me know when you have retrieved it so that I can delete it from that folder.

    You should update your Office 2010 installation by installing both of the Service Packs that have been released for it because the first of those Service Packs included modifications to the Word application that will prevent the occurrence of errors such as those that were present in your document.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Doug Robbins - MVP - Office Apps and Services 323.6K Reputation points MVP Volunteer Moderator
    2020-01-24T00:45:12+00:00

    A repaired copy of your document has been uploaded to the following folder of my OneDrive

    https://1drv.ms/f/s!AmuIXmFDy-1azRlX2JBMPPp_Nb1x

    Let me know when you have retrieved it so that I can delete it from that folder.

    Note, all of the errors in the document were associated with the images that had been inserted inside Shapes, which is not necessary.  It would be far better to simply insert the images directly into the body of the document with the Text Wrapping set so taht they are In-line with Text.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Doug Robbins - MVP - Office Apps and Services 323.6K Reputation points MVP Volunteer Moderator
    2019-12-13T06:37:53+00:00

    A repaired copy of your document has been uploaded to the following folder of my OneDrive

    https://1drv.ms/f/s!AmuIXmFDy-1azRlX2JBMPPp_Nb1x

    Let me know when you have retrieved it so that I can delete it from that folder.

    The problems with your document were caused by images such as those in Figure 4.6 that had been inserted so that they were In Front of Text.

    Such corruption is less likely to occur if you insert the images so that they are In Line with Text, using a Table to achieve the desired layout

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Doug Robbins - MVP - Office Apps and Services 323.6K Reputation points MVP Volunteer Moderator
    2019-11-29T23:06:59+00:00

    A repaired copy of your document has been uploaded to the following folder of my OneDrive

    https://1drv.ms/f/s!AmuIXmFDy-1azRlX2JBMPPp_Nb1x

    The issue with your document was caused by the following "compound image"

    By "compound image, I mean an image that is made up of a number of separate parts.  To minimize the chance of such errors occurring, I recommend compiling the image in a separate document and then use a screen capture utility such as Snagit from www.techsmith.com to create a screen capture of the compound image, which can then be saved as a single jpg image in the Snagit Editor.

    That single image should be inserted into the document, with the separate document being retained in case later editing is required, in which case the screen capture process can be performed again.

    Let me know when you have retrieved the document so that I can delete it from that folder.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Doug Robbins - MVP - Office Apps and Services 323.6K Reputation points MVP Volunteer Moderator
    2019-11-25T02:59:49+00:00

    Hi Charles,

    It seems to be most likely to occur in the following circumstances

    • with objects (images, text boxes. etc) that have the layout set to other than "In Line with Text"
    • with "compound" objects (images, text boxes etc.) that consist of multiple graphic elements, which is where I recommend compiling the "compound" object in another document and then using Snagit to take a screen capture of it so that there is just a single object to be inserted into the actual document.

    In many cases, the use of text boxes can be avoided by the use of a table.

    I do not think I have come across a case where a Table set to have the text wrap around it has caused an xml tag error (but they quite often cause other problems for users who do not realise that they have inadvertently changed their table so that the text will wrap around it.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments