An error occurred while loading document 'odpub://INT/SPD/OxmlPrint/Topics/XXXX/Doc/word/document.xml'.

From UPK wiki
Jump to: navigation, search

Contents

Error

Following message is generated during Publishing or Preview:

Status Task Name Type Path Comment Ref. #
Error System Process / Creating numbering styles in document odpub://int/SPD/OxmlPrint/ProcedurePage/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.xml An error occurred while loading document 'odpub://INT/SPD/OxmlPrint/Topics/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Doc/word/document.xml'. See InnerException for a complete description of the error. -1673847682
Warning System Process / Postprocessing document odpub://int/SPD/OxmlPrint/Temp/{name}_SPD.docx Input file is corrupted : 'odpub://int/SPD/OxmlPrint/Temp/{Name}_SPD.docx' 0
Error System Process / Postprocessing document odpub://int/SPD/OxmlPrint/Temp/{name}_SPD.docx Input file is corrupted : 'odpub://int/SPD/OxmlPrint/Temp/{Name}_SPD.docx' -102176231


The middle message may be repeated multiple times

Note that this error only appears during Preview in UPK 11.x. UPK 3.6 seemed to be a bit more forgivging...

Root cause

Typically, this is caused by a malformed Web Page used as a Concept Pane. You can confirm this by publishing the same document as a Job Aid. If that works, then the error is almost certainly in the Concept Pane (as this is the key difference between the SPD and the JA (especially if you publish the JA with screenshots). Most commonly this corruption occurs when text is pasted from Word or some other 'formatting-rich' application, and is typically caused by the source applicaton using poorly-formed HTML (in which the Web Page is ultimately saved). You can confirm this by Displaying the source HTML for a Web Page and looking for overlapping HTML tags, or missing / mis-placed </UL> or </OL> tags.


Resolution

Strip all formatting from the Web Page Concept Pane.

In UPK 12 and above , you can use the Paste from Word option (either on the Edit menu or via right-click in the Web Page Editor, which will remove all extraneous formatting introduced by Word. You can also use the Paste as text option (again, from the Edit menu), which will remove all formatting from the text.

In earlier versions of UPK, the easiest way of doing this is to cut all of the text from the Web Page, paste it into Notepad (which will strip out all formatting), then copy/paste it back into UPK before re-creating all of the formatting natively from within UPK.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox