I am trying to convert PDF file using statement:
document.Convert(outputStream, PDF_A_3B, ConvertErrorAction.Delete);
The conversion is unsuccessfull. I use next statements to get output log content:
stream.Position = 0; var asposeLog = new StreamReader(stream).ReadToEnd();
The content is:
<Compliance Name="Log" Operation="Validation" Target="PDF/A-3B"><Version>1.0</Version><Copyright>Copyright (c) 2001-2021 Aspose Pty Ltd. All Rights Reserved.</Copyright><Date>9/10/2021 10:59:17 AM</Date><File Version="1.4" Name="" Pages="1"><Security /><Catalog><Problem Severity="Error" Clause="Clause" Convertable="False">Can not convert signed file</Problem></Catalog></File>
As you can see “Compliance” tag is not closed - so I cant parse this not well formed xml. It is the first issue.
The second one - the “Can not convert signed file” error. Do I have any way to overcome it except unsign the file?