We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert PDF to PDF/A in Java - Output file is not PDFA conformant

Hello!

We use licenced Aspose.Total product for Java latest versions (cells, words, pdf) on Linux server Ubuntu 18.04.4 LTS.

The problem happens while converting files from pdf to pdfa-3b.
No errors while convertion - but the resulted document does not pass pdfa-3b validation.
Files are attached - input document to convert, resulted document, conversion log and validation failure in https://www.pdf-online.com/osa/validate.aspx and https://demo.verapdf.org/.

Conversion options we use:
pdfDocument = new Document(“problemPdf.pdf”);
conversionOptions = new PdfFormatConversionOptions(“filePDFA3b.log”, PdfFormat.PDF_A_3B, ConvertErrorAction.Delete);
pdfDocument.save(“OUTPUTDOCUMENT.pdf”)

problemWithPdfA.zip (712.8 KB)

@lera12518

We have logged an issue as PDFJAVA-40733 in our issue tracking system for the sake of further investigation. We will look into details of it and keep you posted with the status of its rectification. Please be patient and spare us some time.

We are sorry for the inconvenience.

@asad.ali Thank you for the quick reply.

We would be grateful if you will clarify the approximate time frame for the issue solving.
This problem is very inconvenient for us and maybe you can suggest any workaround to solve that before the issue will be done.

@lera12518

We are afraid that we cannot share any reliable ETA at the moment as ticket has recently been logged and is pending for initial review. Please also note that issues in free support are investigated and resolved on first come first serve basis and resolution time of the issue depends upon the number of issues logged prior to it.

We have however recorded your concerns and will surely consider them during issue investigation. We will let you know once we have additional updates in this regard. Please give us some time.

We apologize for your inconvenience.

@lera12518

We have investigated the earlier logged ticket and it has been closed now. The issue is connected to errors during incorrect validation on https://www.pdf-online.com/osa/validate.aspx.

Adobe Acrobat and AvePDF validators also show that the output document is valid.

Also, we can use Aspose.PDF to validate results:

Document pdfDocument = new Document(dataDir+"OUTPUTDOCUMENT.pdf");
System.out.println("is valid: "+ pdfDocument.validate(dataDir+"filePDFA3b_validate.log",PdfFormat.PDF_A_3B ));
pdfDocument.close(); 

AcrobatValidation.png (50.0 KB)
AvePDFValidation.png (21.3 KB)