You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/12/06 01:15:42 UTC

DO NOT REPLY [Bug 22999] - xs:date not serialized/deserialized correctly

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22999>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22999

xs:date not serialized/deserialized correctly

kbrichan@comcast.net changed:

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



------- Additional Comments From kbrichan@comcast.net  2003-12-06 00:15 -------
Glen,

After getting the latest code today, this still fails. See my comment on 2003-
10-03. A date coming in without a time gives a deserialization error, even 
though the xsd defines the attribute as a date, not a datetime. The wrong 
deserializer is getting chosen.

The xsd has:
<xsd:attribute name="change_date" type="xsd:date" use="required"/>

The data coming in is change_date="2002-08-28"

An exception is thrown when attempting to deserialize, saying bad date format.

My description in this bug report on 2003-10-03 explains why.