It looks as though the JDK provides its own shaded version of apache xalan.
I have found a bug in producing XML with an XSLT (bug is a new line and indentation is added within some cdata sections). This is fixed in the unreleased jdk12. I would like to avoid this situation in which I have to both wait for oracle to fix the problem as well as upgrade the JRE used.
I looked into including xalan as a dependency via maven. This does work and seems to fix the issue however it appears that the last time xalan was updated was Jul 24, 2014. That is more than 4 years since the last update.
I would like to be able to depend on xalan or something else that supports XSLT without that dependency coming from the JRE.
- Does oracle maintain its own version of xalan for its JRE independent from apache?
- Why has xalan not been updated since Jul 2014 on maven?
- Will depending on xalan cause all sorts of issues? I did see in Dealing with "Xerces hell" in Java/Maven? that xml-apis was excluded to try and avoid some issues.
- Would it be better to use a different XML library that is less likely to be also used by the JVM? What would be a library worth looking into.