Facing issues with PDF generation while importing custom dita content | Community
Skip to main content
Level 2
May 24, 2023
Solved

Facing issues with PDF generation while importing custom dita content

  • May 24, 2023
  • 1 reply
  • 725 views

Hello everyone,

 

I have imported custom dita content into aem guides. While generating pdf, I'm getting below errors:

Kindly suggest options to resolve these errors.

 

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 Rohan_Garg

@abisha - Can you post your ditamap file here?

It looks like a broken DITA file. We need to check your files for broken DITA syntax.

You have 3 errors/warnings highlighted - 

1. An element type is required in the declaration of element type "desc"
2. Unable to parse invalid href attribute value "Section 4 Heat Treatment=GUID----=en=.xml"
3. [move-meta] java.io.FileNotFoundException- The system cannot find the file specified

1 & 2 seem to be associated with the ditamap file itself, while 3 might be due to the lack of compilation due to 1 & 2.

 

Thanks,

Rohan Garg

1 reply

Rohan_Garg
Community Advisor
Rohan_GargCommunity AdvisorAccepted solution
Community Advisor
May 26, 2023

@abisha - Can you post your ditamap file here?

It looks like a broken DITA file. We need to check your files for broken DITA syntax.

You have 3 errors/warnings highlighted - 

1. An element type is required in the declaration of element type "desc"
2. Unable to parse invalid href attribute value "Section 4 Heat Treatment=GUID----=en=.xml"
3. [move-meta] java.io.FileNotFoundException- The system cannot find the file specified

1 & 2 seem to be associated with the ditamap file itself, while 3 might be due to the lack of compilation due to 1 & 2.

 

Thanks,

Rohan Garg