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

Stefan Hegny commented on FOP-2625:
-----------------------------------

@simon steiner, PDF/A-3 is based on PDF 1.7, your fop.xconf sample states 
<version>1.4</version>

> 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
>            Assignee: simon steiner
>            Priority: Minor
>              Labels: pdf, pdf/a
>         Attachments: fop.xconf, test_sampembed.fo
>
>
> 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