How to Speed Up Apache Xalan’s XPath Processor by Factor 10x

There has been a bit of an awkward bug in Apache Xalan for a while now, and that bug is XALANJ-2540. The effect of this bug is that an internal SPI configuration file is loaded by Xalan thousands of times per XPath expression evaluation, which can be measured easily as such: this: Element e = (Element) … Continue reading How to Speed Up Apache Xalan’s XPath Processor by Factor 10x

Use Xalan’s extension functions natively in jOOX

jOOX aims at increased ease of use when dealing with Java's rather complex XML API's. One example of such a complex API is Xalan, which has a lot of nice functionality, such as its extension namespaces. When you use Xalan, you may have heard of those extensions as documented here: http://exslt.org These extensions can typically … Continue reading Use Xalan’s extension functions natively in jOOX