// Read the encoding from the XML file - see BISERVER-895
final String encoding = XmlHelper.getEncoding( reportDefinition, null );
ByteArrayInputStream inStream = new ByteArrayInputStream( reportDefinition.getBytes( encoding ) );
InputSource reportDefinitionInputSource = new InputSource( inStream );
reportDefinitionInputSource.setEncoding( encoding );
return generator.parseReport( reportDefinitionInputSource, getDefinedResourceURL( url ) );
}
private MasterReport getReportFromJar() throws Exception {
JFreeReportAction jFreeReportAction = (JFreeReportAction) getActionDefinition();
MasterReport report;