Hi
When content of spreadsheetML contains empty “Format” tag for example creating new Workbook hangs.
Below metod use in application to convert from SpreadsheetML to Workbook and content of MLsheet give as input on test method. I’m using Aspose.Cells in version 17.3.0.0.
Please check this issue.
Regards Mietek
public Workbook Convert( string spreadsheetContent )
{
var stream = SpreadsheetMlContentToStream( spreadsheetContent );
var loadOptions = new LoadOptions( LoadFormat.SpreadsheetML );
try
{
var workbook = new Workbook( stream, loadOptions );
return workbook;
}
catch ( Exception ex)
{
throw;
}
}
Content of spreadsheetML give in test method, contains invalid tags:
"<?xml version=\"1.0\"?> " +
"<?mso-application progid=\"Excel.Sheet\"?> " +
" " +
" " +
"Aspose Test " +
"15.00 " +
" " +
" " +
" " +
" " +
" " +
"12435 " +
"28800 " +
"0 " +
"0 " +
"False " +
"False " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
"3 " +
"2 " +
" " +
" " +
"False " +
"False " +
" " +
" " +
" ";