[Bug 395605] class cast exception in XMLConfiguration fixed

This commit is contained in:
Jesse McConnell 2012-12-03 08:42:06 -06:00
parent e909bc4bc5
commit 89e5fc93dc
1 changed files with 5 additions and 2 deletions

View File

@ -763,10 +763,13 @@ public class XmlConfiguration
{
Object o = node.get(i);
XmlParser.Node argNode = (XmlParser.Node)o;
if (o instanceof String)
{
continue;
}
XmlParser.Node argNode = (XmlParser.Node)o;
String namedAttribute = argNode.getAttribute("name");
Object value=value(obj,(XmlParser.Node)o);
if (namedAttribute != null)