axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Butek" <>
Subject Date problems (was: Re: cvs commit: xml-axis/java/test/wsdl/types ComprehensiveTypes.wsdl
Date Mon, 01 Apr 2002 13:12:17 GMT
Dang!  Interop tests!  I KNEW I forgot to check something!  I'm on it...

Another question for y'all.  JAX-RPC changed the mapping of xsd:dateTime
from java.util.Date to java.util.Calendar.  When I changed it, I left the
mapping of xsd:date to java.util.Date.  Now I'm beggining to think I
shouldn't have for two reasons:
- the Java->XML mapping - java.util.Date->xsd:date - is misleading.  It
makes one think that you can pass a Date object across the wire, but all
that really goes across is the date portion of the Date object (ie.,
"yyyy-MM-dd"), the time stuff is ignored.
- we don't map xsd:time.  But if folks see that we map xsd:dateTime and
xsd:date, they'll expect xsd:time as well.  And how would we map xsd:time?
We can't use java.util.Date for BOTH xsd:date and xsd:time because that
would break roundtripping.

So what do folks think?  Should I get rid of the xsd:date mapping?  It's
not part of JAX-RPC and I don't believe users have complained that we don't
have it.

Russell Butek

Sam Ruby/Raleigh/IBM@IBMUS on 03/31/2002 06:21:52 PM

Please respond to

Subject:    Re: cvs commit: xml-axis/java/test/wsdl/types

FYI: all of the echo interop tests (except TCLSOAP) are failing now for

- Sam Ruby

View raw message