public static void Main(string[] args)
{
Demo dm = new Demo();
dm.ProcessXmlInput(args[0]);
}
I'm using the following and when I try to run the
application after the
successful compliation with the input.xml file I get the
following
error:
Unhandled Exception: System.Xml.XmlException: Text node
cannot appear
in this state. Line 1, position 0.
in <0x0005a> System.Xml.XmlTextReader:ReadText (bool)
in <0x00200> System.Xml.XmlTextReader:ReadContent ()
in <0x001a0> System.Xml.XmlTextReader:Read ()
in <0x0008d> System.Xml.XmlReader:MoveToContent ()
in <0x00056> Demo.Demo:ProcessXmlInput (string)
in <0x00050> Demo.Demo:Main (string[])
I'm not sure if the code for main is setup correctly, or if
there is
other things I should include. Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---
|