rest-assured/src/main/java/io/restassured/config/XmlConfig.java
public XmlConfig disableLoadingOfExternalDtd() {
        Map<String, Boolean> newFeatures = new HashMap<String, Boolean>(features);
        newFeatures.put("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
        return new XmlConfig(newFeatures, declaredNamespaces, properties, validating, namespaceAware, allowDocTypeDeclaration, true);
    }
public XmlConfig disableLoadingOfExternalDtd() {
        Map<String, Boolean> newFeatures = new HashMap<String, Boolean>(features);
        newFeatures.put("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
        return new XmlConfig(newFeatures, declaredNamespaces, properties, validating, namespaceAware, allowDocTypeDeclaration, true);
    }
public XmlConfig disableLoadingOfExternalDtd ( ) { Map < String , Boolean > newFeatures = new HashMap < String , Boolean > ( features ) ; newFeatures . put ( "http://apache.org/xml/features/nonvalidating/load-external-dtd" , false ) ; return new XmlConfig ( newFeatures , declaredNamespaces , properties , validating , namespaceAware , allowDocTypeDeclaration , true ) ; }
Disables external DTD loading.
<p>
This is a shortcut for doing:<br>
<pre>
setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
</pre>
</p>

@return A new XmlConfig instance
@see #feature(String, boolean)
Disables external DTD loading . <p > This is a shortcut for doing : <br > <pre > setFeature ( http : // apache . org / xml / features / nonvalidating / load - external - dtd false ) ; < / pre > < / p >