Replies: 2 comments
-
When the XSL-FO output is compiled to PDF it is usually too late to give meaningful error messages as the XSL-FO content does not retain information about the original DITA content which generated it. In such cases it would be best to add more validation to the DITA content to take care of such situations which may arise in the PDF generation part. So maybe you can impose more validation checks on the editing side. https://www.oxygenxml.com/doc/versions/24.1/ug-editor/topics/dita-map-validate.html |
Beta Was this translation helpful? Give feedback.
-
@desaisam - another technique I use is to successively keep deleting content that is not related to the problem:
A "binary search" approach can help. Delete (or comment out!) half of what you are looking to test. If the problem is resolved, then restore that content and delete the other half. This can help you quickly narrow down the problematic content. |
Beta Was this translation helpful? Give feedback.
-
Team,
I am using DITAOT 3.3.4 and everything works fine. However, in a collaborative environment when someone makes a mistake the ANT crashes and PDFs do not get generated.
For example the error below :
This log message is impossible to comprehend by a non technical person. and usually spend hours in debugging this.
I want to produce logs which are to be consumed by non Technical people ( like Tech Writers) . Any approaches or suggestions on how can I achieve this. This will be really helpful as we spend lot of time usually to find the root cause of the error.
Thanks in advance,
Sam
Beta Was this translation helpful? Give feedback.
All reactions