Can't Open Word outputt

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Can't Open Word outputt

Unread postby silbertd » Tue Mar 13, 2018 6:34 pm

I am using H&M ver 7.3.4 and when I generate output using a Word template and then try to open it, I get the error:

We're sorry. We can't open yourmanual.docx because we found a problem with its contents.

Details ... XML parsing error.

How do I fix this?

Thank you in advance for your help!
Deb
silbertd
 
Posts: 13
Joined: Fri May 20, 2016 2:05 pm

Re: Can't Open Word outputt

Unread postby Dave Gehman » Tue Mar 13, 2018 7:42 pm

Try closing all word documents before outputting. I can't find the reference here, but I dimly remember this being a solution to a similar problem.
Dave Gehman
 
Posts: 282
Joined: Sat Sep 23, 2017 9:05 pm

Re: Can't Open Word outputt

Unread postby silbertd » Tue Mar 13, 2018 8:35 pm

Thanks, Dave. I tried that and it didn't work.

Here are the precursors to this condition:

1) I chose to edit a Word Template.
2) H&M asked me if I wanted to copy it to my project before editing and I selected Yes.
3) I didn't really edit anything. Just added some text to the front page and deleted the H&M logos.
silbertd
 
Posts: 13
Joined: Fri May 20, 2016 2:05 pm

Re: Can't Open Word outputt

Unread postby Dave Gehman » Tue Mar 13, 2018 9:00 pm

In cases like this, I start over. In this case, you might try the same template without editing it. Delete the earlier output or rename it with a temporary non-docx extension. If that works then one of your changes broke something.
Dave Gehman
 
Posts: 282
Joined: Sat Sep 23, 2017 9:05 pm

Re: Can't Open Word outputt

Unread postby Tim Green » Wed Mar 14, 2018 9:16 am

Hi Deb,

This occurs when the DOCX template you are using is damaged, which sometimes happens unpredictably when editing with Word. Word is unfortunately still quite quirky in many ways, even after all these years. We've analyzed these damaged templates extensively, investing weeks development work in it, and the only conclusion, unfortunately, is that it isn't repairable. The only solution is to start again with a fresh Word template. (The Word DOCX format specifications are somewhere in the region of 7,000 pages and it's unlikely that even anyone at Microsoft understands all of it... :roll: )
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 20355
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: Can't Open Word outputt

Unread postby julio » Wed Mar 14, 2018 12:30 pm

Once I had a problem like this and it turned out to be an invisible and illegal character on a topic. What you can do is unzip the docx (using 7-Zip, for example) and open the file document.xml inside the word folder on a browser, which will identify the exact problem.

Tim Green wrote:Hi Deb,

This occurs when the DOCX template you are using is damaged, which sometimes happens unpredictably when editing with Word. Word is unfortunately still quite quirky in many ways, even after all these years. We've analyzed these damaged templates extensively, investing weeks development work in it, and the only conclusion, unfortunately, is that it isn't repairable. The only solution is to start again with a fresh Word template. (The Word DOCX format specifications are somewhere in the region of 7,000 pages and it's unlikely that even anyone at Microsoft understands all of it... :roll: )
User avatar
julio
 
Posts: 91
Joined: Wed May 28, 2008 12:06 am
Location: Porto Alegre, RS - Brasil

Re: Can't Open Word outputt

Unread postby Tim Green » Wed Mar 14, 2018 5:43 pm

Hi Julio,

It is extremely rare that this is caused by something in your project. In our experience it is something caused by Word itself when editing the DOCX template file, in almost every case.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 20355
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: Can't Open Word outputt

Unread postby julio » Thu Mar 15, 2018 12:24 pm

Yes, I agree, what puzzled me was the cryptic error message displayed by Word, because it showed an error in line XXX on document.xml. For people who do not know how Word documents are structured, that could be strange. I believe this problem was probably caused by a project created in a previous version and then opened in another version. All other outputs (PDF and CHM) were not affected, only when compiling to Word.

Tim Green wrote:Hi Julio,

It is extremely rare that this is caused by something in your project. In our experience it is something caused by Word itself when editing the DOCX template file, in almost every case.
User avatar
julio
 
Posts: 91
Joined: Wed May 28, 2008 12:06 am
Location: Porto Alegre, RS - Brasil

Re: Can't Open Word outputt

Unread postby Tim Green » Thu Mar 15, 2018 12:44 pm

julio wrote:Yes, I agree, what puzzled me was the cryptic error message displayed by Word, because it showed an error in line XXX on document.xml. For people who do not know how Word documents are structured, that could be strange. I believe this problem was probably caused by a project created in a previous version and then opened in another version. All other outputs (PDF and CHM) were not affected, only when compiling to Word.

Occasionally that is possible. Word often trips up on the strangest things. I've experienced so many worrying errors with it, even the latest versions, that I would never consider using it for serious work any more. I have an Office 365 subscription but I only ever use the programs in it for testing, never for any serious work. I use Scrivener for my own private writing projects (not documentation).
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 20355
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany


Return to Help & Manual 7 Forum

Who is online

Users browsing this forum: Baidu [Spider] and 8 guests

cron