Situation: I load two svg-documents, one from my editor, the second from the third-party. the first one is loaded as it should, the information is read from it, but on loading the second breakpoint gets up on the xml.Load method (ofd.FileName) and does not move further. Such a bug occurs when reading files from a third-party graph. editor, though, my editor's files do not differ from those in structure. The code in the attachment.
if (ofd.ShowDialog() == DialogResult.OK) { this.Clear(); XmlDocument xml = new XmlDocument(); xml.Load(ofd.FileName); // Повисаем здесь ... } else return;