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

bridge: be tolerant to missing references #81

Closed carlosame closed 1 year ago

carlosame commented 1 year ago

Instead of throwing an exception (and stop processing) on a missing reference, just report the error via the user agent and keep processing. This is what a conformant user agent is supposed to do.

There are other circumstances (like other I/O errors) where it would make sense to behave in the same way, but this may break POLA for legacy applications and is deferred to future updates. User feedback is encouraged.

The slideshow and extension modules are also affected by this PR.

Fixes #80.