[
https://issues.apache.org/jira/browse/PDFBOX-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619687#comment-13619687
]
Maruan Sahyoun commented on PDFBOX-1556:
----------------------------------------
It seems to be a regression introduced in pdfbox-1.8.0 as saving a pdf with xfa
content no longer produces a correct where 1.7.0 and 1.7.1 work as expected.
A simple test
PDDocument doc = PDDocument.load(...);
doc.save(...);
can be used to verify the issue.
> Saving a document containing a xfa form creates invalid pdf
> -----------------------------------------------------------
>
> Key: PDFBOX-1556
> URL: https://issues.apache.org/jira/browse/PDFBOX-1556
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel.AcroForm
> Affects Versions: 1.8.0
> Reporter: Jörn Horstmann
> Attachments: LCTestform.pdf, XfaTest.java
>
>
> When saving a PDDocument containing a PDXFA form the pdf file can no longer
> be opened by adobe acrobat or GNOME's evince document viewer.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira