We are using Aspose.PDF to convert existing PDFs to PDF/A format to allow long longterm archival. Recently our archival service has seemingly changed their way of checking the resulting PDF/A that we are generating and is now refusing the acceptance.
|Compliance|pdfa-1a|
|Result|Document does not conform to PDF/A.|
|Details|Validating file for conformance level pdfa-1a
The value of the key Type is missing but must be StructElem.
The value of the key SMask is a dictionary but must be None.
The document does not conform to the requested standard.
The document contains transparency.
The document doesn’t provide appropriate logical structure information.
The document does not conform to the PDF/A-1a standard.
Done.|
FileInfo fi = new FileInfo(args[0]);
Document pdfDocument = new Document(fi.FullName);
string logFileName = fi.DirectoryName + “/log_” + fi.Name + “.xml”;
pdfDocument.Convert(logFileName, PdfFormat.PDF_A_1A, ConvertErrorAction.Delete);
string outFileName = fi.DirectoryName + “/converted_” + fi.Name;
pdfDocument.Save(outFileName);
Is this any known issue?
Andreas