I tried your new xsdlib again. No crash this time.
It is reading the "-08:00" on the wire and reporting that the current
timezone is "GMT-07:00" (which it isn't), but it sets it to the correct
time....
So,
XSDLIB
Send Calendar
Wire
Receive Calendar
Time
old
PST
-08:00
GMT-08:00
wrong
new
PST
-08:00
GMT-07:00
right
So, here's the issue. With the new XSDLIB, the receiving Calendar's
TimeZone does not match the local computer, but getTime() returns the
correct time. With the old library, the receiving Calendar's TimeZone
matches the wire, but getTime() is an hour off.
Where is the problem exactly?
Malachi
-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Thursday, August 28, 2003 4:14 AM
To: users_at_jaxb.dev.java.net
> The one sending (correctly) is: Pacific Standard Time
> The one receiving (incorrectly) is: GMT-08:00
No, the receiving end is correct. The data on the wire says "-08:00",
not "PST". So it is correct to use GMT-08:00.
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