PDF transformation error

jmanier
Posts: 8

PDF transformation error

Mon Oct 09, 2017 4:08 pm

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: 5095

Re: PDF transformation error

Mon Oct 09, 2017 4:42 pm

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: 8

Re: PDF transformation error

Mon Oct 09, 2017 5:05 pm

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: 5095

Re: PDF transformation error

Mon Oct 09, 2017 5:11 pm

Hi Jeremy,

Great, thanks for updating the thread.

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

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 0 guests