We have upgraded to version 1.1.0 in JOSM: https://josm.openstreetmap.de/changeset/10787/josm
The switch from batik to Java2D API now detects more invalid cases. For example, we have two SVG files which were previously loaded and now cause errors:
The error are:
java.lang.IllegalArgumentException: Keyframe fractions must be increasing: 1.0
java.lang.IllegalArgumentException: Keyframe fractions must be increasing: 0.5
We have upgraded to version 1.1.0 in JOSM: https://josm.openstreetmap.de/changeset/10787/josm The switch from batik to Java2D API now detects more invalid cases. For example, we have two SVG files which were previously loaded and now cause errors:
https://josm.openstreetmap.de/browser/josm/trunk/images/presets/sport/volleyball.svg?rev=10706 https://josm.openstreetmap.de/browser/josm/trunk/images/presets/shop/diy_store.svg?rev=10706
The error are: java.lang.IllegalArgumentException: Keyframe fractions must be increasing: 1.0 java.lang.IllegalArgumentException: Keyframe fractions must be increasing: 0.5
They match the following SVG code:
and
The offsets are not strictly increasing.