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.
Technology Tips and News
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.
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:
Regards,
George Zhao