Expand my Community achievements bar.

SOLVED

Facing issues with PDF generation while importing custom dita content

Avatar

Level 2

Hello everyone,

 

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

Abisha_3-1684909960186.pngAbisha_4-1684910013078.png

Abisha_5-1684910051310.png

Kindly suggest options to resolve these errors.

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@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