[Mono-bugs] [Bug 53106][Cri] New - DataSet Problems
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 20 Jan 2004 01:58:05 -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 yraykar@hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=53106
--- shadow/53106 2004-01-20 01:58:05.000000000 -0500
+++ shadow/53106.tmp.16668 2004-01-20 01:58:05.000000000 -0500
@@ -0,0 +1,49 @@
+Bug#: 53106
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Critical
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: yraykar@hotmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: DataSet Problems
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+When using a DataSet if the type definition for on of the columns is byte
+array then the WriteXml method does not work. This happens when i try to
+serialise a dataset and write the xml file on the disk. This happens only
+if one of the column is byte array. The dataset writes the xml file but
+writes the object name like(System.Byte []) instead of converting byte
+array value to base64 string and then writing it.
+
+Steps to reproduce the problem:
+1. Define a table which has a column that takes byte aray. If the the table
+is loadded on the dataset it is populated. Then write the xml file using
+WriteXml method.
+2.
+3.
+
+Actual Results:
+It writes the current object instance name instead of the value
+
+Expected Results:
+It should write the value as on .NET Framework.
+
+How often does this happen?
+Always
+
+Additional Information:
+This is happening because the dataset class does not convert the byte array
+into the base64 string. Where as the .NET Frame work dataset class writes
+the data after converting the byte array to base64 string