axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/encoding DefaultTypeMappingImpl.java
Date Wed, 03 Apr 2002 01:23:58 GMT
rubys       02/04/02 17:23:58

  Modified:    java/src/org/apache/axis/encoding
                        DefaultTypeMappingImpl.java
  Log:
  Restore interop with 1999 and 2000 schema based clients.  This includes
  early versions of WebSphere with Apache SOAP.  I thought we had agreed
  to not lose precision on xsd:Date, but if not, the DATE1 change will need
  to be undone.
  
  Revision  Changes    Path
  1.17      +9 -9      xml-axis/java/src/org/apache/axis/encoding/DefaultTypeMappingImpl.java
  
  Index: DefaultTypeMappingImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/DefaultTypeMappingImpl.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- DefaultTypeMappingImpl.java	2 Apr 2002 22:05:18 -0000	1.16
  +++ DefaultTypeMappingImpl.java	3 Apr 2002 01:23:58 -0000	1.17
  @@ -257,22 +257,22 @@
           // namespace versions.
           // XSD_DATE is the current one, which is why it is
           // registered after the other two
  -        myRegister(Constants.XSD_DATE2,      java.util.Date.class,
  -                   new DateSerializerFactory(java.util.Date.class,
  +        myRegister(Constants.XSD_DATE2,      java.util.Calendar.class,
  +                   new DateSerializerFactory(java.util.Calendar.class,
                                                Constants.XSD_DATE2),
  -                   new DateDeserializerFactory(java.util.Date.class,
  +                   new DateDeserializerFactory(java.util.Calendar.class,
                                                  Constants.XSD_DATE2),
                      true);
  -        myRegister(Constants.XSD_DATE3,      java.util.Date.class,
  -                   new DateSerializerFactory(java.util.Date.class,
  +        myRegister(Constants.XSD_DATE3,      java.util.Calendar.class,
  +                   new DateSerializerFactory(java.util.Calendar.class,
                                                Constants.XSD_DATE3),
  -                   new DateDeserializerFactory(java.util.Date.class,
  +                   new DateDeserializerFactory(java.util.Calendar.class,
                                                  Constants.XSD_DATE3),
                      true);
  -        myRegister(Constants.XSD_DATE1,       java.util.Date.class,
  -                   new DateSerializerFactory(java.util.Date.class,
  +        myRegister(Constants.XSD_DATE1,       java.util.Calendar.class,
  +                   new DateSerializerFactory(java.util.Calendar.class,
                                                Constants.XSD_DATE1),
  -                   new DateDeserializerFactory(java.util.Date.class,
  +                   new DateDeserializerFactory(java.util.Calendar.class,
                                                  Constants.XSD_DATE1),
                      true);
           myRegister(Constants.XSD_DATE,       java.util.Calendar.class,
  
  
  

Mime
View raw message