PDF transformation error

Post here questions and problems related to editing and publishing DITA content.
jmanier
Posts: 41
Joined: Thu Jun 08, 2017 3:41 pm

PDF transformation error

Post by jmanier »

Hi,

I encounter a problem when i'm trying to transform my dita files into PDF. For my french version, everything is OK but when i'm trying to transform the english version, i got an error : [fop] [ERROR] net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: file:/home/jeremy/Bureau/dita/DYDU-multi/out/EN_out/en_US/oxygen_dita_temp/topic.fo:3321:42: A table-cell is spanning more rows than available in its parent element.

I don't know what topic.fo is when i open this file.

Can you help me please to resolve this problem ?

Thanks in advance.

Regards,

Jeremy
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: PDF transformation error

Post by Radu »

Hi Jeremy,

What version of Oxygen are you using?
One of your DITA tables has probably a broken layout.
If after the output failure you open the file "/home/jeremy/Bureau/dita/DYDU-multi/out/EN_out/en_US/oxygen_dita_temp/topic.fo", that is the XSL-FO file which was obtained from the entire DITA project and will be used to create the final PDF. If you navigate in it (Ctrl-L) to line "3321" and column "42", you can try to look around and see from what DITA table the content was generated.
If you have a recent version of Oxygen (newer than 18.0) you can open the main DITA Map in the DITA Maps Manager and use the "Validate and check for completeness" action located on the view's toolbar to validate the entire project, it might show you an error for that broken table.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
jmanier
Posts: 41
Joined: Thu Jun 08, 2017 3:41 pm

Re: PDF transformation error

Post by jmanier »

Hi Radu,

Thank you. It helped me. I found the problem searching into the topic.fo file. Everything is good now :)

It was version 19.0 of Oxygen for your information.

Regards,

Jeremy
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: PDF transformation error

Post by Radu »

Hi Jeremy,

Great, thanks for updating the thread.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply