out.close();
}
}
return true;
}
<BUG>public static boolean xmlIsValid(DOMSource xmlfile, String type) throws SAXException{
</BUG>
if(!type.equals(hashsetXSD) && !type.equals(keywordXSD) && !type.equals(searchEngineXSD) && !type.equals(pipelineXSD)){
return false;
}

out.close();
}
}
return true;
}
public static boolean xmlIsValid(DOMSource xmlfile, Class clazz, String type) {
if(!type.equals(hashsetXSD) && !type.equals(keywordXSD) && !type.equals(searchEngineXSD) && !type.equals(pipelineXSD)){
return false;
}
