[Mono-bugs] [Bug 78204][Nor] New - Deserialization of flag enum value does not split on all whitespace characters

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Apr 26 05:10:45 EDT 2006


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 gert.driesen at pandora.be.

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

--- shadow/78204	2006-04-26 05:10:45.000000000 -0400
+++ shadow/78204.tmp.3320	2006-04-26 05:10:45.000000000 -0400
@@ -0,0 +1,27 @@
+Bug#: 78204
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.XML
+AssignedTo: lluis at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Deserialization of flag enum value does not split on all whitespace characters
+
+EnumMap.GetEnumName only considers a constant value as flag if it 
+contains a blank (0x20). If it contains a blank (0x20), then the 
+individual constant names will only be split on blanks (0x20).
+
+To match MS.NET, the constant names should be split on all whitespace 
+characters.
+
+The attached patch fixes this issue and improves an existing unit to also 
+test for this bug.


More information about the mono-bugs mailing list