Attached file validation is failing on AIX 7.1. but it is working on Windows 7 platform. JDK 1.6 version is been used.
Code snippet::
com.aspose.pdf.Document doc = new com.aspose.pdf.Document(new ByteArrayInputStream(byte[] fileBytes));
OutputStream os = new FileOutputStream(tempFile, true);
doc.validate(os, com.aspose.pdf.PdfFormat.PDF_A_1B);
doc.convert(os, com.aspose.pdf.PdfFormat.PDF_A_1B, ConvertErrorAction.Delete);
Would you please verify? FYI This is being tested with aspose-pdf-9.5.2-jdk16.jar.
Note: The attached PDF document been created from MS Word 2010.
Thanks