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 06:42:07.000000000 -0400 +++ shadow/78214.tmp.5938 2006-05-03 06:57:59.000000000 -0400 @@ -62,6 +62,17 @@ ------- Additional Comments From [EMAIL PROTECTED] 2006-05-03 06:42 ------- I don't like this change that converts default enum values to string and then reparses it every time it needs to be written or read. Doesn't it make more sense to just store it as an enum object value? + +------- Additional Comments From [EMAIL PROTECTED] 2006-05-03 06:57 ------- +No, because you only have named constants if you, for example, import +a typemapping from an XML Schema (using XmlSchemaImporter). + +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). _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
