void HandleXmlFileAssociationChanged(object sender, XmlFileAssociationChangedEventArgs e)
        {
            var filename = DocumentContext.Name;

            if (filename != null && filename.ToString().EndsWith(e.Extension, StringComparison.Ordinal))
            {
                SetDefaultSchema();
            }
        }
		void HandleXmlFileAssociationChanged (object sender, XmlFileAssociationChangedEventArgs e)
		{
			var filename = DocumentContext.Name;
			if (filename != null && filename.ToString ().EndsWith (e.Extension, StringComparison.Ordinal))
				SetDefaultSchema ();
		}