Xml parsing error on .wordx document

Solved
Farfadet88 Posted messages 19 Registration date   Status Member Last intervention   -  
Farfadet88 Posted messages 19 Registration date   Status Member Last intervention   -
Hello,

I have a Word file that gives me the following error upon opening:
Xml parsing error
Location: part: word/document.xml, line: 2, column: 2614270

I tried copying the file and changing its extension from .wordx to .zip

But after that, I don't know how and where to recover the text.

Can anyone help me?

Configuration: ...

--
One should never underestimate the predictability of human stupidity.

1 answer

  1. m@rina Posted messages 27507 Registration date   Status Moderator Last intervention   11 562
     
    Hello,

    Afterwards, you need to open the zip file. Inside the zip, there is a Word folder, and within it a document.xml file. You need to extract this document, open it with an XML editor (like Notepad++), and look for the error.
    Now, if you are not familiar with XML at all, it will be like searching for a needle in a haystack.

    Note that line 2, column xxxxx, means nothing at all, because by default, the XML from Word does not have line breaks. So there is only one line, and the error is therefore at the 2,614,270th character! You will need to reconstruct the XML (an editor can be used). Then retest to see what Word says.
    And that still won’t mean much, because if the tags are broken, that’s what needs to be found, and the error is not necessarily where you think it is.

    m@rina

    --
    Please do not ask me your questions in private. I do not respond to them.
    0
    1. Farfadet88 Posted messages 19 Registration date   Status Member Last intervention   1 402
       
      "Now, if you don't know XML at all, it's going to be like searching for a needle in a haystack."

      Indeed, I know nothing about it... I thought I could at least retrieve my plain text, but it's filled with lines of code that I don't understand...

      So not much to do but to cry? ^^
      0
    2. m@rina Posted messages 27507 Registration date   Status Moderator Last intervention   11 562
       
      If you want, I can take a look.
      You can put your document here: https://www.cjoint.com/ and give me the link.

      If you don't want to share your document with the whole world, you can send me the link in a private message.

      m@rina
      0
    3. Farfadet88 Posted messages 19 Registration date   Status Member Last intervention   1 402
       
      I did it! I recovered the plain text using Notepad. And I got the complete file by copying it and opening it on another PC, then saving it as .doc instead of .docx.

      Thank you!
      0