SVG generation: bad group tag

Bug #1815573 reported by js-reynaud on 2019-02-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Medium
js-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.

js-reynaud (js-reynaud) wrote :
tags: added: export
Changed in kicad:
status: New → In Progress
importance: Undecided → Medium
milestone: none → 5.1.0
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  Edit
Everyone can see this information.

Other bug subscribers