private Features readFeaturesFile(File featuresFile) throws XMLStreamException, JAXBException, IOException { return JaxbUtil.unmarshal(featuresFile.toURI().toASCIIString(), false); }
/** * Runs schema validation. * * @param uri Uri to validate. * @throws Exception When validation fails. */ public static void validate(URI uri) throws Exception { JaxbUtil.unmarshal(uri.toASCIIString(), true); }