copy XMLHElper and DTDEntityResolver and use it in ConfigurationFactory
inline ConfigHelper.getResourceAsStream()