When loading a DOC file, I am getting a corruption exception. The inner exception seems to indicate an Aspose issue where duplicate dictionary keys are not handled correctly. Could you please fix this?
Item has already been added. Key in dictionary: ‘display_urn:schemas-microsoft-com:office:office#Editor’ Key being added: ‘display_urn:schemas-microsoft-com:office:office#Editor’
Here is the stack trace:
Type:
Aspose.Words.FileCorruptedException
Message:
The document appears to be corrupted and cannot be loaded.
Data:
Error=Exception
Action=Read
SystemErrorType=None
SystemErrorCode=0
Status=Exception
StackTrace:
at Aspose.Words.Document.(Stream , LoadOptions )
at Aspose.Words.Document.(Stream , LoadOptions )
Type:
System.ArgumentException
Message:
Item has already been added. Key in dictionary: ‘display_urn:schemas-microsoft-com:office:office#Editor’ Key being added: ‘display_urn:schemas-microsoft-com:office:office#Editor’
StackTrace:
at System.Collections.SortedList.Add(Object key, Object value)
at Aspose.Words.Properties.DocumentPropertyCollection.(String , Object )
at .( )
at .(Stream )
at .( , BuiltInDocumentProperties , CustomDocumentProperties )
at .()
at . ()
at Aspose.Words.Document.(Stream , LoadOptions )