[Mono-bugs] [Bug 57368][Maj] New - Exception loading in LoadXml

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 21 Apr 2004 16:15:03 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by leendert.versluijs@capgemini.com.

http://bugzilla.ximian.com/show_bug.cgi?id=57368

--- shadow/57368	2004-04-21 16:15:03.000000000 -0400
+++ shadow/57368.tmp.634	2004-04-21 16:15:03.000000000 -0400
@@ -0,0 +1,43 @@
+Bug#: 57368
+Product: Mono: Class Libraries
+Version: unspecified
+OS: other
+OS Details: Fedora Core 1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: leendert.versluijs@capgemini.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Exception loading in LoadXml
+
+using System;
+using System.Data;
+using System.Xml;
+
+namespace MonoBug_XmlDataDocument
+{
+	/// <summary>
+	/// Summary description for Class1.
+	/// </summary>
+	class MonoBug
+	{
+		/// <summary>
+		/// The main entry point for the application.
+		/// </summary>
+		[STAThread]
+		static void Main(string[] args)
+		{
+			string xml = "<test>value</test>";
+			XmlDataDocument doc = new XmlDataDocument();
+			doc.LoadXml( xml );
+			Console.WriteLine( doc.InnerXml );
+			Console.Read();
+		}
+	}
+}