Unplanned
Last Updated: 19 Sep 2024 12:18 by Martin Ivanov
Martin Ivanov
Created on: 19 Sep 2024 12:18
Category: SvgImage
Type: Feature Request
2
SvgImage: Allow the developers to handle invalid SVG content
Currently, when the svg content contains errors, the XML reader throws an exception. Catch the exception and instead provide and event or another API that gives information about the error and allow the developers to handle the invalid SVG. The event should allow you to display nothing in case of error or replace the svg (by fixing it or creating your own geometry). A side effect of such event will be that you can use it to display your own error.
0 comments