private Orthography ParseOrthography(string dataXml) { var xml = new XmlDocument(); xml.LoadXml(dataXml); return(OrthographyReader.Read(xml)); }
private Orthography ReadOrthography() { try { string path = _dirPath + _seperator + Resources.OrthographyFileName; var xml = new XmlDocument(); XmlReader reader = GetXmlReader(path); xml.Load(reader); return(OrthographyReader.Read(xml)); } catch (Exception ex) { throw new InvalidLanguageFileException(ex, Type.Orthograpy, "Invalid language file for orthograpy: "); } }