[Geo] Geo extension throws DTD is prohibited in this XML document error converting phone 

[Geo] Geo extension throws DTD is prohibited in this XML document error converting phone 

  
Forge Component
(3)
Published on 2015-03-21 by Robert Chanphakeo
3 votes
Published on 2015-03-21 by Robert Chanphakeo
We have recently upgrade our cloud platform to 9.1. We have been using Geo to convert phone numbers and since the upgrade Geo versions 4.0.2 and 4.1 both throw a For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method error when calling Country_FormatPhoneNumber action.

Does anyone know how to work around this or have an alternative that can be used?

We are using Geo to validate the input phone numbers for the country selected and then store it in E164 format.