Problems with XAML import (detailed report)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Low
|
Unassigned |
Bug Description
Inkscape versions: 0.46, r21486, on Windows XP and Windows 2000.
Importing XAML, there are various problems.
The gradients do get imported, but do not get applied to their objects. It seems that the importer misses the Fill="{
In XAML, borders are measured from the edge of the object's fill, outwards, whereas in SVG they're centered on it. This makes for oversized objects on import.
The canvas size is not respected on import.
In another document - the tank symbol - an element on a path, StrokeLineJoin=
<Canvas> elements get imported as <svg:svg> elements, which causes trouble with Inkscape. After approximately 5 minutes, Inkscape just crashes for no apparent reason. From other bug reports I'm guessing that this is when it tries to auto-save. However, saving manually does work fine. And after having taken the <svg:g> elements out of the <svg:svg> elements and having deleted the <svg:svg> elements, it didn't crash again. <svg:svg> elements are handled really badly in Inkscape, with it getting the "position" wrong (group it contains in one spot and the <svg:svg> element in another), and reporting it as a group - but being unable then to ungroup it, of course. In this case also, the positioning was all wrong, but that may be due to the transforms applied.
In the valve symbol, paths are specified in a different way to the SVG-type paths. Inkscape creates a path, but it's a path with 0 nodes.
<Path x:Name=
<Path.Data>
</Path.Data>
</Path>
(FYI, this pump symbol was originally generated in Inkscape, then saved as XAML, and fixed and improved. XAML export was bad, it mostly got the idea across but required significant tweaking before it would display at all.)
I've attached the pump symbol which you can import into Inkscape and see what's wrong with it. If you want a picture of what it should look like, it's in the screenshot at http://
tags: |
added: importing removed: import |
Confirmed on Windows XP, Inkscape rev. 22058.
The imported XAML doesn't look like the attached picture.
But I can't open your XAML file in IE8 (with Silverlight) or Kaxml.