Notifications about transformation problems during automatic nightly build

Post here questions and problems related to editing and publishing DITA content.
susannecm
Posts: 109
Joined: Wed Mar 17, 2010 1:04 pm

Notifications about transformation problems during automatic nightly build

Post by susannecm »

Hi everyone,

we have a custom application that integrates the DITA documentation in our Subversion repository with the Oxygen Publishing Engine and Jenkins.
We create PDF and WebHelp, and with the PDFs, there are occasional problems with table cells that are too large for the page.
With interactive transformation, there will be messages in a "Transformation problems" tab at the bottom of the window about a table element being too large for the viewport, including the page number in the PDF file on which the problem occurred. Is there a way to include the same information in the Jenkins build report of the automatic transformation?

Thank you for any help
Susanne
julien_lacour
Posts: 498
Joined: Wed Oct 16, 2019 3:47 pm

Re: Notifications about transformation problems during automatic nightly build

Post by julien_lacour »

Hi Susanne,

When table cells are too large for the page, you should see errors like the following in Jenkins job console:

Code: Select all

     [exec] WARN  ColumnSetup - [CH][WARN] Column(s) too wide in the auto table. Increasing table content area for fo:table, location: 168:1450 id='d193e286' "Chrysanthemum" "perennial"  "well drained" "Gardenia" "perennial"...
Basically, error and warning messages from Oxygen PDF Chemistry are prefixed with "[CH][ERROR]" and "[CH][WARN]". You can check for these prefixes in the console and gather them. A similar process is made within Oxygen to display the messages in the "Transformation problems" tab.

Regards,
Julien
susannecm
Posts: 109
Joined: Wed Mar 17, 2010 1:04 pm

Re: Notifications about transformation problems during automatic nightly build

Post by susannecm »

Hi Julien,
awesome, this will be very helpful.
Are there similar prefixes for transformation problems with WebHelp output?
Kind regards
Susanne
julien_lacour
Posts: 498
Joined: Wed Oct 16, 2019 3:47 pm

Re: Notifications about transformation problems during automatic nightly build

Post by julien_lacour »

Hi Susanne,

There are no custom prefixes in WebHelp Responsive scenario but the encountered errors running this transformation are DITA-OT error messages. So basically you could check for these IDs in Jenkins job console.

Regards,
Julien
Post Reply