whatever...
parent
4fa8e20aab
commit
9ecee558b5
|
@ -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:");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue