public void parseXSD(File file) { try { if (!file.exists()) { throw new FileNotFoundException(file.getAbsolutePath()); } parser.parse(file); schemaSet = parser.getResult(); LOGGER.debug("Schema size: {}, Schema Set: {}", schemaSet.getSchemaSize(), schemaSet); } catch (SAXException | IOException e) { LOGGER.error("{}", e.getMessage()); } }