Automated testing of Conversion of PDF to PDF/A-1a

Team Aspose,

I’m attempting to write a unit test within our application to ensure that when we use Apsose.Pdf to convert a PDF file to a PDF/A compliant file that the saved PDF file is actually PDF/A compliant.
If I try to create an com.aspose.pdf.Document from my previously converted PDF file in order to utilise the isPdfaCompliant() method, then the compliance is re-initialised to false.
The metadata used to describe PDF/A compliance does not appear to be available to other PDF file parsing utilities e.g. Tika.

Can you suggest a way in which I may be able to achieve this?

@PCummings

Thank you for contacting support.

You may test the compliance with isPdfaCompliant() method as there may not be any alternate option. In case you are facing any problem with it then please share SSCCE code along with sample PDF documents so that we may investigate further to help you out.