public void TestGetSummationItemErrors() { //Trace.Listeners.Add( new TextWriterTraceListener(Console.Out) ); string fileName = @"S:\XBRLUSGAAPTaxonomies-2008-03-31\ind\ci\simulation.xsd"; TestUsGaap2008 s = new TestUsGaap2008(); int errors = 0; DateTime start = DateTime.Now; if (s.Load(fileName, out errors) != true) { Assert.Fail((string)s.ErrorList[0]); } s.Parse(out errors); DateTime end = DateTime.Now; Console.WriteLine("time taken = {0}", end - start); Assert.AreEqual(0, errors, "should not have any errors"); List<string> summationErrors; s.GetSummationItemErrors( out summationErrors ); foreach( string str in summationErrors ) { Console.WriteLine( str ); } }