You have left the resultFormat at its default value which is "object".  This
causes Flex to convert your xml into a tree of dynamic objects.  This has
many side effects, among which is attempting to guess at the data type from
the content, and it often guesses wrong.

 

Set resultFormat="e4x" and get your data unmodified, and handle the
datatyping yourself.

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of Ramabhadra Reddy
Sent: Tuesday, April 07, 2009 11:52 AM
To: [email protected]
Subject: [flexcoders] FLEX defaut xml parser issue with Auto Exponential
conversion issue

 

<cusipvalue>7898778E345</cusipvalue>
if you see above xml tag value, that is having E char. this E is causing the
issue.
above value(7898778E345) displaying as Infinite When i display this value on
flex grid. the reason is this value has E. so the flex parser is implecitly
convertion is faling.

7898778E345 = 7898778 * 10 Power of 345 = too big value = Infinite.

Is there any way to instruct flex defalut xml parser to stopping auto
conversion into expaning exponential value?.
Any help is appriciated.

Thanks,
Rama



Reply via email to