Wah Yim wrote:
> According to the XML schema, when no timezone offset string is present
> at the end, this represents a UTC time.
My understanding is that this is not true. A timestamp without timezone
!= a timestamp with UTC. Can you cite the specific part of the schema
spec part 2 that backs up your claim?
So I really think you'd be better off sending timestamps with timezone,
but ...
> Now the question is, all I'm interested in dealing with is EST. Can I
> configure JAXB such that it would marshal / unmarshal a dateTime field
> without any timezone adjustment?
I think if you bind xs:dateTime to XMLGregorianCalendar, you can check
for missing timezone and interpret that as EST (by setting EST timezone.)
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com