List of usage examples for org.apache.commons.digester3 Digester setFeature
public void setFeature(String feature, boolean value) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException
org.xml.sax.XMLReader
. From source file:net.nicholaswilliams.java.teamcity.plugin.buildNumber.PluginConfigurationServiceDefault.java
private Digester newDigester() throws SAXException, ParserConfigurationException { Digester digester = this.digesterLoader.newDigester(); digester.setFeature("http://xml.org/sax/features/validation", true); digester.setFeature("http://apache.org/xml/features/validation/schema", true); digester.setFeature("http://apache.org/xml/features/validation/schema-full-checking", true); return digester; }