mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
In HGAssetMapper.RewriteSOP(), don't explicitly end the document.
The document here has no <?xml declaration. Though ideally it may be present, in practice it has not been added as the data here is embedded within an asset On Mono 3.2.8 and probably other versions, calling WriteEndDocument() without a declaration does nothing. On Windows .NET, the same operation throws a "Document does not have a root element" exception which may be contributing to Mantis 7397 and possibly 7439
This commit is contained in:
@@ -338,8 +338,6 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
|
||||
{
|
||||
TransformXml(reader, writer);
|
||||
|
||||
writer.WriteEndDocument();
|
||||
|
||||
// Console.WriteLine("Output: [{0}]", sw.ToString());
|
||||
|
||||
return sw.ToString();
|
||||
|
||||
Reference in New Issue
Block a user