[Mono-bugs] [Bug 72298][Nor] Changed - XmlDocument.ReadNode does not stop after reading node

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 7 Feb 2005 16:33:15 -0500 (EST)


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 atsushi@ximian.com.

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

--- shadow/72298	2005-02-07 15:18:13.000000000 -0500
+++ shadow/72298.tmp.24800	2005-02-07 16:33:15.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 72298
 Product: Mono: Class Libraries
 Version: 1.0
-OS: 
+OS: unknown
 OS Details: debian sarge/sid
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Normal
 Component: Sys.XML
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: dominz@wp.pl               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -43,6 +43,27 @@
 		}
 		catch (Exception e) {
 			Console.WriteLine(e.Message);
 		}
 	}
 }
+
+------- Additional Comments From atsushi@ximian.com  2005-02-07 16:33 -------
+It is the expected behavior. Here I paste my cygwin console output:
+
+_@r50 ~/tests/xml
+$ csc 72298.cs
+Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
+for Microsoft (R) .NET Framework version 1.1.4322
+Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
+
+72298.cs(10,10): warning CS0219: The variable 'test2' is assigned but
+its value is never used
+
+_@r50 ~/tests/xml
+$ ./72298.exe
+There are multiple root elements. Line 1, position 9.
+
+_@r50 ~/tests/xml
+$ mono 72298.exe
+Multiple document element was detected.  Line 1, position 9.
+