After executing the following code in attached input file:
Aspose.Words.Document document = new Aspose.Words.Document(documentPath);
The file is corrupted because it is inserting wpg tag without adding its namespace.New folder.zip (451.8 KB)
Could you please share the working code example for testing along with input and expected output WPG tags? We will investigate the issue and provide you more information on it.
Actually the issue is input is not correpted but after flowing it through Aspose, it is corrupting the file.
To ensure a timely and accurate response, please attach the following resources here for testing:
- Your input Word document.
- Please attach the output Word file that shows the undesired behavior.
- Please attach the expected output Word file that shows the desired behavior.
- Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.
As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.
PS: To attach these resources, please zip and upload them.
File is already attached at my first post. I am attaching it again for your reference.New folder.zip (451.8 KB)
We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-20211. You will be notified via this forum thread once this issue is resolved.
We apologize for your inconvenience.
The issues you have found earlier (filed as WORDSNET-20211) have been fixed in this Aspose.Words for .NET 20.5 update and this Aspose.Words for Java 20.5 update.