Strange behavior



Hi,
When i try and load this svg file the path is lost, not rendered AND
lost on exporting a shape:

--snip--
<svg width="210mm" height="297mm"  >
  <rect
style="font-size:12;fill:#808080;fill-rule:evenodd;stroke-width:1pt;"
     id="rect104" width="430.359" height="346.304" x="50.4327" 
y="131.125" />
  <path style="fill:#ca8080;stroke-width:1;"
     d="M 289.147 329.494 L 289.147 702.696 L 712.782 702.696 L 712.782
329.494 L 289.147 329.494 Z "
     />
</svg>
--snip--

but when I manauly create this shape file and load it into the a sheet
is is displayed fine:

--snip--
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns";
xmlns:svg="http://www.w3.org/2000/svg";>
  <name>dia - text</name>
  <icon>text.png</icon>
  <connections> <point x="50.4327" y="131.125"/> </connections>
  <aspectratio type="fixed"/>
  <svg:svg>
    <svg:rect style="fill: #818181" x="50.4327" y="131.125"
width="430.359" height="346.304"/>
    <svg:rect style="fill: none; stroke-width: 1; stroke: #ffffff"
x="50.4327" y="131.125" width="430.359" height="346.304"/>
    <svg:path
     style="fill: #ca8080; stroke-width: 1;"
     d="M 289.147 329.494 L 289.147 702.696 L 712.782 702.696 L 712.782
329.494 L 289.147 329.494 Z " />
  </svg:svg>
</shape>
--snip--

Sorry for posting xml in the list, but since I do not know C I could not
hope to pinpoint the bug further.

Thanks


Philip



--
Philip Serracino Inglott  <phsi inkwina net>
                     http://www.inkwina.net/
                                          --
Your depth of comprehension may tend to make you lax in worldly ways.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]