xml-path/src/main/java/io/restassured/path/xml/config/XmlPathConfig.java
public XmlPathConfig 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 XmlPathConfig(jaxbObjectMapperFactory, defaultParserType, defaultDeserializer, charset, newFeatures, declaredNamespaces, properties, validating, namespaceAware, allowDocTypeDeclaration);
    }
public XmlPathConfig 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 XmlPathConfig(jaxbObjectMapperFactory, defaultParserType, defaultDeserializer, charset, newFeatures, declaredNamespaces, properties, validating, namespaceAware, allowDocTypeDeclaration);
    }
public XmlPathConfig 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 XmlPathConfig ( jaxbObjectMapperFactory , defaultParserType , defaultDeserializer , charset , newFeatures , declaredNamespaces , properties , validating , namespaceAware , allowDocTypeDeclaration ) ; }
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 XmlPathConfig instance
@see org.xml.sax.XMLReader#setFeature(java.lang.String, boolean)
Set a value of a feature flag .