Inkscape 0.42 preserves baseProfile attributes, even
when they are no longer appropriate.
For example, open the attached file in Inkscape 0.42,
change the fill to a gradient and save the file. The
saved file still claims to be SVG 1.1 Tiny, but now
contains a gradient and CSS styling, neither of which
SVG 1.1 Tiny supports.
Suggested solution: always strip out baseProfile
attributes. Of course, you could instead try to figure
out when the baseProfile is still appropriate, but,
believe me, it's a whole lot easier just to remove it
unconditionally.
Greetings, Inkscape gurus!
Inkscape 0.42 preserves baseProfile attributes, even
when they are no longer appropriate.
For example, open the attached file in Inkscape 0.42,
change the fill to a gradient and save the file. The
saved file still claims to be SVG 1.1 Tiny, but now
contains a gradient and CSS styling, neither of which
SVG 1.1 Tiny supports.
Suggested solution: always strip out baseProfile
attributes. Of course, you could instead try to figure
out when the baseProfile is still appropriate, but,
believe me, it's a whole lot easier just to remove it
unconditionally.