kakwa / libvisio2svg

Library/Tools to convert Microsoft (MS) Visio documents (VSS and VSD) to SVG
GNU General Public License v2.0
112 stars 21 forks source link

error : unterminated entity reference Replication Server #13

Closed archenroot closed 6 years ago

archenroot commented 7 years ago

While trying to convert 2d and 3d stencils for virtual environments from: https://www.veeam.com/vmware-esx-stencils-download.html#

I experienced:

zangetsu@ares ~/Downloads/Stencils $ /usr/bin/vss2svg-conv --input=2d_stencils_2010.vss --output=/home/zangetsu/Downloads/Stencils/virtual2d
error : unterminated entity reference  Replication Server
kakwa commented 7 years ago

It was caused by the "&" in "Veeam Backup & Replication Server"

However the only consequence was an empty title.

It's fixed by https://github.com/kakwa/libvisio2svg/commit/2ab359b56cfefcc36fedd4bd328defcf1f3569db

(Putting the titles inside cdata[[ ]])

Once again, most of the SVGs generated are empty, and libvisio/librevenge gives weird coordinates.

archenroot commented 7 years ago

Hm, thanks for this quick fix and lets open another issue with empty SVGs. I will first test tomorrow on my linux box.