mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
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.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user