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
    2010-10-28T07:49:38+00:00

    Thank you very much Yves Dhondt >:D<

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2010-10-28T07:19:09+00:00

    Hello,

    I have the same problem with my word document.

    Here it is: http://www.mediafire.com/?v1afd6b6dwqv5jg

    I will truly appriciate if someone can fix that kind of problem in my .docx file.

    Thank you in advance.

    Cuong

    See http://www.mediafire.com/?6gu5gvwz6s73by7

    The error was just above "A simple DC machine consisting of a conducting bar sliding".

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-10-28T05:36:37+00:00

    Hello,

    I have the same problem with my word document.

    Here it is: http://www.mediafire.com/?v1afd6b6dwqv5jg

    I will truly appriciate if someone can fix that kind of problem in my .docx file.

    Thank you in advance.

    Cuong

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-10-27T12:30:36+00:00

    Do you know, is it a bug of Office 2010?

    Yes, it is a bug. I have reported it to Microsoft.

    And as I see, you have changed some part in the 'document.xml' file...Can we change the xml file by ourselves,

    Yes, if you know what to do. It isn't difficult. I have no definitive information - all I know is based on experience, but what appears to be the case is that a basic structure that should look like this:

    <mc:AlternateContent>

        <mc:Choice>

            <m:oMath>

                Part (possibly all) of an equation, followed by the

                Second part (possibly none) of the equation

            </m:oMath>

        </mc:Choice>

        <mc:Fallback>

            A picture of the equation

        </mc:Fallback>

    </mc:AlternateContent>

     ... ends up looking like this, instead:

    <mc:AlternateContent>

        <mc:Choice>

            <m:oMath>

                Part (possibly all) of an equation, followed by the

        </mc:Choice>

        <mc:Fallback>

            A picture of the equation

        </mc:Fallback>

    </mc:AlternateContent>

                Second part (possibly none) of the equation

            </m:oMath>

    and you have to put it back together properly so that Word can open it. You have to use a tool that is not a 'consumer' of xml because consumers (including Word) are not allowed to do anything with broken files except report the error(s); it's a bit of a catch-22 situation: Word breaks the file and is not allowed to mend it!

    is there a reference documentation that explain xml structure?

    Yes - it's about 6000 pages long. Google for either ECMA 376 or ISO 29500 - versions of the standard from two different standardisation bodies (the differences are inconsequential in most circumstances).


    Enjoy,

    Tony

    www.WordArticles.com

    Was this answer helpful?

    0 comments No comments