Hello,

I tried the pdf/A-3 example and it didn't work with the current
5.4.4-SNAPSHOT. According to the spec it should be allowed.

Exception in thread "main" com.itextpdf.text.pdf.PdfAConformanceException:
Embedded files are not permitted.
        at
com.itextpdf.text.pdf.internal.PdfA1Checker.checkFileSpec(PdfA1Checker.java:213)
        at
com.itextpdf.text.pdf.internal.PdfAChecker.checkPdfAConformance(PdfAChecker.java:108)
        at
com.itextpdf.text.pdf.internal.PdfAConformanceImp.checkPdfIsoConformance(PdfAConformanceImp.java:70)
        at
com.itextpdf.text.pdf.PdfWriter.checkPdfIsoConformance(PdfWriter.java:3313)
        at
com.itextpdf.text.pdf.PdfWriter.checkPdfIsoConformance(PdfWriter.java:3309)
        at
com.itextpdf.text.pdf.PdfFileSpecification.toPdf(PdfFileSpecification.java:307)
        at
com.itextpdf.text.pdf.PdfIndirectObject.writeTo(PdfIndirectObject.java:157)
        at com.itextpdf.text.pdf.PdfWriter$PdfBody.write(PdfWriter.java:415)
        at com.itextpdf.text.pdf.PdfWriter$PdfBody.add(PdfWriter.java:393)
        at com.itextpdf.text.pdf.PdfWriter$PdfBody.add(PdfWriter.java:372)
        at com.itextpdf.text.pdf.PdfWriter$PdfBody.add(PdfWriter.java:325)
        at com.itextpdf.text.pdf.PdfWriter.addToBody(PdfWriter.java:804)
        at
com.itextpdf.text.pdf.PdfFileSpecification.getReference(PdfFileSpecification.java:254)
        at
com.itextpdf.text.pdf.PdfDocument.addFileAttachment(PdfDocument.java:2227)
        at 
com.itextpdf.text.pdf.PdfWriter.addFileAttachment(PdfWriter.java:1683)
        at com.itextpdf.App.main(App.java:81)



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/pdfa3-example-doesnt-work-with-5-4-4-SNAPSHOT-tp4658812.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to