diff --git a/src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlView.cs b/src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlView.cs index 154f21a359..20a54cd8b3 100644 --- a/src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlView.cs +++ b/src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlView.cs @@ -899,7 +899,7 @@ namespace ICSharpCode.XmlEditor void PropertyChanged(object sender, PropertyChangedEventArgs e) { string extension = Path.GetExtension(xmlEditor.FileName).ToLowerInvariant(); - if (e.Key == extension) { + if (e.Key == String.Concat("ext", extension)) { SetDefaultSchema(extension); } else if (e.Key == XmlEditorAddInOptions.ShowAttributesWhenFoldedPropertyName) { UpdateFolding();