break;
}
case DRIVER : {
// if (!driversMatched)
// throw new ParserException("Unexpected element:" + reader.getLocalName());
Driver driver = parseDriver(reader);
drivers.put(driver.getName(), driver);
break;
}
default :
throw new ParserException("Unexpected element:" + reader.getLocalName());
}