rest-assured/src/main/java/io/restassured/config/XmlConfig.java
public XmlConfig feature(String uri, boolean enabled) {
        Validate.notEmpty(uri, "URI cannot be empty");
        Map<String, Boolean> newFeatures = new HashMap<String, Boolean>(features);
        newFeatures.put(uri, enabled);
        return new XmlConfig(newFeatures, declaredNamespaces, properties, validating, namespaceAware, allowDocTypeDeclaration, true);
    }
public XmlConfig feature(String uri, boolean enabled) {
        Validate.notEmpty(uri, "URI cannot be empty");
        Map<String, Boolean> newFeatures = new HashMap<String, Boolean>(features);
        newFeatures.put(uri, enabled);
        return new XmlConfig(newFeatures, declaredNamespaces, properties, validating, namespaceAware, allowDocTypeDeclaration, true);
    }
Set a value of a feature flag.

@param uri     The feature name, which is a fully-qualified URI.
@param enabled The requested value of the feature (true or false).
@return A new XmlConfig instance
@see org.xml.sax.XMLReader#setFeature(java.lang.String, boolean)