Internal Data Integrity (Type 4) Details Needed

Joined
Apr 9, 2020
Messages
2
Reaction score
0
Hi, We're writing documents in Oxygen XML and then running a custom transform to convert them into .docx files for opening in Word. When we open some of the .docx files, we get Internal Data Integrity (Type 4) errors. Word can repair the problems, but we would like to avoid creating .docx files with errors in the first place. Is there any way to find out the exact position and details for the errors? I know we can unzip the .docx into its component .xml files. How do we find out which line of the document.xml file is bad, and details about the error? For example, I can open the document.xml file in Oxygen and run Validate on it, and it displays a number of errors. But most of those errors don't cause Word to complain when it opens a file. We want to find out which problems in the document.xml are causing Word to display Internal Data Integrity (Type 4) errors. Thanks for any help!
 
Joined
Apr 9, 2020
Messages
2
Reaction score
0
Update: I found the Open XML SDK 2.5 Productivity Tool, but when I try to open our docx file, it gives the error "Cannot open the file: Part URI cannot end with a forward slash." On the other hand, if I open the file in Word, let it repair it, and then save it, then the Productivity Tool can open the file afterwards. But this gives me no information about what was repaired. I tried unzipping the original and repaired versions of the docx to different folders and doing a comparison, but there are hundreds of small differences in many different files, so I can't really tell what is significant. Does anyone know what I can do about the "Cannot open the file: Part URI cannot end with a forward slash" error?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top