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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 7 18:44:11 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=676454

https://bugzilla.novell.com/show_bug.cgi?id=676454#c3


David Straw <david.straw at hp.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #3 from David Straw <david.straw at hp.com> 2011-03-07 23:44:10 UTC ---
This is still failing for me when I run my test case or my main application.
The format now appears to be mostly correct, except that the namespace for the
child elements appears to be missing.

Sample from Silverlight:
<RevisionTime xmlns:d6p1="http://schemas.datacontract.org/2004/07/System">
    <d6p1:DateTime>2011-03-07T23:20:40.5901128Z</d6p1:DateTime>
    <d6p1:OffsetMinutes>-420</d6p1:OffsetMinutes>
</RevisionTime>

Another working example:
<RevisionTime>
    <DateTime
xmlns="http://schemas.datacontract.org/2004/07/System">0001-01-01T00:00:00</DateTime>
    <OffsetMinutes
xmlns="http://schemas.datacontract.org/2004/07/System">0</OffsetMinutes>
</RevisionTime>

Sample from Moonlight (fails):
<RevisionTime>
    <DateTime>0001-01-01T00:00:00Z</DateTime>
    <OffsetMinutes>0</OffsetMinutes>
</RevisionTime>

-- 
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