diff --git a/src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlView.cs b/src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlView.cs index 25babe21fc..ced4b57923 100644 --- a/src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlView.cs +++ b/src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlView.cs @@ -141,8 +141,9 @@ namespace ICSharpCode.XmlEditor { if (editor == null) return false; try { - XmlDocument Document = new XmlDocument(); - Document.LoadXml(editor.Document.Text); + XmlDocument document = new XmlDocument(); + document.XmlResolver = null; + document.LoadXml(editor.Document.Text); return true; } catch (XmlException ex) { AddTask(editor.FileName, ex.Message, ex.LinePosition, ex.LineNumber, TaskType.Error);