Getting an Undeclared Prefix error when I try to open a Word document

I'm trying to open a Word document and get the following error:

Undeclared Prefix

Location: Part: /word/document.xml, line 2, Column: 132607.

How do I get this document open?

Thanks.

May 1st, 2015 10:04am

Hi,

Based on the error message, the most likely cause of your particular problem is that you are missing a schema prefix reference within the opening <document ...> XML tag (usually the second one). Different schema references are required for various types of specialty content.

We might try a manual fix, here is a general process for you to follow:
Manual Fix
         Make a copy of the file

         Rename the copy from DOCX to ZIP

         Open .ZIP/word/document.xml in notepad

         Copy the contents of the file to clipboard

         Open Word

         Paste a copy of the copied XML into Word

         (optional) the XML is one long string too hard to read, you can replace some tags, with that tag plus a para mark to break up the text to make it more people readable.

         Open an XML validator

         Paste another copy of the XML into the Syntax Check Your XML input window

         Click on validate button

         Copy the missing tag, ie </mc:Fallback> (yours will be different)

Return to word Find: mc:Fallback>  (without the </ so you find both open and closing tags).  Repeat find until you hit 2 open tags in a row.  Then you just have to figure out where to put the closing tag between them.  Look for other tags before and after a proper closing tag so you can match the problem area to a good area.

Reference:

http://answers.microsoft.com/en-us/office/forum/office_2010-word/cant-open-word-file-due-to-undeclared-prefix/a7c3b29a-da52-4d3e-bc4f-ca7e1e0771f4

Regards,

George Zhao
TechNet Community Support

Free Windows Admin Tool Kit Click here and download it now
May 4th, 2015 3:14am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics