Hello,
We recently tried upgrading Aspose-Diagram (Java) library from version " 20.4:jdk16" to " 23.12" and observed the following while convert a Visio file to PDF.
- In version “20.4:jdk16” conversion would throw exception and PDF is not generated. Here is the exception trace:
com.aspose.diagram.DiagramException: Error in element VisioDocument in \VisioDocument. Visio files with versions below 11 are not supported. Please convert the file to Visio 2003/2007/2010 format.
at com.aspose.diagram.hq.a(Unknown Source) ~[aspose-diagram-20.4-jdk16.jar:20.4.0.0]
at com.aspose.diagram.bp.load(Unknown Source) ~[aspose-diagram-20.4-jdk16.jar:20.4.0.0]
at com.aspose.diagram.ma.a(Unknown Source) ~[aspose-diagram-20.4-jdk16.jar:20.4.0.0]
at com.aspose.diagram.ma.a(Unknown Source) ~[aspose-diagram-20.4-jdk16.jar:20.4.0.0]
at com.aspose.diagram.Diagram.<init>(Unknown Source) ~[aspose-diagram-20.4-jdk16.jar:20.4.0.0]
- Whereas in version “23.12”, no exception is thrown however it generates an empty PDF.
Please assist.
Thanks in advance.