[Mono-bugs] [Bug 78204][Nor] Changed - [PATCH] 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 06:22:29 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:40:50.000000000 -0400
+++ shadow/78204.tmp.4957 2006-04-26 06:22:29.000000000 -0400
@@ -1,23 +1,23 @@
Bug#: 78204
Product: Mono: Class Libraries
Version: 1.1
OS: unknown
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: Unknown
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
+Summary: [PATCH] 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
@@ -31,6 +31,29 @@
Fix and unit test
------- Additional Comments From lluis at ximian.com 2006-04-26 05:40 -------
The patch looks ok, although the serializer generator needs to be
modified in the same way. Thanks!
+
+------- Additional Comments From gert.driesen at pandora.be 2006-04-26 06:22 -------
+Fixed in svn (revision 59918).
+
+I also fixed the SerializationCodeGenerator, but I noticed that
+there are still 5 (unrelated) tests failing when running with
+MONO_XMLSERIALIZER_THS=0,nofallback
+
+Do you have time to look into this ?
+
+Note: there appears to be a way to have the MS XmlSerializer keep
+the generated sources:
+
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+ <system.diagnostics>
+ <switches>
+ <add name="XmlSerialization.Compilation" value="4"/>
+ </switches>
+ </system.diagnostics>
+</configuration>
+
+This might help you troubleshoot these remaining issues.
More information about the mono-bugs
mailing list