Aspose cells conversion to PDF does not work in 2.4.2

The generated xml file for conversion is empty.
This bug does not occur in the 7-2010 release of Aspose total.

See code:

Workbook workbook = new Workbook();
workbook.open(args[0]);
String fname = args[0] + “.xml”;
workbook.save(fname,FileFormatType.ASPOSE_PDF);
Pdf pdf = new Pdf();
System.out.println("fname = " + fname);
pdf.bindXML(fname, null);
pdf.save(args[1]);

Hi,

We now provide Direct Conversion approach for converting spreadsheets to PDF format, it is more efficient and you don’t need to make intermediate step of generating xml file to use with Aspose.PDF product any more, see the topic for reference:
http://www.aspose.com/documentation/java-components/aspose.cells-for-java/converting-to-pdf-files.html

If you still find the issue, kindly do post your input Excel file here, we will check your issue soon.

Thank you.