Exit Code 0, but no PDF
Here should go questions about transforming XML with XSLT and FOP.
Re: Exit Code 0, but no PDF
Hello,
Please provide more details about the context of the problem.
What transformation are you running and against what type of file (DITA, DocBook, custom)?
Is it a builtin transformation scenario or your own?
"Content is not allowed in prolog." usually means that the input for that step (FO Processing with XEP in your case) is broken. So, the XSLT stylesheet that generates the FO has failed in some way.
You can see something similar on this thread:
DITA to PDF error, no PDF output now despite build success
Regards,
Adrian
Please provide more details about the context of the problem.
What transformation are you running and against what type of file (DITA, DocBook, custom)?
Is it a builtin transformation scenario or your own?
"Content is not allowed in prolog." usually means that the input for that step (FO Processing with XEP in your case) is broken. So, the XSLT stylesheet that generates the FO has failed in some way.
You can see something similar on this thread:
DITA to PDF error, no PDF output now despite build success
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Re: Exit Code 0, but no PDF
Hi,
If you are using the DITA Open Toolkit to publish DITA content:
If you edit the DITA to PDF transformation, in the Parameters tab you can add the parameter xep.failOnError and set it to true.
You should also set the parameter clean.temp to no and after the transformation look in the temporary files folder for a file called topic.fo. Probably the generated XSL-FO file is not wellformed.
Regards,
Radu
If you are using the DITA Open Toolkit to publish DITA content:
If you edit the DITA to PDF transformation, in the Parameters tab you can add the parameter xep.failOnError and set it to true.
You should also set the parameter clean.temp to no and after the transformation look in the temporary files folder for a file called topic.fo. Probably the generated XSL-FO file is not wellformed.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Exit Code 0, but no PDF
I added xep.failOnError and set it to true and set the parameter clean.temp to no. The build failed with
C:\Program Files\Oxygen XML Author 14\frameworks\dita\DITA-OT\build.xml:37: The following error occurred while executing this line:
C:\Program Files\Oxygen XML Author 14\frameworks\dita\DITA-OT\demo\fo\build.xml:137: The following error occurred while executing this line:
C:\Program Files\Oxygen XML Author 14\frameworks\dita\DITA-OT\demo\fo\build_xep.xml:109: Java returned: 1
C:\Program Files\Oxygen XML Author 14\frameworks\dita\DITA-OT\build.xml:37: The following error occurred while executing this line:
C:\Program Files\Oxygen XML Author 14\frameworks\dita\DITA-OT\demo\fo\build.xml:137: The following error occurred while executing this line:
C:\Program Files\Oxygen XML Author 14\frameworks\dita\DITA-OT\demo\fo\build_xep.xml:109: Java returned: 1
Re: Exit Code 0, but no PDF
Program Files\Oxygen XML Author 14\frameworks\dita\DITA-OT\build.xml:37:
The line is <antcall target="dita2${transtarget}"></antcall>
C:\Program Files\Oxygen XML Author 14\frameworks\dita\DITA-OT\demo\fo\build.xml:137:
The line is <antcall target="publish.map.pdf"></antcall>
The line is <antcall target="dita2${transtarget}"></antcall>
C:\Program Files\Oxygen XML Author 14\frameworks\dita\DITA-OT\demo\fo\build.xml:137:
The line is <antcall target="publish.map.pdf"></antcall>
Re: Exit Code 0, but no PDF
Hi,
I would need to look at the entire console output. You can send it to support@oxygenxml.com
Regards,
Radu
I would need to look at the entire console output. You can send it to support@oxygenxml.com
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Exit Code 0, but no PDF
Hi,
Oxygen 15.0 will have the parameter xep.failOnError set by default so is XEP fails to produce the PDF output, the ANT publishing will also fail.
Regards,
Radu
Oxygen 15.0 will have the parameter xep.failOnError set by default so is XEP fails to produce the PDF output, the ANT publishing will also fail.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service