Free Support Forum - aspose.com

Problem Opening XML File Generated by OWC

Hello,


I have generated an xml File with OWC and try to open it with Aspose.
I get an error even if the file can be open with Excel.

If I remove manually all the “Style” Tag in the xml file, the file can be opened with Aspose.

Here is the sample of my code:

public class MainClass {

/**
* @param args
*/
public static void main(String[] args) throws Exception {
License license = new License();
license.setLicense(new FileInputStream(“ressource/Aspose.Cells.lic”));

Workbook wb = new Workbook();
wb.open(“temp.xml”, FileFormatType.SPREADSHEETML);

wb.save(“Validation Test.xml”, FileFormatType.SPREADSHEETML);
wb.save(“Validation Test.xls”);
}

}

Thank you,

Rega rds

Hi,

Thank you for considering Aspose.

We have found your mentioned issue after an initial test. We will further look into your issue and get back to you soon. We have registered your issue in our issue tracking system with issue id CELLSJAVA-11943.

Thank You & Best Regards,

Hi,

Please try the attached version, we have fixed your mentioned issue.

Thank you.

Hi,

Thank you, the precedent test passed.

Unfortunately, with the attached example xml file, it does not work.
Impossible to open it with Aspose, even if it is openable with Excel.

Regards,


Hi,

I found NumberFormatException using your attached xml file. We will figure it out soon.

Your issue has been logged into our issue tracking system with an issue id: CELLSJAVA-11973.

Thank you.

Hi,

Please try the attached version, we have fixed your mentioned issue.

Thank you.

The issues you have found earlier (filed as 11943;11973) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.