fix for org.xml.sax.SAXException: FWK005 parse may not be called while parsing. error