whatever...
parent
4fa8e20aab
commit
9ecee558b5
|
@ -400,13 +400,7 @@ namespace OpenSim.Framework.Serialization.External
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static string SanitizeXml(string xmlData)
|
public static string SanitizeXml(string xmlData)
|
||||||
{
|
{
|
||||||
string fixedData = xmlData;
|
return xmlData.Replace("xmlns:xmlns:", "xmlns:");
|
||||||
if (fixedData != null)
|
|
||||||
// Loop, because it may contain multiple
|
|
||||||
while (fixedData.Contains("xmlns:xmlns:"))
|
|
||||||
fixedData = fixedData.Replace("xmlns:xmlns:", "xmlns:");
|
|
||||||
return fixedData;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue