Plain SVG export: invalid SVG emitted in ClipPath children
Summary:
Inkscape will generate noncompliant svg if a group is used for the clipping shape(s) of clipGroup.
Steps to reproduce:
- open Inkscape
- create two groups
- set one group as the clip of another
- export as a standard svg (not Inkscape SVG)
What happened?
Invalid XML is generated: a clipPath may not contain a group
What should have happened?
- ClipPath squashed down to flatness
- not allowed to do that
- Dialog that tells me I can't do that unless I flatten the group
- Dialog telling me that I can't save plain svg unless I flatten the groups in question
Sample attachments: asdfasdf.svg
Version info
Inkscape 1.3.2 (091e20e, 2023-11-25, custom)
GLib version: 2.78.1
GTK version: 3.24.39
glibmm version: 2.66.6
gtkmm version: 3.24.8
libxml2 version: 2.11.5
libxslt version: 1.1.38
Cairo version: 1.18.0
Pango version: 1.50.14
HarfBuzz version: 8.2.2
OS version: Windows 11 22H2