kimoa / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
3 stars 0 forks source link

Importing SVG not re-id'ing #751

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Draw a rect
2. Import the following SVG document:

<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" 
xmlns:se="http://svg-edit.googlecode.com">
 <!-- Created with SVG-edit - http://svg-edit.googlecode.com/ -->
 <g>
  <title>Layer 1</title>
  <ellipse ry="23" rx="61" id="svg_1" cy="195" cx="85" stroke-width="5" stroke="#000000" fill="#FF0000"/>
 </g>
</svg>

3. Look at the SVG source

You will see two items that have the ID 'svg_1' (the rect and the ellipse)

The imported document should have all its elements re-identified such that the 
ellipse becomes svg_2 upon import.

Original issue reported on code.google.com by codedr...@gmail.com on 12 Jan 2011 at 5:29

GoogleCodeExporter commented 9 years ago
Fixed in r1903

Original comment by codedr...@gmail.com on 12 Jan 2011 at 6:51