This sample code uses 2 security settings – prohibitDTD and resolveExternal -- to demonstrate how different security settings take effect on XML parser behavior. For detailed information, refer to XmlLoadSettings in the Windows Runtime documentation.
To run the sample, choose the setting option and click the following buttons.
Load Xml From File will internally call loadXmlFormFileAsync. While, Load Xml From Buffer will internally call loadXmlFromBuffer.
prohibitDTD = true, resolveExternals = false