Please find attached a ZIP file that contains our sample Java source to convert a .vdx to .vsdm.
The ZIP also contains the sample .vdx file to be converted.
An exception is thrown during the execution of “new Diagram()” :
com.aspose.diagram.DiagramException: Error in element Pages in \VisioDocument. loadPages
The “Pages” element does not have any attributes, so it is not clear why there is an “error in element Pages”.
The “Pages” element in the .vdx file has one child “Page” element inside it, and it conforms to the definition.
Different versions of Visio can open this .vdx with no errors.
Our sample Java .vdx to .vsdm conversion program can convert other .vdx files - maybe the “new Diagram()” fails because the .vdx is very large?
mt-plc-subs.zip (635.8 KB)