Hello,
We have an RTF document that will cause Aspose.Words to hang when processing the file. We are using Aspose.Words to remove unwanted metadata from a document such as document properties. We are using version 11.0.0. Sample code below is provided by our developer to recreate the issue.
using System;
using Aspose.Words;
//-----------------------------------------------------------------------------
class TestRunner {
//-------------------------------------------------------------------------
/**
- Initialises the Aspose Licence.
*/
private static void initLicence() {
Aspose.Words.License license = new Aspose.Words.License();
license.SetLicense(“Aspose.Total.lic”);
}
//-------------------------------------------------------------------------
static int Main(string[] args) {
initLicence();
Console.Out.WriteLine(“Opening document”);
Document doc = new Document(args[0]);
Console.Out.WriteLine(“Opened document”);
doc.Save(args[1]);
Console.Out.WriteLine(“Saved document”);
return 0;
}
//-------------------------------------------------------------------------
}
//-----------------------------------------------------------------------------
In use the code prints out “Opening document” and then hangs.
We are araising the issue to be considered for a future release.
Thanks,
Kim