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. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Anonymous
    2019-12-13T07:03:55+00:00

    Hi Doug,

    Thank you so much for your quick help. Really appreciate it. You are great sir.

    Thank you also for explaining the cause of the error.

    I have retrieved the file, so you may remove it from the folder.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2019-12-13T01:49:44+00:00

    Hi Doug, 

    I am facing with the same problem with my wife's document. Would you be able to help me as well?

    And may I know what the actual problem that cause this error on my wife's document. I would greatly appreciate it. Thanks!

    https://drive.google.com/file/d/1ENMW4Io-3RRFQC5b3gz5X0J47iE2fHlz/view?usp=sharing

    Was this answer helpful?

    0 comments No comments
  4. Doug Robbins - MVP - Office Apps and Services 323.6K Reputation points MVP Volunteer Moderator
    2019-12-11T00:20:54+00:00

    Yes, to be able to open the document,it was necessary to correct an error in the document.xml code.  The error was associated with the image on the cover page, which had been inserted with Square Text Wrapping.

    As my experience from repairing documents indicates, any Layout other than In Line with Text is likely to cause such an error, I did change the layout of that image in the recovered copy of your document so that it is now In Line with Text.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2019-12-10T14:31:41+00:00

    I just received it! Thank you very very much Doug!!!

    May I ask how you fixed it? Did it require playing with the XML tags?

    Was this answer helpful?

    0 comments No comments