[ https://issues.apache.org/jira/browse/FOP-3230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936269#comment-17936269 ]
Martin Leitner commented on FOP-3230: ------------------------------------- [~jgoncalves] I can confirm that your patch works fine on the previous example, so I went ahead and tried more complicated documents as described below. There still seems to be a problem with tables. For all renderings, please use the attached fop.xconf and fonts as before. All validations about PDF/UA were done with PAC. # Render [^page1.fo] to page1.pdf -> valid PDF/UA # Render [^page2.fo] to page2.pdf -> valid PDF/UA # Render [^simple_table.fo] to simple_table.pdf -> valid PDF/UA # Consider [^imgs_in_table.fo]: It is nearly the same as [^simple_table.fo], but in two table cells it contains references to the previously rendered page1.pdf and page2.pdf, respectively. Render it to imgs_in_table.pdf, and PAC reports: Possibly inappropriate use of a "Div" structure element # The same problem happens when the PDF images are not referenced from within the table, but before and after the table: [^imgs_and_table.fo] > PDF Images - PDF/UA template with PDF attachments not PDF/UA > ------------------------------------------------------------ > > Key: FOP-3230 > URL: https://issues.apache.org/jira/browse/FOP-3230 > Project: FOP > Issue Type: Bug > Reporter: Joao Goncalves > Assignee: Joao Goncalves > Priority: Major > Fix For: main > > Attachments: > 0001-FOP-3230-Skip-paragraph-type-elements-when-merging-s.patch, > 194061_simple.fo, Arial.ttf, Arialbd.ttf, Arialbi.ttf, Ariali.ttf, fop.xconf, > imgs_and_table.fo, imgs_in_table.fo, includePdf.fo, includePdf.pdf, page1.fo, > page2.fo, simple_table.fo, test.pdf > > > When attaching a PDF that is PDF/UA compliant to a PDF/UA template, 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. > Attach to your fo the path for another PDF that is PDF/UA compliant too. > The result must be a PDF/UA compliant PDF -- This message was sent by Atlassian Jira (v8.20.10#820010)