aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Serialization/External/RegionSettingsSerializer.cs
diff options
context:
space:
mode:
authorUbitUmarov2018-01-08 12:00:21 +0000
committerUbitUmarov2018-01-08 12:00:21 +0000
commiteec3921800e3a19f210c0488d78399c210f9b9d6 (patch)
tree9d1f1dfc98e518e060b5d172891051edae8c9561 /OpenSim/Framework/Serialization/External/RegionSettingsSerializer.cs
parent a few more xml things (diff)
downloadopensim-SC-eec3921800e3a19f210c0488d78399c210f9b9d6.zip
opensim-SC-eec3921800e3a19f210c0488d78399c210f9b9d6.tar.gz
opensim-SC-eec3921800e3a19f210c0488d78399c210f9b9d6.tar.bz2
opensim-SC-eec3921800e3a19f210c0488d78399c210f9b9d6.tar.xz
fall back to a obsolete property since several monos in use (include our own) do not suporte the proper .net4.0 one
Diffstat (limited to 'OpenSim/Framework/Serialization/External/RegionSettingsSerializer.cs')
-rw-r--r--OpenSim/Framework/Serialization/External/RegionSettingsSerializer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Serialization/External/RegionSettingsSerializer.cs b/OpenSim/Framework/Serialization/External/RegionSettingsSerializer.cs
index fb4f904..6ff5687 100644
--- a/OpenSim/Framework/Serialization/External/RegionSettingsSerializer.cs
+++ b/OpenSim/Framework/Serialization/External/RegionSettingsSerializer.cs
@@ -63,7 +63,7 @@ namespace OpenSim.Framework.Serialization.External
63 63
64 StringReader sr = new StringReader(serializedSettings); 64 StringReader sr = new StringReader(serializedSettings);
65 XmlTextReader xtr = new XmlTextReader(sr); 65 XmlTextReader xtr = new XmlTextReader(sr);
66 xtr.DtdProcessing = DtdProcessing.Prohibit; 66 xtr.ProhibitDtd = true;
67 xtr.XmlResolver = null; 67 xtr.XmlResolver = null;
68 68
69 xtr.ReadStartElement("RegionSettings"); 69 xtr.ReadStartElement("RegionSettings");