Esempio n. 1
0
 /// <summary>
 ///     This method loads the XML report generated by the SIF into this workbook model.
 /// </summary>
 public void Load(string xml)
 {
     try
     {
         var rootElement = XElement.Parse(xml);
         // @TODO
         //XDocument d = new XDocument(rootElement);
         //d.Validate(XMLPartManager.Instance.getReportSchema(), null);
         LoadViolations(rootElement);
         ScanHelper.ScanSuccessful();
     }
     catch (Exception e)
     {
         ScanHelper.ScanUnsuccessful(Resources.Error_FaultyResponse);
         Debug.WriteLine(e);
     }
 }