/[xmltv_parser]/trunk/libxmltv/Core/XMLTVParser.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/XMLTVParser.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/libxmltv/Core/XMLTVParser.cs	2013/03/08 05:20:12	49
+++ trunk/libxmltv/Core/XMLTVParser.cs	2013/03/08 10:19:32	55
@@ -21,7 +21,7 @@
 
         protected XMLTVParser(XMLTVRuntimeInstance xmltv)
         {
-            xmltv_logger.Log.Verbose.Debug.WriteLine("Creating Instance of XMLTVParser");
+            xmltv_logger.Verbose.Debug.WriteLine("Creating Instance of XMLTVParser");
             //IXMLTV_LOADER _xmltv;
             //if (!Internals.VerifyInstance<IXMLTV_LOADER>(xmltv, out _xmltv)) { return; }
             //XMLTV_LOADER = _xmltv;
@@ -41,7 +41,7 @@
         [Conditional("XMLTV_PARSER_TESTING")]
         private void _imp_TestParse()
         {
-            xmltv_logger.Log.Verbose.Debug.WriteLine("Running XML_PARSER Test");
+            xmltv_logger.Verbose.Debug.WriteLine("Running XML_PARSER Test");
             var doc = XDocument.Parse(instance.XmlDoc);
             ParseRootElements(doc);
             ParseChannels(doc);
@@ -50,19 +50,19 @@
         [Conditional("XMLTV_PARSER_TESTING")]
         private void ParseRootElements(XDocument doc)
         {
-            xmltv_logger.Log.Verbose.Debug.WriteLine("Parseing Root Data");            
+            xmltv_logger.Verbose.Debug.WriteLine("Parseing Root Data");            
             Debug.Assert(doc.Root.Name == XMLTVConstants.ROOT_ELEMENT, string.Format("Expected Root Element: '{0}' but read: '{1}'", XMLTVConstants.ROOT_ELEMENT, doc.Root.Name));
-            xmltv_logger.Log.Verbose.Debug.WriteLine("\tRoot: {0}", doc.Root.Name);
+            xmltv_logger.Verbose.Debug.WriteLine("\tRoot: {0}", doc.Root.Name);
             var attributes = doc.Root.Attributes().ToList();
             foreach (var attribute in attributes)
             {
-                xmltv_logger.Log.Verbose.Debug.WriteLine("\t{0}: {1}", attribute.Name, attribute.Value);
+                xmltv_logger.Verbose.Debug.WriteLine("\t{0}: {1}", attribute.Name, attribute.Value);
             }
         }
         [Conditional("XMLTV_PARSER_TESTING")]
         private void ParseChannels(XDocument doc)
         {
-            xmltv_logger.Log.Verbose.Debug.WriteLine("Parsing Channel Data");
+            xmltv_logger.Verbose.Debug.WriteLine("Parsing Channel Data");
             var elements = doc.Root.Descendants(XMLTVConstants.CHANNEL_ELEMENT).ToList();
             foreach (var element in elements)
             {
@@ -70,7 +70,7 @@
                 {
                     foreach (var attribute in element.Attributes())
                     {
-                        xmltv_logger.Log.Verbose.Debug.WriteLine("\t\t{0} {1}: {2}",element.Name, attribute.Name, attribute.Value);
+                        xmltv_logger.Verbose.Debug.WriteLine("\t\t{0} {1}: {2}",element.Name, attribute.Name, attribute.Value);
                     }
                 } 
                 foreach (var childEllement in element.Descendants())
@@ -79,17 +79,17 @@
                     {
                         foreach (var attribute in childEllement.Attributes())
                         {
-                            xmltv_logger.Log.Verbose.Debug.WriteLine("\t\t\t{0}: {1}", attribute.Name, attribute.Value);
+                            xmltv_logger.Verbose.Debug.WriteLine("\t\t\t{0}: {1}", attribute.Name, attribute.Value);
                         }
                     }
-                    xmltv_logger.Log.Verbose.Debug.WriteLine("\t\t\t{0}: {1}", childEllement.Name, childEllement.Value);
+                    xmltv_logger.Verbose.Debug.WriteLine("\t\t\t{0}: {1}", childEllement.Name, childEllement.Value);
                 }
             }
         }
         [Conditional("XMLTV_PARSER_TESTING")]
         private void ParsePrograms(XDocument doc)
         {
-            xmltv_logger.Log.Verbose.Debug.WriteLine("Parsing Program Data");
+            xmltv_logger.Verbose.Debug.WriteLine("Parsing Program Data");
             var elements = doc.Root.Descendants(XMLTVConstants.PROGRAM_ELEMENT).ToList();
             foreach (var element in elements)
             {
@@ -97,7 +97,7 @@
                 {
                     foreach (var attribute in element.Attributes())
                     {
-                        xmltv_logger.Log.Verbose.Debug.WriteLine("\t\t{0} {1}: {2}", element.Name, attribute.Name, attribute.Value);
+                        xmltv_logger.Verbose.Debug.WriteLine("\t\t{0} {1}: {2}", element.Name, attribute.Name, attribute.Value);
                     }
                 }
                 foreach (var childEllement in element.Descendants())
@@ -106,10 +106,10 @@
                     {
                         foreach (var attribute in childEllement.Attributes())
                         {
-                            xmltv_logger.Log.Verbose.Debug.WriteLine("\t\t\t{0}: {1}", attribute.Name, attribute.Value);
+                            xmltv_logger.Verbose.Debug.WriteLine("\t\t\t{0}: {1}", attribute.Name, attribute.Value);
                         }
                     }
-                    xmltv_logger.Log.Verbose.Debug.WriteLine("\t\t\t{0}: {1}", childEllement.Name, childEllement.Value);
+                    xmltv_logger.Verbose.Debug.WriteLine("\t\t\t{0}: {1}", childEllement.Name, childEllement.Value);
                 }
                 //break;
             }

 

  ViewVC Help
Powered by ViewVC 1.1.22