Hi All,

I think there is a bug in org\apache\axis2\databinding\typemapping.java in Axis2 1.5

   public static Object makeDate(String source) {
       return ConverterUtil.convertToDateTime(source).getTime();
   }

this code requires convertToDateTime validation and raises an number format exception for "12.12.1987" for example.

i think makeDate should be like

   public static Object makeDate(String source) {
       return ConverterUtil.convertToDate(source);
   }

Am i right or is there anything i could not see?

--

*Dinçer Karaduman*

*Analyst Programmer*

*Hitit Bilgisayar Hizmetleri*
Tel : 212 276 15 00 Ext. 124
Fax: 212 276 15 17
www.hititcs.com <http://www.hititcs.com/>



*Kis,iye özel bu mesaj ve içerig(indeki bilgiler gizlidir. Hitit Bilgisayar Hizmetleri bu mesaj?n içerig(i ve ekleri ile ilgili olarak hukuksal hiçbir sorumluluk kabul etmez. Yetkili al?c?lardan biri deg(ilseniz, bu mesaj?n herhangi bir s,ekilde ifs,a edilmesi, kullan?lmas?, kopyalanmas?, yay?lmas? veya mesajda yeralan hususlarla ilgili olarak herhangi bir is,lem yap?lmas?n?n kesinlikle yasak oldug(unu bildiririz. Böyle bir durumda lütfen hemen mesaj?n göndericisini bilgilendiriniz ve mesaj? sisteminizden siliniz. Internet ortam?nda gönderilen e-posta mesajlar?ndaki hata ve/veya eksikliklerden veya virüslerden dolay? mesaj?n göndericisi herhangi bir sorumluluk kabul etmemektedir. Tes,ekkür ederiz. *

*The information contained in this communication may contain confidential or legally privileged information. Hitit Computer Services doesn't accept any legal responsibility for the contents and attachments of this message. If you are not the intended recipient you are hereby notified that any disclosure, use, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited. If you have received this communication in error, please notify the sender immediately by responding to this e-mail and then delete it from your system. The sender does not accept any liability for any errors or omissions or any viruses in the context of this message which arise as a result of internet transmission. Thank you. *



Reply via email to