diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/PhysicsInertia.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Framework/PhysicsInertia.cs b/OpenSim/Framework/PhysicsInertia.cs index 8a0e43e..fa83de8 100644 --- a/OpenSim/Framework/PhysicsInertia.cs +++ b/OpenSim/Framework/PhysicsInertia.cs | |||
@@ -193,8 +193,7 @@ namespace OpenSim.Framework | |||
193 | using(MemoryStream ms = new MemoryStream(enc.GetBytes(text))) | 193 | using(MemoryStream ms = new MemoryStream(enc.GetBytes(text))) |
194 | using(XmlTextReader xreader = new XmlTextReader(ms)) | 194 | using(XmlTextReader xreader = new XmlTextReader(ms)) |
195 | { | 195 | { |
196 | xreader.DtdProcessing = DtdProcessing.Prohibit; | 196 | xreader.ProhibitDtd = true; |
197 | xreader.XmlResolver = null; | ||
198 | 197 | ||
199 | v = new PhysicsInertiaData(); | 198 | v = new PhysicsInertiaData(); |
200 | v.FromXml2(xreader, out error); | 199 | v.FromXml2(xreader, out error); |