Output presets JSON generation failed | Community
Skip to main content
Level 4
July 19, 2023
Solved

Output presets JSON generation failed

  • July 19, 2023
  • 1 reply
  • 965 views

Hi Team,

 

I am generating JSON output presets for the ditamaps and its failing. Below error showing in the history.log file.

[DOTA001F][FATAL] "dita" is not a recognized transformation type. Supported transformation types are bcmhtml5, bcmpdf, bcpdf, ca)bcpdf, ca_bcpdf, eclipsehelp, html5, htmlhelp, javahelp, msd_bcpdf, pdf, pdf2, sym_bcpdf, tocjs, troff, xhtml.

 

Please ssuggest.

Thanks

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lukas307478337x42

Hi, while I can't say for sure how to fix it, I think I can give some pointers as to where the problem lies:

 

1. This is a DITA-OT error message. You can look them up here: DITA-OT error messages

2. The standard JSON output uses the DITA OT to generate normalized DITA for further post-processing. The process of normalizing DITA is the "dita" transformation that is being referenced in the log. While this transformation would usually be included in the DITA-OT (see: DITA-OT transformations (output formats)), it seems to be missing in your case.

 

Are you using a modified DITA-OT? If so, maybe you can try using the unmodified DITA-OT that should be available in AEM Guides to test your transformation. You should be able to do so, by applying the default DITA profile (Tools>Guides>Dita Profiles) to the folder of your input. If you have modified the default profile, you can create a new one and reference the standard DITA-OT there. It should usually be located under /libs/fmdita/dita_resources/DITA-OT.zip.

 

I hope that this information is of some use for you 🙂

 

All Best,

Lukas

1 reply

Lukas307478337x42Accepted solution
Level 2
July 19, 2023

Hi, while I can't say for sure how to fix it, I think I can give some pointers as to where the problem lies:

 

1. This is a DITA-OT error message. You can look them up here: DITA-OT error messages

2. The standard JSON output uses the DITA OT to generate normalized DITA for further post-processing. The process of normalizing DITA is the "dita" transformation that is being referenced in the log. While this transformation would usually be included in the DITA-OT (see: DITA-OT transformations (output formats)), it seems to be missing in your case.

 

Are you using a modified DITA-OT? If so, maybe you can try using the unmodified DITA-OT that should be available in AEM Guides to test your transformation. You should be able to do so, by applying the default DITA profile (Tools>Guides>Dita Profiles) to the folder of your input. If you have modified the default profile, you can create a new one and reference the standard DITA-OT there. It should usually be located under /libs/fmdita/dita_resources/DITA-OT.zip.

 

I hope that this information is of some use for you 🙂

 

All Best,

Lukas

Beaula123Author
Level 4
July 19, 2023

Thank you for the quick suggestion Lukas.

 

I see this issue while generating JSON output preset for the few of the ditamaps. Some are working fine.