this is fixed already.

thanks,
Amila.

[1]
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/typemapping/SimpleTypeMapper.java?r1=783787&r2=835823

2009/12/14 Dinçer Karaduman <dincer.karadu...@hititcs.com>

>  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
>
>
>
> *Kişiye özel bu mesaj ve içeriğindeki bilgiler gizlidir. Hitit Bilgisayar
> Hizmetleri bu mesajın içeriği ve ekleri ile ilgili olarak hukuksal hiçbir
> sorumluluk kabul etmez. Yetkili alıcılardan biri değilseniz, bu mesajın
> herhangi bir şekilde ifşa edilmesi, kullanılması, kopyalanması, yayılması
> veya mesajda yeralan hususlarla ilgili olarak herhangi bir işlem
> yapılmasının kesinlikle yasak olduğ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. Teş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. *
>
>
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to