Hi,
I have used Aspose Words (16.3.0.0) to convert from xml to PDF (in this
case, it’s a infected Word 2003 XML), and Aspose failed with exception “The document appears to be corrupted and cannot be loaded.”. This attached file is opened by MS Word with no error
Aspose.Words.Document doc = new Aspose.Words.Document(inputXmlFile);// throw exception here
doc.Save(outputXmlFile, Aspose.Words.SaveFormat.Pdf);
Thanks,