[
https://issues.apache.org/jira/browse/PDFBOX-3684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15862851#comment-15862851
]
Maruan Sahyoun commented on PDFBOX-3684:
----------------------------------------
The error message is quite clear
{code}
Error: can't merge source document containing dynamic XFA form content.
{code}
Background: a PDF containing a dynamic XFA content will be rendered at runtime
using Adobe Reader, Acrobat or the software supporting that. PDF is only a
shell containing a form description. There are no predefined visual PDF objects
to represent the page. You'd need to render the XFA into a regular PDF. After
that you can merge it.
If you try to merge the documents using Adobe Acrobat you'll get a similar
result (although not an IOException - but the file is skipped).
> PDF box crashes on mal-formed files
> -----------------------------------
>
> Key: PDFBOX-3684
> URL: https://issues.apache.org/jira/browse/PDFBOX-3684
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.0.4
> Reporter: Andrii Radistao
> Attachments: certificate-of-analysis.pdf, questionario-sulle.pdf,
> radistao-pdfbox-merge-bug.zip
>
>
> I supply 2 PDF files (_certificate-of-analysis.pdf_ and
> _questionario-sulle.pdf_) which cause an exception if i try to merge them
> using {{PDFMergerUtility}}.
> I've implemented code examples which run to the exceptions:
> https://bitbucket.org/radistao/pdfbox-merge-bug/
> or just take the same sources from the attached
> [radistao-pdfbox-merge-bug.zip|https://issues.apache.org/jira/secure/attachment/12852256/radistao-pdfbox-merge-bug.zip]
> Those 2 files are included into the repository ({{test/resources/}}).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]