Mantis #7514
Mono bug introduces double xmlns attribute names when rewriting the asset in HGAssetService, e.g. <SceneObjectPart xmlns:xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xmlns:xsd="http://www.w3.org/2001/XMLSchema">. Solution: remove all attributes before saving.inv-download
parent
4211309ec7
commit
365f46bfa9
|
@ -136,6 +136,9 @@ namespace OpenSim.Framework.Serialization.External
|
||||||
|
|
||||||
foreach (XmlNode sop in sops)
|
foreach (XmlNode sop in sops)
|
||||||
{
|
{
|
||||||
|
// Due to mono bug, we're removing all xmlns attributes
|
||||||
|
sop.Attributes.RemoveAll();
|
||||||
|
|
||||||
UserAccount creator = null;
|
UserAccount creator = null;
|
||||||
bool hasCreatorData = false;
|
bool hasCreatorData = false;
|
||||||
XmlNodeList nodes = sop.ChildNodes;
|
XmlNodeList nodes = sop.ChildNodes;
|
||||||
|
|
Loading…
Reference in New Issue