From 877371411a9e997b0b11f45c410438ae2bb73f16 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sat, 2 May 2015 22:18:58 -0700 Subject: [PATCH] Mantis #7514 I think this is it -- a bug introduced back in October, where the prefix and name space were being added twice on HG asset posts bu simulators. --- .../CoreModules/Framework/InventoryAccess/HGAssetMapper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGAssetMapper.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGAssetMapper.cs index 75f0774a1d..c2010b195d 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGAssetMapper.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGAssetMapper.cs @@ -205,7 +205,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess { case XmlNodeType.Attribute: // Console.WriteLine("FOUND ATTRIBUTE {0}", reader.Name); - writer.WriteAttributeString(reader.Prefix, reader.Name, reader.NamespaceURI, reader.Value); + writer.WriteAttributeString(reader.Name, reader.Value); break; case XmlNodeType.CDATA: @@ -228,7 +228,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess if (reader.HasAttributes) { while (reader.MoveToNextAttribute()) - writer.WriteAttributeString(reader.Prefix, reader.Name, reader.NamespaceURI, reader.Value); + writer.WriteAttributeString(reader.Name, reader.Value); reader.MoveToElement(); }