try {
SAXBuilder builder = new SAXBuilder(false);
Document doc = builder.build(input);
if(verifySchema) {
Validator validator = this.schema.newValidator();
validator.validate(new JDOMSource(doc));
}
Element root = doc.getRootElement();
if(!root.getName().equals(CLUSTER_ELMT))
throw new MappingException("Invalid root element: "
+ doc.getRootElement().getName());