diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Animation/DefaultAvatarAnimations.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Animation/DefaultAvatarAnimations.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Animation/DefaultAvatarAnimations.cs b/OpenSim/Region/Framework/Scenes/Animation/DefaultAvatarAnimations.cs index b79dd8f..2128d58 100644 --- a/OpenSim/Region/Framework/Scenes/Animation/DefaultAvatarAnimations.cs +++ b/OpenSim/Region/Framework/Scenes/Animation/DefaultAvatarAnimations.cs | |||
@@ -55,10 +55,14 @@ namespace OpenSim.Region.Framework.Scenes.Animation | |||
55 | private static void LoadAnimations(string path) | 55 | private static void LoadAnimations(string path) |
56 | { | 56 | { |
57 | // Dictionary<string, UUID> animations = new Dictionary<string, UUID>(); | 57 | // Dictionary<string, UUID> animations = new Dictionary<string, UUID>(); |
58 | 58 | ||
59 | using (XmlTextReader reader = new XmlTextReader(path)) | 59 | using (XmlTextReader reader = new XmlTextReader(path)) |
60 | { | 60 | { |
61 | reader.ProhibitDtd = true; | ||
62 | |||
61 | XmlDocument doc = new XmlDocument(); | 63 | XmlDocument doc = new XmlDocument(); |
64 | doc.XmlResolver = null; | ||
65 | |||
62 | doc.Load(reader); | 66 | doc.Load(reader); |
63 | // if (doc.DocumentElement != null) | 67 | // if (doc.DocumentElement != null) |
64 | // { | 68 | // { |