SVG generation: bad group tag

Bug #1815573 reported by Jean-Samuel Reynaud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Medium
Jean-Samuel Reynaud

Bug Description

When trying to open a generated SVG file from KiCad with an external tool (inkscape for example), some tag look to be with errors:

/tmp/test.svg:4369: namespace error : Namespace prefix svg on g is not defined
<svg:g >
       ^
/tmp/test.svg:4370: parser error : Opening and ending tag mismatch: g line 4369 and g
</g>

For me <svg:g> should be <g> on the generated svg files.

Find a correction attached.

Tags: export svg
Revision history for this message
Jean-Samuel Reynaud (js-reynaud) wrote :
tags: added: export
Changed in kicad:
status: New → In Progress
importance: Undecided → Medium
milestone: none → 5.1.0
Revision history for this message
John Beard (john-j-beard) wrote :

This patch looks correct. I have merged it with some additional commentary. Thanks!

Changed in kicad:
assignee: nobody → js-reynaud (js-reynaud)
status: In Progress → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.