mozman / svgwrite

Python Package to write SVG files (UNMAINTAINED)
Other
543 stars 97 forks source link

build_animation_timing_parser uses wrong separator #108

Closed Natureshadow closed 2 years ago

Natureshadow commented 2 years ago

The regex generated for timing-value-list uses a , as separator, while this list is separated by ;. It thus does not validate lists of multiple values correctly (but in exchang eallows invalid values).

0s;foo.end is rejected while being valid; 0s,foo.end is accepted while being invalid.