[ https://issues.apache.org/jira/browse/FOP-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17948687#comment-17948687 ]
Joao Goncalves commented on FOP-3245: ------------------------------------- I was looking around the documentation and found this: {{fox:external-document}} is not suitable for concatenating FO documents. [https://xmlgraphics.apache.org/fop/2.10/extensions.html] Based on that, I don't think it makes much sense to try and get this ticket fixed as it would incentive what the documentation says not to do. > fox:external-document - PDF/UA template with PDF/UA attachments not PDF/UA > -------------------------------------------------------------------------- > > Key: FOP-3245 > URL: https://issues.apache.org/jira/browse/FOP-3245 > Project: FOP > Issue Type: Bug > Components: renderer/pdf > Affects Versions: 2.10 > Reporter: Martin Leitner > Priority: Major > Attachments: arial.ttf, arialbd.ttf, arialbi.ttf, ariali.ttf, > fop.xconf, page1.fo, page1.pdf, page1_and_doc.fo, page2.fo, page2.pdf, > page2_and_doc.fo > > > When attaching a PDF that is PDF/UA compliant to a PDF/UA template via > fox:external-document, the result is a PDF that is not compliant with PDF/UA > > Replication Steps: > Set accessibility to true, and add PDF/UA profile to the pdf part of the fop > config. > Produce a simple PDF/UA, e.g. by using the attached files and running > call fop -fo page1.fo -c fop.xconf -pdf page1.pdf > Then render a different FO that includes an existing PDF/UA like this: > call fop -fo page2_and_doc.fo -c fop.xconf -pdf page2_and_doc.pdf > > The resulting PDF should again be PDF/UA, but it is not. It seems that the > structure tree from the referenced PDF is not added to the result at all. -- This message was sent by Atlassian Jira (v8.20.10#820010)