* @throws ModuleInitializeException if initializing the module failes.
*/
public void performInit()
throws ModuleInitializeException
{
final ParserEntityResolver res = ParserEntityResolver.getDefaultResolver();
final URL urlReportDTD = ObjectUtilities.getResource
("org/pentaho/reporting/engine/classic/core/modules/parser/simple/resources/report-085.dtd",
SimpleParserModuleInit.class);
res.setDTDLocation(SimpleParserModuleInit.PUBLIC_ID_SIMPLE, SimpleParserModuleInit.SYSTEM_ID, urlReportDTD);
res.setDTDLocation(SimpleParserModuleInit.PUBLIC_ID_SIMPLE_084, SimpleParserModuleInit.SYSTEM_ID, urlReportDTD);
res.setDeprecatedDTDMessage(SimpleParserModuleInit.PUBLIC_ID_SIMPLE_084,
"The given public identifier for the XML document is deprecated. " +
"Please use the current document type declaration instead: \n" +
" <!DOCTYPE report PUBLIC \n" +
" \"-//JFreeReport//DTD report definition//EN//simple/version 0.8.5\"\n" +
" \"http://jfreereport.sourceforge.net/report-085.dtd\">");