I know that normaly the setting about the xpath factory is configured by the jasperreports.properties file.
but is there also a way to set the xpath factory in the code?
The setting (or better the property) is: net.sf.jasperreports.xpath.executer.factory=net.sf.jasperreports.engine.util.xml.JaxenXPathExecuterFactory
Posted on April 12, 2013 at 6:43am
This is how I do it in my (Java) code:
JasperReportsContext jrc = DefaultJasperReportsContext.getInstance();
JasperFillManager jfm = JasperFillManager.getInstance(jrc);