[Mono-bugs] [Bug 58268][Nor] New - DataSet.WriteXml does not (always) produce well-formed xml

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 10 May 2004 10:20:58 -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 joannes.vermorel@ens.fr.


--- shadow/58268	2004-05-10 10:20:58.000000000 -0400
+++ shadow/58268.tmp.823	2004-05-10 10:20:58.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 58268
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Severity: 008 One day
+Priority: Normal
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: joannes.vermorel@ens.fr               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: DataSet.WriteXml does not (always) produce well-formed xml
+The method DataSet.WriteXml as implemented in Mono does always write
+well-formed XML.
+The names (encoded as 'string') of the DataColumn (inside a DataTable) are
+directly used in the output XML file produced by DataSet.WriteXml. In
+particular, if those names contains a character like '/' or '\' the XML
+output is not well-formed.
+The MS .Net behavior is different. Troublesome characters are first
+converted to '_'. The MS behavior is saffer because, writing bad XML
+(without even an exception thrown) gives to the user the false impression
+that the data where successfully written in XML.