aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2018-01-17 07:17:24 +0000
committerUbitUmarov2018-01-17 07:17:24 +0000
commit707eb8de8284c1f3e27565a0dff99ed1563b42ee (patch)
tree84b47088d5756800c2e1eb29f27f9030aa16398a
parentpesty warnings (diff)
downloadopensim-SC-707eb8de8284c1f3e27565a0dff99ed1563b42ee.zip
opensim-SC-707eb8de8284c1f3e27565a0dff99ed1563b42ee.tar.gz
opensim-SC-707eb8de8284c1f3e27565a0dff99ed1563b42ee.tar.bz2
opensim-SC-707eb8de8284c1f3e27565a0dff99ed1563b42ee.tar.xz
remove more xml things no longer needed on .net >4.5.2
Diffstat (limited to '')
-rw-r--r--OpenSim/ApplicationPlugins/LoadRegions/RegionLoaderWebServer.cs1
-rw-r--r--OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs1
-rw-r--r--OpenSim/ConsoleClient/ConsoleClient.cs2
-rw-r--r--OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs2
-rw-r--r--OpenSim/Framework/Util.cs2
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/Tests/HGAssetMapperTests.cs1
-rw-r--r--OpenSim/Region/CoreModules/World/Serialiser/SerialiseObjects.cs1
-rw-r--r--OpenSim/Region/Framework/Scenes/Animation/DefaultAvatarAnimations.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs1
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs1
-rw-r--r--OpenSim/Region/Framework/Scenes/Serialization/CoalescedSceneObjectsSerializer.cs1
-rw-r--r--OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs1
-rw-r--r--OpenSim/Region/Framework/Scenes/Serialization/SceneXmlLoader.cs1
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs1
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/ScriptSerializer.cs1
-rwxr-xr-xOpenSim/Region/ScriptEngine/XEngine/XEngine.cs3
-rw-r--r--OpenSim/Server/Base/ServerUtils.cs2
18 files changed, 4 insertions, 22 deletions
diff --git a/OpenSim/ApplicationPlugins/LoadRegions/RegionLoaderWebServer.cs b/OpenSim/ApplicationPlugins/LoadRegions/RegionLoaderWebServer.cs
index 2b91fc5..13d7a8a 100644
--- a/OpenSim/ApplicationPlugins/LoadRegions/RegionLoaderWebServer.cs
+++ b/OpenSim/ApplicationPlugins/LoadRegions/RegionLoaderWebServer.cs
@@ -93,7 +93,6 @@ namespace OpenSim.ApplicationPlugins.LoadRegions
93 m_log.Debug("[WEBLOADER]: Done downloading region information from server. Total Bytes: " + 93 m_log.Debug("[WEBLOADER]: Done downloading region information from server. Total Bytes: " +
94 xmlSource.Length); 94 xmlSource.Length);
95 XmlDocument xmlDoc = new XmlDocument(); 95 XmlDocument xmlDoc = new XmlDocument();
96 xmlDoc.XmlResolver = null;
97 xmlDoc.LoadXml(xmlSource); 96 xmlDoc.LoadXml(xmlSource);
98 if (xmlDoc.FirstChild.Name == "Nini") 97 if (xmlDoc.FirstChild.Name == "Nini")
99 { 98 {
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index f29898a..468e7be 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -3138,7 +3138,6 @@ namespace OpenSim.ApplicationPlugins.RemoteController
3138 if (File.Exists(defaultAppearanceFileName)) 3138 if (File.Exists(defaultAppearanceFileName))
3139 { 3139 {
3140 XmlDocument doc = new XmlDocument(); 3140 XmlDocument doc = new XmlDocument();
3141 doc.XmlResolver=null;
3142 string name = "*unknown*"; 3141 string name = "*unknown*";
3143 string email = "anon@anon"; 3142 string email = "anon@anon";
3144 uint regionXLocation = 1000; 3143 uint regionXLocation = 1000;
diff --git a/OpenSim/ConsoleClient/ConsoleClient.cs b/OpenSim/ConsoleClient/ConsoleClient.cs
index c395cd7..e689424 100644
--- a/OpenSim/ConsoleClient/ConsoleClient.cs
+++ b/OpenSim/ConsoleClient/ConsoleClient.cs
@@ -110,7 +110,6 @@ namespace OpenSim.ConsoleClient
110 public static void LoginReply(string requestUrl, string requestData, string replyData) 110 public static void LoginReply(string requestUrl, string requestData, string replyData)
111 { 111 {
112 XmlDocument doc = new XmlDocument(); 112 XmlDocument doc = new XmlDocument();
113 doc.XmlResolver=null;
114 113
115 doc.LoadXml(replyData); 114 doc.LoadXml(replyData);
116 115
@@ -170,7 +169,6 @@ namespace OpenSim.ConsoleClient
170 public static void ReadResponses(string requestUrl, string requestData, string replyData) 169 public static void ReadResponses(string requestUrl, string requestData, string replyData)
171 { 170 {
172 XmlDocument doc = new XmlDocument(); 171 XmlDocument doc = new XmlDocument();
173 doc.XmlResolver=null;
174 172
175 doc.LoadXml(replyData); 173 doc.LoadXml(replyData);
176 174
diff --git a/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs b/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs
index 64b5d41..238ebb1 100644
--- a/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs
+++ b/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs
@@ -156,7 +156,7 @@ namespace OpenSim.Framework.Serialization.External
156 return xml; 156 return xml;
157 157
158 XmlDocument doc = new XmlDocument(); 158 XmlDocument doc = new XmlDocument();
159 doc.XmlResolver=null; 159
160 doc.LoadXml(xml); 160 doc.LoadXml(xml);
161 XmlNodeList sops = doc.GetElementsByTagName("SceneObjectPart"); 161 XmlNodeList sops = doc.GetElementsByTagName("SceneObjectPart");
162 162
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index ae8b784..eb24c84 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -671,7 +671,7 @@ namespace OpenSim.Framework
671 public static string GetFormattedXml(string rawXml) 671 public static string GetFormattedXml(string rawXml)
672 { 672 {
673 XmlDocument xd = new XmlDocument(); 673 XmlDocument xd = new XmlDocument();
674 xd.XmlResolver=null; 674
675 xd.LoadXml(rawXml); 675 xd.LoadXml(rawXml);
676 676
677 StringBuilder sb = new StringBuilder(); 677 StringBuilder sb = new StringBuilder();
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/Tests/HGAssetMapperTests.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/Tests/HGAssetMapperTests.cs
index 01c5d3b..8f12331 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/Tests/HGAssetMapperTests.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/Tests/HGAssetMapperTests.cs
@@ -93,7 +93,6 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess.Tests
93 Assert.AreEqual(foreignUrl, ncAssetGet.CreatorID); 93 Assert.AreEqual(foreignUrl, ncAssetGet.CreatorID);
94 string xmlData = Utils.BytesToString(ncAssetGet.Data); 94 string xmlData = Utils.BytesToString(ncAssetGet.Data);
95 XmlDocument ncAssetGetXmlDoc = new XmlDocument(); 95 XmlDocument ncAssetGetXmlDoc = new XmlDocument();
96 ncAssetGetXmlDoc.XmlResolver=null;
97 ncAssetGetXmlDoc.LoadXml(xmlData); 96 ncAssetGetXmlDoc.LoadXml(xmlData);
98 97
99// Console.WriteLine(ncAssetGetXmlDoc.OuterXml); 98// Console.WriteLine(ncAssetGetXmlDoc.OuterXml);
diff --git a/OpenSim/Region/CoreModules/World/Serialiser/SerialiseObjects.cs b/OpenSim/Region/CoreModules/World/Serialiser/SerialiseObjects.cs
index 52a80d6..0d84a1f 100644
--- a/OpenSim/Region/CoreModules/World/Serialiser/SerialiseObjects.cs
+++ b/OpenSim/Region/CoreModules/World/Serialiser/SerialiseObjects.cs
@@ -69,7 +69,6 @@ namespace OpenSim.Region.CoreModules.World.Serialiser
69 MemoryStream stream = new MemoryStream(); 69 MemoryStream stream = new MemoryStream();
70 XmlTextWriter formatter = new XmlTextWriter(stream, Encoding.UTF8); 70 XmlTextWriter formatter = new XmlTextWriter(stream, Encoding.UTF8);
71 XmlDocument doc = new XmlDocument(); 71 XmlDocument doc = new XmlDocument();
72 doc.XmlResolver=null;
73 doc.LoadXml(xmlstream); 72 doc.LoadXml(xmlstream);
74 formatter.Formatting = Formatting.Indented; 73 formatter.Formatting = Formatting.Indented;
75 doc.WriteContentTo(formatter); 74 doc.WriteContentTo(formatter);
diff --git a/OpenSim/Region/Framework/Scenes/Animation/DefaultAvatarAnimations.cs b/OpenSim/Region/Framework/Scenes/Animation/DefaultAvatarAnimations.cs
index 78f545b..b8db3a9 100644
--- a/OpenSim/Region/Framework/Scenes/Animation/DefaultAvatarAnimations.cs
+++ b/OpenSim/Region/Framework/Scenes/Animation/DefaultAvatarAnimations.cs
@@ -59,8 +59,6 @@ namespace OpenSim.Region.Framework.Scenes.Animation
59 using (XmlTextReader reader = new XmlTextReader(path)) 59 using (XmlTextReader reader = new XmlTextReader(path))
60 { 60 {
61 XmlDocument doc = new XmlDocument(); 61 XmlDocument doc = new XmlDocument();
62 doc.XmlResolver = null;
63
64 doc.Load(reader); 62 doc.Load(reader);
65// if (doc.DocumentElement != null) 63// if (doc.DocumentElement != null)
66// { 64// {
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index e8a8a6e..e6e0354 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -2420,7 +2420,6 @@ namespace OpenSim.Region.Framework.Scenes
2420 else 2420 else
2421 { 2421 {
2422 XmlDocument doc = new XmlDocument(); 2422 XmlDocument doc = new XmlDocument();
2423 doc.XmlResolver=null;
2424 doc.LoadXml(xmlData); 2423 doc.LoadXml(xmlData);
2425 XmlElement e = (XmlElement)doc.SelectSingleNode("/CoalescedObject"); 2424 XmlElement e = (XmlElement)doc.SelectSingleNode("/CoalescedObject");
2426 XmlElement coll = (XmlElement)e; 2425 XmlElement coll = (XmlElement)e;
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
index c20c81d..bf217a5 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
@@ -505,7 +505,6 @@ namespace OpenSim.Region.Framework.Scenes
505 foreach (KeyValuePair<UUID, string> state in states) 505 foreach (KeyValuePair<UUID, string> state in states)
506 { 506 {
507 XmlDocument sdoc = new XmlDocument(); 507 XmlDocument sdoc = new XmlDocument();
508 sdoc.XmlResolver=null;
509 sdoc.LoadXml(state.Value); 508 sdoc.LoadXml(state.Value);
510 XmlNodeList rootL = sdoc.GetElementsByTagName("State"); 509 XmlNodeList rootL = sdoc.GetElementsByTagName("State");
511 XmlNode rootNode = rootL[0]; 510 XmlNode rootNode = rootL[0];
@@ -541,7 +540,6 @@ namespace OpenSim.Region.Framework.Scenes
541 return; 540 return;
542 541
543 XmlDocument doc = new XmlDocument(); 542 XmlDocument doc = new XmlDocument();
544 doc.XmlResolver=null;
545 try 543 try
546 { 544 {
547 doc.LoadXml(objXMLData); 545 doc.LoadXml(objXMLData);
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index 0b8cc7f..4934b83 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -455,7 +455,6 @@ namespace OpenSim.Region.Framework.Scenes
455 if (m_part.ParentGroup.m_savedScriptState.ContainsKey(stateID)) 455 if (m_part.ParentGroup.m_savedScriptState.ContainsKey(stateID))
456 { 456 {
457 XmlDocument doc = new XmlDocument(); 457 XmlDocument doc = new XmlDocument();
458 doc.XmlResolver=null;
459 doc.LoadXml(m_part.ParentGroup.m_savedScriptState[stateID]); 458 doc.LoadXml(m_part.ParentGroup.m_savedScriptState[stateID]);
460 459
461 ////////// CRUFT WARNING /////////////////////////////////// 460 ////////// CRUFT WARNING ///////////////////////////////////
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/CoalescedSceneObjectsSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/CoalescedSceneObjectsSerializer.cs
index a93782e..41f3ef4 100644
--- a/OpenSim/Region/Framework/Scenes/Serialization/CoalescedSceneObjectsSerializer.cs
+++ b/OpenSim/Region/Framework/Scenes/Serialization/CoalescedSceneObjectsSerializer.cs
@@ -147,7 +147,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
147 } 147 }
148 148
149 XmlDocument doc = new XmlDocument(); 149 XmlDocument doc = new XmlDocument();
150 doc.XmlResolver=null;
151 doc.LoadXml(xml); 150 doc.LoadXml(xml);
152 XmlElement e = (XmlElement)doc.SelectSingleNode("/CoalescedObject"); 151 XmlElement e = (XmlElement)doc.SelectSingleNode("/CoalescedObject");
153 if (e == null) 152 if (e == null)
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
index 1196c28..590a5d4 100644
--- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
+++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
@@ -255,7 +255,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
255 try 255 try
256 { 256 {
257 XmlDocument doc = new XmlDocument(); 257 XmlDocument doc = new XmlDocument();
258 doc.XmlResolver=null;
259 doc.LoadXml(xmlData); 258 doc.LoadXml(xmlData);
260 259
261 XmlNodeList parts = doc.GetElementsByTagName("SceneObjectPart"); 260 XmlNodeList parts = doc.GetElementsByTagName("SceneObjectPart");
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneXmlLoader.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneXmlLoader.cs
index 09e3f9c..42381f6 100644
--- a/OpenSim/Region/Framework/Scenes/Serialization/SceneXmlLoader.cs
+++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneXmlLoader.cs
@@ -49,7 +49,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
49 public static void LoadPrimsFromXml(Scene scene, string fileName, bool newIDS, Vector3 loadOffset) 49 public static void LoadPrimsFromXml(Scene scene, string fileName, bool newIDS, Vector3 loadOffset)
50 { 50 {
51 XmlDocument doc = new XmlDocument(); 51 XmlDocument doc = new XmlDocument();
52 doc.XmlResolver=null;
53 XmlNode rootNode; 52 XmlNode rootNode;
54 53
55 if (fileName.StartsWith("http:") || File.Exists(fileName)) 54 if (fileName.StartsWith("http:") || File.Exists(fileName))
diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs
index e88d850..582df22 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs
@@ -1125,7 +1125,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
1125 return null; 1125 return null;
1126 1126
1127 doc = new XmlDocument(); 1127 doc = new XmlDocument();
1128 doc.XmlResolver = null;
1129 1128
1130 // Let's serialize all calls to Vivox. Most of these are driven by 1129 // Let's serialize all calls to Vivox. Most of these are driven by
1131 // the clients (CAPs), when the user arrives at the region. We don't 1130 // the clients (CAPs), when the user arrives at the region. We don't
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptSerializer.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptSerializer.cs
index cfe21fc..bcdc7bf 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptSerializer.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptSerializer.cs
@@ -207,7 +207,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
207 public static void Deserialize(string xml, ScriptInstance instance) 207 public static void Deserialize(string xml, ScriptInstance instance)
208 { 208 {
209 XmlDocument doc = new XmlDocument(); 209 XmlDocument doc = new XmlDocument();
210 doc.XmlResolver=null;
211 210
212 Dictionary<string, object> vars = instance.GetVars(); 211 Dictionary<string, object> vars = instance.GetVars();
213 212
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 05124fc..c86a50e 100755
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -2098,7 +2098,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
2098 string xml = instance.GetXMLState(); 2098 string xml = instance.GetXMLState();
2099 2099
2100 XmlDocument sdoc = new XmlDocument(); 2100 XmlDocument sdoc = new XmlDocument();
2101 sdoc.XmlResolver=null; 2101
2102 bool loadedState = true; 2102 bool loadedState = true;
2103 try 2103 try
2104 { 2104 {
@@ -2254,7 +2254,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine
2254 return false; 2254 return false;
2255 2255
2256 XmlDocument doc = new XmlDocument(); 2256 XmlDocument doc = new XmlDocument();
2257 doc.XmlResolver=null;
2258 2257
2259 try 2258 try
2260 { 2259 {
diff --git a/OpenSim/Server/Base/ServerUtils.cs b/OpenSim/Server/Base/ServerUtils.cs
index cc506bc..d0043ba 100644
--- a/OpenSim/Server/Base/ServerUtils.cs
+++ b/OpenSim/Server/Base/ServerUtils.cs
@@ -513,7 +513,7 @@ namespace OpenSim.Server.Base
513 Dictionary<string, object> ret = new Dictionary<string, object>(); 513 Dictionary<string, object> ret = new Dictionary<string, object>();
514 514
515 XmlDocument doc = new XmlDocument(); 515 XmlDocument doc = new XmlDocument();
516 doc.XmlResolver = null; 516
517 try 517 try
518 { 518 {
519 doc.LoadXml(data); 519 doc.LoadXml(data);