[Mono-bugs] [Bug 60470][Wis] Changed - Exception thrown when infering Xml Schema to DataSet

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 21 Jun 2004 00:37:03 -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 atsushi@ximian.com.

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

--- shadow/60470	2004-06-21 00:04:00.000000000 -0400
+++ shadow/60470.tmp.31114	2004-06-21 00:37:03.000000000 -0400
@@ -103,6 +103,25 @@
 don't really yet understand what the problem is, I just switched  
 to .NET when I found this problem, since I have deadlines to finish 
 and this stuff really slows me. 
  
 I'm just afraid that this will bite other .NET users. 
   
+
+------- Additional Comments From atsushi@ximian.com  2004-06-21 00:37 -------
+If your InferXmlSchema() use is "valid", then the resulting DataSet
+should contain elementFormDefault, attributeFormDefault,
+targetNamespace attributes into valid columns. But the resulting
+DataSet never holds it.
+
+The fact shows that DataSet is not designed to accept XML Schema
+document by Microsoft itself ( it's not me who designed DataSet as
+such), since it will result in many problems to use WriteXml(),
+ReadXml(), transfering DataSet and so on.
+
+MS.NET users will be get confused when they found that DataSet does
+not behave as they expected, since InferXmlSchema () looks like
+successfully done (but in fact it never infers any structures). It is
+impossible to support DataSet to handle schema document, unless it is
+designed to use namespace alias such like XSLT does.
+
+I hope this clarifies the way I fixed would be better than what MS does.