When using Aspose Diagram Java 22.10 to load a Visio file, unexpected output is sent to STDOUT.
With 22.10, the following code:
System.out.println(“Loading diagram…”);
Diagram vsd = new Diagram(“text.vsdx:);
System.out.println(”…Loaded");
Produces:
Loading diagram...
Reset ZS for visio/document.xml
Reuse ZS for visio/masters/masters.xml
Reuse ZS for visio/pages/page1.xml
Reuse ZS for visio/embeddings/oleObject1.bin
Reuse ZS for visio/media/image1.emf
Reuse ZS for visio/embeddings/oleObject2.bin
...Loaded
But with Diagram 22.9, the following is output:
Loading diagram...
...Loaded
This problem is present in version 22.11 too.
Looks like some debug code was left in the production build.
No, it only happens with some files. Attached is a vsdx that shows the following when being loaded:
Reset ZS for visio/document.xml
Reuse ZS for visio/masters/masters.xml
Reuse ZS for visio/masters/master39.xml
Reuse ZS for visio/pages/page1.xml
Reuse ZS for docProps/thumbnail.emf
@vittala
An investigation ticket as DIAGRAMJAVA-51055 has been logged in our issue tracking system for further analysis on this case. We will look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.
The issues you have found earlier (filed as DIAGRAMJAVA-51055) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou