[Mono-bugs] [Bug 77350][Nor] Changed - XmlConvert.ToString(TimeSpan.FromSeconds(0)) incorrect

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 24 22:51:49 EST 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 atsushi at ximian.com.

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

--- shadow/77350	2006-01-24 22:26:00.000000000 -0500
+++ shadow/77350.tmp.27184	2006-01-24 22:51:49.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 77350
 Product: Mono: Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Sys.XML
 AssignedTo: atsushi at ximian.com                            
 ReportedBy: awaddell at fnfr.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -91,6 +91,25 @@
 How often does this happen? 
 always
 
 
 Additional Information:
 should match MS .NET
+
+------- Additional Comments From atsushi at ximian.com  2006-01-24 22:51 -------
+This rather look like Microsoft bug.
+
+http://www.w3.org/TR/xmlschema-2/#duration
+
+3.2.6.1 Lexical representation
+
+Reduced precision and truncated representations of this format are
+allowed provided they conform to the following:
+
+    * If the number of years, months, days, hours, minutes, or seconds
+in any expression equals zero, the number and its corresponding
+designator ·may· be omitted. However, at least one number and its
+designator ·must· be present.
+    * The seconds part ·may· have a decimal fraction.
+    * The designator 'T' must be absent if and only if all of the time
+items are absent. The designator 'P' must always be present. 
+


More information about the mono-bugs mailing list