[Mono-bugs] [Bug 78842][Maj] New - Element added twice to XML file

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 13 04:14:16 EDT 2006


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 martin at ximian.com.

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

--- shadow/78842	2006-07-13 04:14:16.000000000 -0400
+++ shadow/78842.tmp.3480	2006-07-13 04:14:16.000000000 -0400
@@ -0,0 +1,57 @@
+Bug#: 78842
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Data
+AssignedTo: tsenganal at novell.com                            
+ReportedBy: martin at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Element added twice to XML file
+
+Compile the following test case like this:
+  mcs -r:System.Data -resource:Writer.xsd,DebuggerConfiguration Writer.cs
+
+When you run it, it creates
+
+====
+<?xml version="1.0" standalone="yes"?>
+<DebuggerConfiguration>
+  <DebuggerSession name="main">
+    <Module session="main" name="Test.exe" />
+    <Location session="main" id="1">
+      <module>Test.exe</module>
+    </Location>
+    <Event session="main" index="5" location="1" />
+  </DebuggerSession>
+</DebuggerConfiguration>
+====
+
+when run on the MS runtime and
+
+====
+<?xml version="1.0" standalone="yes"?>
+<DebuggerConfiguration>
+  <DebuggerSession name="main">
+    <Module session="main" name="Test.exe" />
+    <Event session="main" index="5" location="1" />
+    <Location session="main" id="1">
+      <module>Test.exe</module>
+    </Location>
+  </DebuggerSession>
+  <Location session="main" id="1">
+    <module>Test.exe</module>
+  </Location>
+</DebuggerConfiguration>
+=====
+
+when run with Mono - here, the <Location> element is emitted a second time
+after the <DebuggerSession>.
+====


More information about the mono-bugs mailing list