Yes, In that case it should be string (when we have multiple data types).
This issue is may be due to that we check the data type from json. Fix
should go in that place i believe.

On Tue, Jul 19, 2016 at 9:02 AM, Nuwan Pallewela <nuw...@wso2.com> wrote:

> Adding Sohani
>
> On Tue, Jul 19, 2016 at 12:42 AM, Godwin Shrimal <god...@wso2.com> wrote:
>
>> Hi All,
>>
>> When load following xml file in to data mapper (input/output), the add1
>> data type takes as NUMBER as in screenshot . It looks when there is at
>> least one record in the array with NUMBER it takes as NUMBER. I think It
>> should consider all the values in the array.
>>
>> <employees>
>> <firstname>Demo</firstname>
>>         <lastname>Demo</lastname>
>>
>> <addresses>
>>           <address>
>>   *<add1>No 827/B</add1>*
>>             <add2>Gemunu Mawatha</add2>
>>           </address>
>>           <address>
>>             *<add1>321</add1>*
>>             <add2>Mount Lavinia</add2>
>>           </address>
>>         </addresses>
>> </employees>
>>
>> [image: Inline image 2]
>> Thanks
>> Godwin
>>
>> --
>> *Godwin Amila Shrimal*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
>> twitter: https://twitter.com/godwinamila
>> <http://wso2.com/signature>
>>
>
>
>
> --
> ----------------------------------------------------------
>
> *Nuwan Chamara Pallewela*
>
>
> *Software Engineer*
>
> *WSO2, Inc. *http://wso2.com
> *lean . enterprise . middleware*
>
> Email   *nuw...@wso2.com <nuw...@wso2.com>*
> Mobile  *+94719079739 <%2B94719079739>@*
>
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Susinda Perera*
Software Engineer
B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
Mobile:(+94)716049075
Blog: susinda.blogspot.com
WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to