[Mono-bugs] [Bug 71289][Nor] Changed - DateTime.Parse should allow this string.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 23 14:32:43 EDT 2005


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 at ximian.com.

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

--- shadow/71289	2005-05-23 13:47:29.000000000 -0400
+++ shadow/71289.tmp.32439	2005-05-23 14:32:43.000000000 -0400
@@ -5,13 +5,13 @@
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: CORLIB
-AssignedTo: mono-bugs at ximian.com                            
+AssignedTo: atsushi at ximian.com                            
 ReportedBy: miguel at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: DateTime.Parse should allow this string.
@@ -102,6 +102,76 @@
                     MathSymbol      299       0
                 CurrencySymbol       31       0
                 ModifierSymbol       69       0
                    OtherSymbol     2005       0
               OtherNotAssigned     7828       0
 
+
+------- Additional Comments From atsushi at ximian.com  2005-05-23 14:32 -------
+That MS result does not sound good. Actually .NET 2.0 works much better:
+
+               UppercaseLetter        0     704
+               LowercaseLetter        0     824
+               TitlecaseLetter        0      31
+                ModifierLetter        0      48
+                   OtherLetter        0    4403
+                NonSpacingMark        0     496
+          SpacingCombiningMark        0     117
+                 EnclosingMark        0      10
+            DecimalDigitNumber        0     198
+                  LetterNumber        0      52
+                   OtherNumber        0     231
+                SpaceSeparator       18       0
+                 LineSeparator        1       0
+            ParagraphSeparator        1       0
+                       Control        6      59
+                        Format        0      26
+                     Surrogate        0    2048
+                    PrivateUse        0    6400
+          ConnectorPunctuation        0      11
+               DashPunctuation        0      18
+               OpenPunctuation        0      64
+              ClosePunctuation        0      63
+       InitialQuotePunctuation        0       6
+         FinalQuotePunctuation        0       4
+              OtherPunctuation        1     194
+                    MathSymbol        0     889
+                CurrencySymbol        0      34
+                ModifierSymbol        0      69
+                   OtherSymbol        0    2069
+              OtherNotAssigned        0    6810
+
+Allowing non-whitespace characters won't make sense.
+
+Except for ',' (Sat, 01 should be allowed) they are all whitespaces
+(IsWhiteSpace() returns true).
+
+9-D are whitespaces, 0x85 is NEL and 0x2C is ','.
+
+0009 Control
+000A Control
+000B Control
+000C Control
+000D Control
+0020 SpaceSeparator
+002C OtherPunctuation
+0085 Control
+00A0 SpaceSeparator
+1680 SpaceSeparator
+2000 SpaceSeparator
+2001 SpaceSeparator
+2002 SpaceSeparator
+2003 SpaceSeparator
+2004 SpaceSeparator
+2005 SpaceSeparator
+2006 SpaceSeparator
+2007 SpaceSeparator
+2008 SpaceSeparator
+2009 SpaceSeparator
+200A SpaceSeparator
+200B SpaceSeparator
+2028 LineSeparator
+2029 ParagraphSeparator
+202F SpaceSeparator
+205F SpaceSeparator
+3000 SpaceSeparator
+


More information about the mono-bugs mailing list