Valid SVGfile not accepted by gm validate
Swiss army knife of image processing
Brought to you by:
bfriesen
I attached valid svg file (checked at https://validator.w3.org)
but gm says it's not:
gm compare -metric mae bomb.png bomb.svg
gm compare: Non-conforming drawing primitive definition (polyline).
I know it's weird to have one-point polyline, but it's valid.
attached svg-file generated by SVG.js, it needs this invisible element for inner purposes (size calculations)
This ticket is fixed by change set 8faf772e308d, dated 1/5/18.
The offending code was flagging single point polylines as an error. The SVG spec has no such restriction.
The example SVG file contained a nested
Thanks for the example SVG file that demonstrates the problem.