give up on a property that old monos do compile, but then smore ok exec
parent
1a6770191c
commit
e908c0ecad
|
@ -84,7 +84,6 @@ namespace OpenSim.Framework.Capabilities
|
|||
using (XmlTextReader reader = new XmlTextReader(st))
|
||||
{
|
||||
reader.ProhibitDtd = true;
|
||||
reader.XmlResolver = null;
|
||||
|
||||
reader.Read();
|
||||
SkipWS(reader);
|
||||
|
|
|
@ -194,7 +194,6 @@ namespace OpenSim.Framework
|
|||
using(XmlTextReader xreader = new XmlTextReader(ms))
|
||||
{
|
||||
xreader.ProhibitDtd = true;
|
||||
xreader.XmlResolver = null;
|
||||
|
||||
v = new PhysicsInertiaData();
|
||||
v.FromXml2(xreader, out error);
|
||||
|
|
|
@ -1596,7 +1596,6 @@ namespace OpenSim.Framework
|
|||
using (XmlTextReader xtr = new XmlTextReader(sr))
|
||||
{
|
||||
xtr.ProhibitDtd = true;
|
||||
xtr.XmlResolver = null;
|
||||
|
||||
xtr.MoveToContent();
|
||||
|
||||
|
|
|
@ -221,7 +221,7 @@ namespace OpenSim.Framework.Serialization.External
|
|||
using (StringWriter sw = new StringWriter())
|
||||
using (XmlTextWriter writer = new XmlTextWriter(sw))
|
||||
using (XmlTextReader wrappedReader = new XmlTextReader(xmlData, 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}))
|
||||
{
|
||||
TransformXml(reader, writer, sceneName, homeURL, userService, scopeID);
|
||||
|
||||
|
|
|
@ -179,7 +179,6 @@ namespace OpenSim.Framework.Serialization.External
|
|||
using (XmlTextReader reader = new XmlTextReader(new StringReader(serializedLandData)))
|
||||
{
|
||||
reader.ProhibitDtd = true;
|
||||
reader.XmlResolver = null;
|
||||
reader.ReadStartElement("LandData");
|
||||
|
||||
ExternalRepresentationUtils.ExecuteReadProcessors<LandData>(landData, m_ldProcessors, reader);
|
||||
|
|
|
@ -64,7 +64,6 @@ namespace OpenSim.Framework.Serialization.External
|
|||
StringReader sr = new StringReader(serializedSettings);
|
||||
XmlTextReader xtr = new XmlTextReader(sr);
|
||||
xtr.ProhibitDtd = true;
|
||||
xtr.XmlResolver = null;
|
||||
|
||||
xtr.ReadStartElement("RegionSettings");
|
||||
|
||||
|
|
|
@ -203,7 +203,6 @@ namespace OpenSim.Framework.Serialization.External
|
|||
using (XmlTextReader reader = new XmlTextReader(new StringReader(serialization)))
|
||||
{
|
||||
reader.ProhibitDtd = true;
|
||||
reader.XmlResolver = null;
|
||||
|
||||
reader.ReadStartElement("InventoryItem");
|
||||
|
||||
|
|
|
@ -55,7 +55,6 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
using (XmlTextReader xmlReader = new XmlTextReader(request))
|
||||
{
|
||||
xmlReader.ProhibitDtd = true;
|
||||
xmlReader.XmlResolver = null;
|
||||
|
||||
XmlSerializer deserializer = new XmlSerializer(typeof (TRequest));
|
||||
deserial = (TRequest) deserializer.Deserialize(xmlReader);
|
||||
|
|
|
@ -211,7 +211,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
try
|
||||
{
|
||||
xmlReader.ProhibitDtd = true;
|
||||
xmlReader.XmlResolver = null;
|
||||
|
||||
XmlSerializer deserializer = new XmlSerializer(typeof(RestSessionObject<TRequest>));
|
||||
deserial = (RestSessionObject<TRequest>)deserializer.Deserialize(xmlReader);
|
||||
}
|
||||
|
@ -272,7 +272,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
try
|
||||
{
|
||||
xmlReader.ProhibitDtd = true;
|
||||
xmlReader.XmlResolver = null;
|
||||
|
||||
XmlSerializer deserializer = new XmlSerializer(typeof(TRequest));
|
||||
deserial = (TRequest)deserializer.Deserialize(xmlReader);
|
||||
}
|
||||
|
|
|
@ -125,7 +125,7 @@ namespace OpenSim.Region.CoreModules.Avatar.BakedTextures
|
|||
using(XmlTextReader sr = new XmlTextReader(s))
|
||||
{
|
||||
sr.ProhibitDtd = true;
|
||||
sr.XmlResolver = null;
|
||||
|
||||
sr.ReadStartElement("BakedAppearance");
|
||||
while(sr.LocalName == "BakedTexture")
|
||||
{
|
||||
|
|
|
@ -1131,7 +1131,6 @@ namespace OpenSim.Region.CoreModules.World.Archiver
|
|||
XmlParserContext context = new XmlParserContext(null, nsmgr, null, XmlSpace.None);
|
||||
XmlTextReader xtr = new XmlTextReader(Encoding.ASCII.GetString(data), XmlNodeType.Document, context);
|
||||
xtr.ProhibitDtd = true;
|
||||
xtr.XmlResolver = null;
|
||||
|
||||
// Loaded metadata will be empty if no information exists in the archive
|
||||
dearchivedScenes.LoadedCreationDateTime = 0;
|
||||
|
|
|
@ -94,7 +94,6 @@ namespace OpenSim.Region.CoreModules.World.Archiver
|
|||
StringReader sr = new StringReader(xml);
|
||||
XmlTextReader reader = new XmlTextReader(sr);
|
||||
reader.ProhibitDtd = true;
|
||||
reader.XmlResolver = null;
|
||||
|
||||
reader.ReadStartElement("assets");
|
||||
reader.Read();
|
||||
|
|
|
@ -721,7 +721,7 @@ namespace OpenSim.Region.CoreModules.World.Serialiser.Tests
|
|||
|
||||
XmlTextReader xtr = new XmlTextReader(new StringReader(xml));
|
||||
xtr.ProhibitDtd = true;
|
||||
xtr.XmlResolver = null;
|
||||
|
||||
xtr.ReadStartElement("SceneObjectGroup");
|
||||
xtr.ReadStartElement("RootPart");
|
||||
xtr.ReadStartElement("SceneObjectPart");
|
||||
|
@ -834,7 +834,7 @@ namespace OpenSim.Region.CoreModules.World.Serialiser.Tests
|
|||
|
||||
XmlTextReader xtr = new XmlTextReader(new StringReader(xml2));
|
||||
xtr.ProhibitDtd = true;
|
||||
xtr.XmlResolver = null;
|
||||
|
||||
xtr.ReadStartElement("SceneObjectGroup");
|
||||
xtr.ReadStartElement("SceneObjectPart");
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation
|
|||
using (XmlTextReader reader = new XmlTextReader(path))
|
||||
{
|
||||
reader.ProhibitDtd = true;
|
||||
// reader.XmlResolver = null;
|
||||
|
||||
XmlDocument doc = new XmlDocument();
|
||||
doc.XmlResolver = null;
|
||||
|
||||
|
|
|
@ -594,7 +594,6 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
MemoryStream ms = new MemoryStream(enc.GetBytes(text));
|
||||
XmlTextReader xreader = new XmlTextReader(ms);
|
||||
xreader.ProhibitDtd = true;
|
||||
xreader.XmlResolver = null;
|
||||
|
||||
SOPVehicle v = new SOPVehicle();
|
||||
bool error;
|
||||
|
|
|
@ -2389,7 +2389,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
{
|
||||
using (XmlTextReader wrappedReader = new XmlTextReader(xmlData, 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 }))
|
||||
{
|
||||
reader.Read();
|
||||
bool isSingleObject = reader.Name != "CoalescedObject";
|
||||
|
|
|
@ -201,7 +201,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
using(XmlTextReader reader = new XmlTextReader(sr))
|
||||
{
|
||||
reader.ProhibitDtd = true;
|
||||
reader.XmlResolver = null;
|
||||
|
||||
ReadXml(reader);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1149,7 +1149,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
|||
using (XmlTextReader rdr = new XmlTextReader(s))
|
||||
{
|
||||
rdr.ProhibitDtd = true;
|
||||
rdr.XmlResolver = null;
|
||||
doc.Load(rdr);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue