resvg icon indicating copy to clipboard operation
resvg copied to clipboard

Improve handling of duplicated IDs

Open qarmin opened this issue 1 year ago • 1 comments

VV.zip Screenshot from 2022-09-07 19-20-04

qarmin avatar Sep 07 '22 17:09 qarmin

Well, your files are malformed. You have duplicated id's for yellow and blue gradients in KOSZ_1223.svg. According to the SVG spec, I can choose any of them. And I choose the last one, which happens to be "empty".

Safari fails in the same way as resvg.

The only solution I can think of is to search for duplicated gradients on error.

RazrFalcon avatar Sep 07 '22 18:09 RazrFalcon