diff options
author | Diva Canto | 2015-05-02 22:18:58 -0700 |
---|---|---|
committer | Diva Canto | 2015-05-02 22:18:58 -0700 |
commit | 877371411a9e997b0b11f45c410438ae2bb73f16 (patch) | |
tree | 013eb68a1a0738b234b6e376b82ddf25700d6254 /OpenSim/Region | |
parent | It wasn't that. Revert "Mantis #7514" (diff) | |
download | opensim-SC_OLD-877371411a9e997b0b11f45c410438ae2bb73f16.zip opensim-SC_OLD-877371411a9e997b0b11f45c410438ae2bb73f16.tar.gz opensim-SC_OLD-877371411a9e997b0b11f45c410438ae2bb73f16.tar.bz2 opensim-SC_OLD-877371411a9e997b0b11f45c410438ae2bb73f16.tar.xz |
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.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/HGAssetMapper.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGAssetMapper.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGAssetMapper.cs index 75f0774..c2010b1 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 | |||
205 | { | 205 | { |
206 | case XmlNodeType.Attribute: | 206 | case XmlNodeType.Attribute: |
207 | // Console.WriteLine("FOUND ATTRIBUTE {0}", reader.Name); | 207 | // Console.WriteLine("FOUND ATTRIBUTE {0}", reader.Name); |
208 | writer.WriteAttributeString(reader.Prefix, reader.Name, reader.NamespaceURI, reader.Value); | 208 | writer.WriteAttributeString(reader.Name, reader.Value); |
209 | break; | 209 | break; |
210 | 210 | ||
211 | case XmlNodeType.CDATA: | 211 | case XmlNodeType.CDATA: |
@@ -228,7 +228,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
228 | if (reader.HasAttributes) | 228 | if (reader.HasAttributes) |
229 | { | 229 | { |
230 | while (reader.MoveToNextAttribute()) | 230 | while (reader.MoveToNextAttribute()) |
231 | writer.WriteAttributeString(reader.Prefix, reader.Name, reader.NamespaceURI, reader.Value); | 231 | writer.WriteAttributeString(reader.Name, reader.Value); |
232 | 232 | ||
233 | reader.MoveToElement(); | 233 | reader.MoveToElement(); |
234 | } | 234 | } |