remove more xml things no longer needed on .net >4.5.2

This commit is contained in:
UbitUmarov
2018-01-17 07:17:24 +00:00
parent e9d2d81880
commit 707eb8de82
18 changed files with 4 additions and 22 deletions

View File

@@ -147,7 +147,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
}
XmlDocument doc = new XmlDocument();
doc.XmlResolver=null;
doc.LoadXml(xml);
XmlElement e = (XmlElement)doc.SelectSingleNode("/CoalescedObject");
if (e == null)

View File

@@ -255,7 +255,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
try
{
XmlDocument doc = new XmlDocument();
doc.XmlResolver=null;
doc.LoadXml(xmlData);
XmlNodeList parts = doc.GetElementsByTagName("SceneObjectPart");

View File

@@ -49,7 +49,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
public static void LoadPrimsFromXml(Scene scene, string fileName, bool newIDS, Vector3 loadOffset)
{
XmlDocument doc = new XmlDocument();
doc.XmlResolver=null;
XmlNode rootNode;
if (fileName.StartsWith("http:") || File.Exists(fileName))