[Mono-bugs] [Bug 676454] New: DateTimeOffset not serializing correctly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 2 15:36:21 EST 2011



           Summary: DateTimeOffset not serializing correctly
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: WCF
        AssignedTo: atsushi at ximian.com
        ReportedBy: david.straw at hp.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=417183)
 --> (http://bugzilla.novell.com/attachment.cgi?id=417183)
A simple test case to reproduce the issue

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13

The SOAP body produced from serializing a DateTimeOffset in Moonlight is not
parsable by the .NET Framework. This means that any DataContract types that use
a DateTimeOffset will cause a failure in the web service call.

Tested with Moonlight revision 5c22893 (which contains a fix that uncovered
this issue - see bug #676363). Mono revision was 32b3b31.

Reproducible: Always

Steps to Reproduce:
1. Create a DataContract type with a DateTimeOffset property
2. Attempt to send the data in a web service method
Actual Results:  
The Moonlight client receives a 404 error and the server logs a

Expected Results:  
The DateTimeOffset should be serialized in such a way that the server can
successfully deserialize it

SOAP produced by Silverlight:
<RevisionTime xmlns:d5p1="http://schemas.datacontract.org/2004/07/System">

SOAP produced by Moonlight:
<RevisionTime xmlns:d6p1="http://schemas.datacontract.org/2004/07/System">

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list