Unexpected output sent to STDOUT when loading Visio file (Diagram java 22.10)

Hi

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.

Regards
Vittal

@vittala

Is it happening with all diagram files? Can you please share a sample diagram with us so that we can further proceed accordingly?

Hi

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

VI-100762-QM-3-BMS_Quality_Management.vsdx.zip (113.8 KB)

Regards
Vittal

@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.

We are sorry for the inconvenience.
Thanks.

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

Thanks - that seems to resolve the issue