diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Serialiser/Tests/SerialiserTests.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/World/Serialiser/Tests/SerialiserTests.cs b/OpenSim/Region/CoreModules/World/Serialiser/Tests/SerialiserTests.cs index 23475a1..c9e3141 100644 --- a/OpenSim/Region/CoreModules/World/Serialiser/Tests/SerialiserTests.cs +++ b/OpenSim/Region/CoreModules/World/Serialiser/Tests/SerialiserTests.cs | |||
@@ -720,8 +720,6 @@ namespace OpenSim.Region.CoreModules.World.Serialiser.Tests | |||
720 | string xml = SceneObjectSerializer.ToOriginalXmlFormat(so); | 720 | string xml = SceneObjectSerializer.ToOriginalXmlFormat(so); |
721 | 721 | ||
722 | XmlTextReader xtr = new XmlTextReader(new StringReader(xml)); | 722 | XmlTextReader xtr = new XmlTextReader(new StringReader(xml)); |
723 | xtr.ProhibitDtd = true; | ||
724 | |||
725 | xtr.ReadStartElement("SceneObjectGroup"); | 723 | xtr.ReadStartElement("SceneObjectGroup"); |
726 | xtr.ReadStartElement("RootPart"); | 724 | xtr.ReadStartElement("RootPart"); |
727 | xtr.ReadStartElement("SceneObjectPart"); | 725 | xtr.ReadStartElement("SceneObjectPart"); |
@@ -833,8 +831,6 @@ namespace OpenSim.Region.CoreModules.World.Serialiser.Tests | |||
833 | string xml2 = m_serialiserModule.SerializeGroupToXml2(so, options); | 831 | string xml2 = m_serialiserModule.SerializeGroupToXml2(so, options); |
834 | 832 | ||
835 | XmlTextReader xtr = new XmlTextReader(new StringReader(xml2)); | 833 | XmlTextReader xtr = new XmlTextReader(new StringReader(xml2)); |
836 | xtr.ProhibitDtd = true; | ||
837 | |||
838 | xtr.ReadStartElement("SceneObjectGroup"); | 834 | xtr.ReadStartElement("SceneObjectGroup"); |
839 | xtr.ReadStartElement("SceneObjectPart"); | 835 | xtr.ReadStartElement("SceneObjectPart"); |
840 | 836 | ||