kartagis / pysimplesoap

Automatically exported from code.google.com/p/pysimplesoap
0 stars 0 forks source link

Decimal values should not be serialized into XML with scientific notation #166

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Try to send a request when the input paramter has a decimal value such as 
".0000001"
2.
3.

What is the expected output? What do you see instead?
The value should be serialized into the SOAP/XML message as .0000001,but is 
instead being serialized as '1E-7'.  Scientific notation is forbidden in 
xs:decimal.  Furthermore, WCF servers are not able to deserialize scientific 
notation into decimal types, so this is not interoperable with WCF.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by d.li...@gmail.com on 6 Nov 2014 at 7:35

GoogleCodeExporter commented 8 years ago
Pull request submitted

https://github.com/pysimplesoap/pysimplesoap/pull/25

Original comment by d.li...@gmail.com on 6 Nov 2014 at 8:03

GoogleCodeExporter commented 8 years ago
Pushed, thanks very much!

Original comment by reingart@gmail.com on 7 Nov 2014 at 12:30

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 17b46c502e2f.

Original comment by reingart@gmail.com on 7 Nov 2014 at 12:44