[Mono-bugs] [Bug 68008][Wis] Changed - DataSet.GetObjectDat(), DataSet serialization, fails to render the xmlns="" attribute tag on the <xs:schema> element

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 24 Jan 2005 03:32:33 -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.


--- shadow/68008	2004-10-12 12:44:33.000000000 -0400
+++ shadow/68008.tmp.10236	2005-01-24 03:32:33.000000000 -0500
@@ -1,15 +1,15 @@
 Bug#: 68008
 Product: Mono: Class Libraries
 Version: unspecified
 OS: Red Hat 9.0
 OS Details: Fedora Core 2
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
 Severity: Unknown
-Priority: Normal
+Priority: Wishlist
 Component: Sys.Data
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: dclough@prconline.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -106,6 +106,23 @@
 Created an attachment (id=12424)
 Actual output of the provided code (FC2, Mono)
 ------- Additional Comments From atsushi@ximian.com  2004-10-12 12:44 -------
 You're right. Now xmlns="" is added. Thanks!
+------- Additional Comments From atsushi@ximian.com  2005-01-24 03:32 -------
+Reopening. This now happens, and as long as we use XmlSchema.Write(),
+it is _impossible_ to emit xmlns="". Our XmlSerializer used to allow
+xmlns attributes in XmlAnyAttributeAttribute members, but now it does
+not. And since empty namespace declaration is ignored even if it is
+explicitly declared in XmlSerializerNamespaces argument (or
+XmlNamespaceManager in XmlSchema.Write()). Microsoft won't fix this
+while they have a bug around there
+So, to write xmlns="" in DataSet.Write(), we have to implement another
+XmlSchema.Write(), but it is waste of time for us to do that for now.
+And since DataSet is basically based on XML InfoSet, there should be
+no [xmlns=""] dependent code.