xml-path/src/main/java/io/restassured/path/xml/config/XmlPathConfig.java
public XmlPathConfig declareNamespaces(Map<String, String> namespacesToDeclare) {
        return new XmlPathConfig(jaxbObjectMapperFactory, defaultParserType, defaultDeserializer, charset, features, namespacesToDeclare,
                properties, validating, namespaceAware, allowDocTypeDeclaration);
    }
public XmlPathConfig declareNamespaces(Map<String, String> namespacesToDeclare) {
        return new XmlPathConfig(jaxbObjectMapperFactory, defaultParserType, defaultDeserializer, charset, features, namespacesToDeclare,
                properties, validating, namespaceAware, allowDocTypeDeclaration);
    }
public XmlPathConfig declareNamespaces ( Map < String , String > namespacesToDeclare ) { return new XmlPathConfig ( jaxbObjectMapperFactory , defaultParserType , defaultDeserializer , charset , features , namespacesToDeclare , properties , validating , namespaceAware , allowDocTypeDeclaration ) ; }
Specify declared namespaces that will be used when parsing XML.

@param namespacesToDeclare A map containing features that will be used by the underlying {@link groovy.util.XmlSlurper}.
@return A new instance of XmlPathConfig
@see org.xml.sax.XMLReader#setFeature(java.lang.String, boolean)
Specify declared namespaces that will be used when parsing XML .