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 [EMAIL PROTECTED]

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

--- shadow/78214        2006-05-03 07:14:58.000000000 -0400
+++ shadow/78214.tmp.6659       2006-05-03 07:34:55.000000000 -0400
@@ -73,6 +73,15 @@
 In that case you cannot store the default value as the enum object 
 value, as the default value in the XSD will just be a whitespace-
 delimited list of named constants.
 
 I have test cases for this in the patch for bug #78221 (eg. 
 ImportTypeMapping_OptionalValueTypeContainer test).
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-05-03 07:34 -------
+Ok, but it is not necessary to slow down the serializer because of
+this.  Notice that XmlSerializer only works with maps imported using
+XmlReflectionImporter or SoapReflectionImporter, but not
+XmlSchemaImporter. To summarize: XmlSerializer can expect that default
+values will always be enum objects. XmlCodeExporter and
+XmlSchemaExporter can expect that default values can be enum objects
+or strings which need to be parsed.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to