PDF: Fails with XSL-FO but succeeds with HTML5&CSS
Posted: Thu Nov 05, 2020 10:20 pm
I have a project that succeeds when I use the transformations "DITA Map WebHelp Responsive" and "DITA Map PDF - based on HTML & CSS". However it fails when I use "DITA Map PDF - based on XSL-FO". Unfortunately, I need to use the XSL-FO transformation.
I cannot decipher the transformation problems:
Any hints on how I can begin to figure this out? I'm finding that the XSL-FO transformation to be very unyielding.
I cannot decipher the transformation problems:
Code: Select all
System ID: /home/clum/repos/docs-cust/PHEMI_Central/PHEMI_UNIFIED_TESTING.ditamap
Scenario: DITA Map PDF - based on XSL-FO - Copy
Input file: /home/clum/repos/docs-cust/PHEMI_Central/PHEMI_UNIFIED_TESTING.ditamap
Engine name: FOP
Severity: error
Description: net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: "fo:page-sequence" is not a valid child of "fo:block"! (See position 79:102)
System ID: /home/clum/repos/docs-cust/PHEMI_Central/temp/pdf/oxygen_dita_temp/topic.fo
Scenario: DITA Map PDF - based on XSL-FO - Copy
Input file: /home/clum/repos/docs-cust/PHEMI_Central/PHEMI_UNIFIED_TESTING.ditamap
Engine name: FOP
Severity: error
Description: "fo:page-sequence" is not a valid child of "fo:block"!
Start location: 79:0
System ID: /home/clum/Oxygen XML Author 22/frameworks/dita/DITA-OT3.x/plugins/org.dita.base/build.xml
Scenario: DITA Map PDF - based on XSL-FO - Copy
Input file: /home/clum/repos/docs-cust/PHEMI_Central/PHEMI_UNIFIED_TESTING.ditamap
Engine name: DITA-OT
Severity: error
Description: The following error occurred while executing this line:
Start location: 29:0
System ID: /home/clum/Oxygen XML Author 22/frameworks/dita/DITA-OT3.x/plugins/org.dita.pdf2.fop/build_fop.xml
Scenario: DITA Map PDF - based on XSL-FO - Copy
Input file: /home/clum/repos/docs-cust/PHEMI_Central/PHEMI_UNIFIED_TESTING.ditamap
Engine name: DITA-OT
Severity: error
Description: org.apache.fop.apps.FOPException: org.apache.fop.apps.FOPException: net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: "fo:page-sequence" is not a valid child of "fo:block"! (See position 79:102)
Start location: 145:0