if (curChild.getNodeName().equals("configuration")) {
Metadata curMetadata = new Metadata();
if (!((Element) curChild).getAttribute("extends").equals(""))
for (String extension : ((Element) curChild).getAttribute("extends")
.split(","))
curMetadata
.replaceMetadata(globalConfGroups.containsKey(extension) ? globalConfGroups
.get(extension) : this.loadConfGroup(rootElements,
extension, globalConfGroups));
curMetadata.replaceMetadata(XmlStructFactory
.getConfigurationAsMetadata(curChild));