mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
whatever...
This commit is contained in:
@@ -400,13 +400,7 @@ namespace OpenSim.Framework.Serialization.External
|
||||
/// <returns></returns>
|
||||
public static string SanitizeXml(string xmlData)
|
||||
{
|
||||
string fixedData = xmlData;
|
||||
if (fixedData != null)
|
||||
// Loop, because it may contain multiple
|
||||
while (fixedData.Contains("xmlns:xmlns:"))
|
||||
fixedData = fixedData.Replace("xmlns:xmlns:", "xmlns:");
|
||||
return fixedData;
|
||||
return xmlData.Replace("xmlns:xmlns:", "xmlns:");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user