users@jaxb.java.net

Re: JAXB and calendar datas

From: Jérôme Vuibert <jerome.vuibert_at_fleximage.fr>
Date: Wed, 3 Mar 2004 09:56:37 +0100

I have recently made some more tests.

The problems rises only for dates with null milli-seconds; that is to say
dates ending by .000.

When writing milli-seconds disappeared. The problem is that for the calendar
format, dates with and without .000 milliseconds are different....

Sincerely.

Jerome

----- Original Message -----
From: "Kohsuke Kawaguchi" <Kohsuke.Kawaguchi_at_Sun.COM>
To: <users_at_jaxb.dev.java.net>
Sent: Tuesday, March 02, 2004 8:09 PM
Subject: Re: JAXB and calendar datas


>
> > In fact in my XML file milli-seconds are present.
> > The date field in the corresponding JAXB class stores the value.
> > But when I write back the XML file, milli-seconds have desappeared.
>
> That sounds like a bug to me. We do have some tests that check if the
> milli-seconds round-trip, so I hope it works at least in some cases.
>
> It would be great if you could send us the test case that causes the
> problem. In that way we can fix the problem quickly.
>
>
> regards,
> --
> Kohsuke Kawaguchi
> Sun Microsystems kohsuke.kawaguchi_at_sun.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net