[ 
https://issues.apache.org/jira/browse/FOP-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379493#comment-15379493
 ] 

Chris Bowditch commented on FOP-2625:
-------------------------------------

Can you attach a sample FO file that demonstrates the issue?

> Allow Attachments for PDF/A-3
> -----------------------------
>
>                 Key: FOP-2625
>                 URL: https://issues.apache.org/jira/browse/FOP-2625
>             Project: FOP
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: 2.1
>         Environment: probably any
>            Reporter: Stefan Hegny
>            Priority: Minor
>              Labels: pdf, pdf/a
>
> Embedded files should be allowed for PDF/A-3, e.g. required by the german 
> "Zugferd" invoice standard, but:
> SEVERE: Exception
> org.apache.fop.apps.FOPException: PDF/A-3b does not allow embedded files.
> org.apache.fop.pdf.PDFConformanceException: PDF/A-3b does not allow embedded 
> files.
>       at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:288)
>       at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
>       at org.apache.fop.cli.Main.startFOP(Main.java:186)
>       at org.apache.fop.cli.Main.main(Main.java:217)
> Caused by: org.apache.fop.pdf.PDFConformanceException: PDF/A-3b does not 
> allow embedded files.
>       at 
> org.apache.fop.pdf.PDFProfile.verifyEmbeddedFilesAllowed(PDFProfile.java:336)
>       at 
> org.apache.fop.render.pdf.PDFRenderingUtil.addEmbeddedFile(PDFRenderingUtil.java:651)
>       at 
> org.apache.fop.render.pdf.PDFDocumentHandler.handleExtensionObject(PDFDocumentHandler.java:318)
>       at 
> org.apache.fop.render.intermediate.util.IFDocumentHandlerProxy.handleExtensionObject(IFDocumentHandlerProxy.java:192)
>       at 
> org.apache.fop.render.intermediate.IFRenderer.processOffDocumentItem(IFRenderer.java:325)
>       at 
> org.apache.fop.area.RenderPagesModel.handleOffDocumentItem(RenderPagesModel.java:232)
>       at 
> org.apache.fop.area.AreaTreeHandler.addOffDocumentItem(AreaTreeHandler.java:376)
>       at 
> org.apache.fop.area.AreaTreeHandler.wrapAndAddExtensionAttachments(AreaTreeHandler.java:245)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to