public void load(Reader rdr, ClassLoader cl) throws XMLException
{
try
{
final IXMLParser parser = XMLParserFactory.createDefaultXMLParser();
parser.setReader(new StdXMLReader(rdr));
IXMLElement element = (IXMLElement) parser.parse();
// Bug 2942351 (Program doesn't launch)
// looking at the source for StdXMLBuilder, it appears that parser.parse() could possibly return
// null. So check for null here and skip if necessary.
if (element != null)