After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 143455 - Allow to import Visio UML via SVG
Allow to import Visio UML via SVG
Status: RESOLVED OBSOLETE
Product: dia
Classification: Other
Component: import
0.92.2
Other Linux
: Normal enhancement
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2004-05-31 16:41 UTC by Marius Andreiana
Modified: 2019-03-20 11:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample svg (160.52 KB, image/svg+xml)
2004-05-31 16:43 UTC, Marius Andreiana
Details

Description Marius Andreiana 2004-05-31 16:41:50 UTC
I'm trying to import the following .svg created by Visio. Dia says:

PDM_brain_misc.svg:37: namespace error : Namespace prefix xlink for href on use
is not defined
                        <use xlink:href="#lend4" transform="scale(4.3) "/>
                                                                        ^
PDM_brain_misc.svg:41: namespace error : Namespace prefix xlink for href on use
is not defined
                        <use xlink:href="#lend4" transform="scale(4.3) "/>
                                                                        ^
The SVG looks good in Adobe SVG Viewer.

Thanks!
Comment 1 Marius Andreiana 2004-05-31 16:43:15 UTC
Created attachment 28209 [details]
sample svg
Comment 2 Marius Andreiana 2004-05-31 17:01:27 UTC
Btw, what's the best approach on dia recognizing that diagram as UML? An
independend script which converts from svg to dia?
Comment 3 Hans Breuer 2004-06-11 22:55:42 UTC
The usual response would be to mark this bug as a duplicate of bug #108502, as
both Dia SVG Import Filter are known to be limited. But this one is different...

- First : you have attached a reasonable example
- Second : while looking at it with the Python SVG import filter I was able to
reproduce two crashes, thanks for the nice stress test file ;-)
- Third : to me it looks like a reasonable goal to import UML diagrams created
by Visio, at least as the SVG doesn't look so bad as I expected :)

To your BTW: the best way to let Dia recognize UML generated by other programs
is probably not SVG as interchange format. IIRC there is format to interchange
these called XMI, still there is no XMI import filter available for Dia.
Comment 4 Hans Breuer 2006-01-02 18:39:32 UTC
Although diasvg_import.py can now load the file without crashing the
result is far from useable. There are some things in it which would
probably require the use of a real svg import library. Nothing
really planned yet. Anyway marking as enhancement.
Comment 5 GNOME Infrastructure Team 2019-03-20 11:12:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dia/issues/107.