lets-plot
lets-plot copied to clipboard
lets-plot-batik: META-INF/services files specify xalan
Apologies if this is not the right place to report issues in lets-plot-batik.
The lets-plot-batik jar has META-INF/services files for javax.xml, org.apache.xml and org.apache.xalan that refer to xalan classes.
xalan has an open CVE that is not likely to be fixed and the community is mulling shutting down the project. There has only been one xalan-j release since 2008.
Would it be possible to remove these refs to xalan?
- https://lists.apache.org/thread/s8kjny5270ssfcp46v0fl39lk98987w7
- https://lists.apache.org/thread/2qvl7r43wb4t8p9dd9om1bnkssk07sn8
Sure, we will take a look.
However, org.apache.xmlgraphics:batik-dom:1.14
has dependency on xalan:xalan:2.7.2
artefact so, we likely will not be able to get rid of xalan entirely.
https://issues.apache.org/jira/browse/BATIK-1329 is open.
Still, it would be useful if lets-plot-batik did not set the META-INF/services settings - because they affect all code that runs in a JVM. If lets-plot-batik really needs to use xalan, as opposed to the Java runtime JAXP built-ins or saxon, it could create the xalan factories explicitly.
A merge has been done for https://issues.apache.org/jira/browse/BATIK-1329 - I'm not sure when a release will be done.