#StackBounty: #java #spring #spring-boot #svg #batik Unable to make sense of URL for connection reading a svg file

Bounty: 50

I have a Spring Boot v2.1.2.RELEASE application.
I have a file in ../src/main/resources/icons/128/black/ae.png

which I want to read, But I got an error: Unable to make sense of URL for connection

public class SvgManagerApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(SvgManagerApplication.class, args);

    public void run(String... args) throws Exception {      

        try {

            String parser = XMLResourceDescriptor.getXMLParserClassName();
            SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser);
            Document doc = f.createDocument("classpath:icons/128/black/ae.svg");


        } catch (IOException ex) {



Get this bounty!!!

#StackBounty: #luatex #svg svg output and LuaTeX

Bounty: 200

Trying to find some ways to automate generation of svg output for TeX math formulas, I thought about two possibilities with luatex.

  1. Use lua inside a callback to parse the node tree and output svg (someone had the very idea some time ago).

  2. Use luatex itself to generate svg instead of pdf. As far as I can see, cairo library is included in luatex source code and cairo can output svg.

My questions are:

  1. What is the current status of svg output support with luatex (the program itself or “third parties” projects).
  2. Could I use mplib‘s metapost svg output for that matter? EDIT It seems that mplib does not support svg anymore.

Get this bounty!!!