missed a few..
parent
e908c0ecad
commit
439cbf0d4d
|
@ -134,7 +134,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
|
|||
using (XmlTextReader reader = new XmlTextReader(sr))
|
||||
{
|
||||
reader.ProhibitDtd = true;
|
||||
reader.XmlResolver = null;
|
||||
|
||||
reader.MoveToContent(); // skip possible xml declaration
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
|
|||
String fixedData = ExternalRepresentationUtils.SanitizeXml(xmlData);
|
||||
using (XmlTextReader wrappedReader = new XmlTextReader(fixedData, XmlNodeType.Element, null))
|
||||
{
|
||||
using (XmlReader reader = XmlReader.Create(wrappedReader, new XmlReaderSettings() { IgnoreWhitespace = true, ConformanceLevel = ConformanceLevel.Fragment, ProhibitDtd = true, XmlResolver = null }))
|
||||
using (XmlReader reader = XmlReader.Create(wrappedReader, new XmlReaderSettings() { IgnoreWhitespace = true, ConformanceLevel = ConformanceLevel.Fragment, ProhibitDtd = true }))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -273,7 +273,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
|
|||
using(XmlTextReader reader = new XmlTextReader(sr))
|
||||
{
|
||||
reader.ProhibitDtd = true;
|
||||
reader.XmlResolver = null;
|
||||
|
||||
sceneObject = new SceneObjectGroup(SceneObjectPart.FromXml(reader));
|
||||
}
|
||||
|
|
|
@ -58,7 +58,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
|
|||
{
|
||||
reader.WhitespaceHandling = WhitespaceHandling.None;
|
||||
reader.ProhibitDtd = true;
|
||||
reader.XmlResolver = null;
|
||||
|
||||
doc.Load(reader);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue