css4j / echosvg

SVG implementation in the Java™ Language, fork of Apache Batik, supporting level 4 selectors and colors.
Apache License 2.0
39 stars 2 forks source link

Error handling in CSS value processing is non-conformant #78

Closed carlosame closed 1 year ago

carlosame commented 1 year ago

In this library, error recovery during CSS parsing is improved over Batik or Inkscape, because unknown rules are just ignored instead of causing the whole stylesheet parsing to stop. However, when a wrong (or non-supported) CSS value is found, the processing of the rest of the style sheet fails. This behavior is non-conformant and should be fixed.

carlosame commented 1 year ago

The commit message should read

css: do not stop CSS processing when an unknown or wrong value is found #78

instead of transcoder: .... I force-pushed the correct commit message, hope that nobody was hit by that.

(Note: this issue is another of the things that you asked for yesterday, @DaveJarvis.)