mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
minor: In HGAssetMapper, don't complain on seeing an XmlDeclaration as we know that we not using those in transformation.
Relates to http://opensimulator.org/mantis/view.php?id=7447
This commit is contained in:
@@ -318,6 +318,11 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
|
||||
writer.WriteString(reader.Value);
|
||||
break;
|
||||
|
||||
case XmlNodeType.XmlDeclaration:
|
||||
// For various reasons, not all serializations have xml declarations (or consistent ones)
|
||||
// and as it's embedded inside a byte stream we don't need it anyway, so ignore.
|
||||
break;
|
||||
|
||||
default:
|
||||
m_log.WarnFormat(
|
||||
"[HG ASSET MAPPER]: Unrecognized node {0} in asset XML transform in {1}",
|
||||
|
||||
Reference in New Issue
Block a user