Jump to content

Corrupt Word File document.xml


UpGrade

Recommended Posts

Hi Guys,

I need some assistance whoever is good with XML will surely be able to help. i have a corrupt word document that i need to fix the error i get is:

 

Premature end of data in tag document line 2 Word document.XML file

 

I have reformatted the document witrh XML Tools in Notepad++ and i cannot see any issue with the line refereed to.

The text is so bit it lags my computer for a few seconds so cant paste here but i have uploaded the whole xml here:

http://www54.zippyshare.com/v/a0zZzBW7/file.html

I have been trying for days with no luck!

Can anybody assist me with this because im loosing my mind here lol. I am able to locate the line it tells me the error is on but i cant see where the issue is as it looks ok to me. XML marker shows this:

Untitled.jpg

I am no good white XML so how would i fix ?

Please help

Link to comment
Share on other sites


  • Replies 3
  • Views 884
  • Created
  • Last Reply

1.  Do you have a copy of the original docx file before you started playing with it?

 

2.  Does the document contain any mathematical formulas?

 

3.  Which version of Office was this document created in?

 

Andrew, did you find your answer on any of the other websites you posted your question to?

 

Link to comment
Share on other sites


8 hours ago, UpGrade said:

Hi Guys,

I need some assistance whoever is good with XML will surely be able to help. i have a corrupt word document that i need to fix the error i get is:

 

Premature end of data in tag document line 2 Word document.XML file

 

I have reformatted the document witrh XML Tools in Notepad++ and i cannot see any issue with the line refereed to.

The text is so bit it lags my computer for a few seconds so cant paste here but i have uploaded the whole xml here:


http://www54.zippyshare.com/v/a0zZzBW7/file.html

I have been trying for days with no luck!

Can anybody assist me with this because im loosing my mind here lol. I am able to locate the line it tells me the error is on but i cant see where the issue is as it looks ok to me. XML marker shows this:

Untitled.jpg

I am no good white XML so how would i fix ?

Please help

 

 

Here is how to fix your file:

Open it in NPP, go to line 96357, change it from <mc:Fallback>  to </mc:Fallback>, save it.  Put the saved document.xml back in the docx file.  It should open fine.

Link to comment
Share on other sites


On 2017-6-12 at 5:13 AM, straycat19 said:

1.  Do you have a copy of the original docx file before you started playing with it?

 

2.  Does the document contain any mathematical formulas?

 

3.  Which version of Office was this document created in?

 

Andrew, did you find your answer on any of the other websites you posted your question to?

 

1. yes 

2. no

3. 2010

and no i did not im assuming you have seen where i posted this then as you know my name

On 2017-6-12 at 6:11 AM, straycat19 said:

 

 

Here is how to fix your file:

Open it in NPP, go to line 96357, change it from <mc:Fallback>  to </mc:Fallback>, save it.  Put the saved document.xml back in the docx file.  It should open fine.

thank you i have tried this in xml marker and it throws up an error the error is no on line 96357 still the lines are different when opened in notepad as it was on a different line so i changed it from xml marker

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...